This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
API_ENDPOINT | The HTTP URL to retrieve data from | string | https://api.prime.coinbase.com |
||
✅ | ACCESS_KEY | The API key for Coinbase Prime auth | string | ||
✅ | PASSPHRASE | The passphrase for Coinbase Prime auth | string | ||
✅ | SIGNING_KEY | The signing key for Coinbase Prime auth | string | ||
{KEY_NAME}_ACCESS_KEY | Alternative API key, use apiKey in input to select | string | |||
{KEY_NAME}_PASSPHRASE | Alternative passphrase, use apiKey in input to select | string | |||
{KEY_NAME}_SIGNING_KEY | Alternative signing keyauth, use apiKey in input to select this | string | |||
BACKGROUND_EXECUTE_MS | The amount of time the background execute should sleep before performing the next request | number | 10000 |
Name | Requests/credits per second | Requests/credits per minute | Requests/credits per hour | Note |
---|---|---|---|---|
default | 25 | Using the most restrictive rate limit. Docs: IP address at 100 requests per second (rps). Portfolio ID at 25 rps with a burst of 50 rps. |
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | balance, wallet | balance |
balance
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | portfolio | The portfolio ID to query the balance of | string | |||||
✅ | symbol | The symbol to return the balance for | string | |||||
type | The balance type to return | string |
total , trading , vault
|
total |
||||
apiKey | Alternative api keys to use for this request, ${apiKey}_ACCESS_KEY ${apiKey}_PASSPHRASE ${apiKey}_SIGNING_KEY required in environment variables | string |
Request:
{
"data": {
"endpoint": "balance",
"portfolio": "abcd1234-123a-1234-ab12-12a34bcd56e7",
"symbol": "BTC",
"type": "total",
"apiKey": ""
}
}
wallet
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | portfolio | The portfolio ID to query the balance of | string | |||||
✅ | symbols | The symbol to return the balance for | string[] | |||||
type | The balance type to return | string |
trading , vault , wallet_type_other , web3
|
vault |
||||
chainId | The ID of the chain to return | string |
mainnet , testnet
|
mainnet |
||||
network | The network to return | string | bitcoin |
|||||
batchSize | The number of addresses to fetch at a time | number | 100 |
|||||
apiKey | Alternative api keys to use for this request, {$apiKey}_ACCESS_KEY {$apiKey}_PASSPHRASE {$apiKey}_SIGNING_KEY required in environment variables | string |
Request:
{
"data": {
"endpoint": "wallet",
"portfolio": "abcd1234-123a-1234-ab12-12a34bcd56e7",
"symbols": ["BTC"],
"type": "vault",
"chainId": "mainnet",
"network": "bitcoin",
"batchSize": 10,
"apiKey": ""
}
}
MIT License