prosenjitgit/wwtcpayment

There is no license information available for the latest version (dev-master) of this package.

A PHP-SDK for wwtcpayment API

dev-master 2018-06-08 09:36 UTC

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 /////////////////////////////////////////////////////////////////////////////////////////