dev-master
9999999-devA PHP-SDK for wwtcpayment API
MIT
The Requires
- guzzlehttp/guzzle ^6.2
- php >=5.3.0
by prosenjit
sdk wwtcpayment wwtc
A PHP-SDK for wwtcpayment API
///////////////////////getnewaddress///////////////////////////////////////// $wtc = new wwtc(); $wtc->setsecret('secret','apikey'); $address = $wtc->getnewaddress(); //return format array. /////////////////////////////////////////////////////////////////////////////////////////, (*1)
/////////////////////////////// listtransactions///////////////////////////////////////// $wtc = new wwtc(); $wtc->setsecret('secret','apikey'); $listtransactions = $wtc->listtransactions($limit,$offset); //return format array. you can set param limit and offset /////////////////////////////////////////////////////////////////////////////////////////, (*2)
/////////////////////////////// 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 /////////////////////////////////////////////////////////////////////////////////////////, (*3)
A PHP-SDK for wwtcpayment API
MIT
sdk wwtcpayment wwtc