wwtc/sdk

A PHP wrapper for wwtc API

1.0.1 2018-06-08 10:51 UTC

This package is not auto-updated.

Last update: 2025-06-16 10:36:45 UTC


README

getnewaddress

$wtc = new wwtc(); 
$wtc->setsecret('secret','apikey'); 
$address = $wtc->getnewaddress(); 

listtransactions

$wtc = new wwtc(); 
$wtc->setsecret('secret','apikey'); 
$listtransactions = $wtc->listtransactions($limit,$offset);

sendcoin

$wtc = new wwtc(); 
$wtc->setsecret('secret','apikey'); 
$send = $wtc->sendcoin('address here',amount here);