@crypto-connect/coinbase
v0.0.2-alpha.55
Published
Connect to Coinbase API
Downloads
2
Readme
Coinbase
Install
| Package | NPM | Yarn |
| -------- | -------------------------------- | ----------------------------------- |
| Coinbase | npm i @crypto-connect/coinbase
| yarn add @crypto-connect/coinbase
|
Usage
import coinbaseConnect from "@crypto-connect/coinbase";
// Authorise
const coinbase = coinbaseConnect().withApiKeys({
apiKey: "<API_KEY>",
apiSecret: "<API_SECRET>",
});
// Get balances
const balances = await coinbase.getBalances();