samyan / coinbase-pro
Coinbase Pro client
1.1
2020-12-18 20:38 UTC
Requires
- php: >=7.0
- guzzlehttp/guzzle: ^7.2
README
Coinbase Pro basic client for PHP 7.0+
Installation
Require the package in composer.json
"require": { "samyan/coinbase-pro": "1.*" },
Basic usage
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');
List of implemented API
- getServerTime
- listAccounts
- getAccount
- getCurrentExchangeLimits
- listWithdrawals
- getWithdrawal
- withdrawal
- getFeeEstimate