Coinbase Pro basic client for PHP 7.0+
Require the package in composer.json
"require": {
"samyan/coinbase-pro": "1.*"
},
use Samyan\ApiAuth;
use Samyan\Coinbase;
$auth = new ApiAuth('YOUR_API_KEY', 'YOUR_SECRET_KEY', 'YOUR_PASSPHRASE');
$coinbaseClient = new Coinbase($auth, false, false);
$result = $coinbaseClient->withdrawal('0.05', 'BTC', 'bc1qzep2wle7f9ane6aa2kchvnu5r2z4340h09ypx7');
- getServerTime
- listAccounts
- getAccount
- getCurrentExchangeLimits
- listWithdrawals
- getWithdrawal
- withdrawal
- getFeeEstimate