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