prosenjitgit / wwtcpayment
A PHP-SDK for wwtcpayment API
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=5.3.0
- guzzlehttp/guzzle: ^6.2
This package is not auto-updated.
Last update: 2024-04-20 15:59:49 UTC
README
///////////////////////getnewaddress///////////////////////////////////////// $wtc = new wwtc(); $wtc->setsecret('secret','apikey'); $address = $wtc->getnewaddress(); //return format array. /////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////// listtransactions///////////////////////////////////////// $wtc = new wwtc(); $wtc->setsecret('secret','apikey'); $listtransactions = $wtc->listtransactions($limit,$offset); //return format array. you can set param limit and offset /////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////// sendcoin///////////////////////////////////////// $wtc = new wwtc(); $wtc->setsecret('secret','apikey'); $send = $wtc->sendcoin('address here',amount here); //return format array. you have to set param address and amount /////////////////////////////////////////////////////////////////////////////////////////