prosenjitgit / wwtcpayment
A PHP-SDK for wwtcpayment API
Requires
- php: >=5.3.0
- guzzlehttp/guzzle: ^6.2
This package is not auto-updated.
Last update: 2026-03-22 01:43:15 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 /////////////////////////////////////////////////////////////////////////////////////////