CCXT

coinbase

coinbase cryptocurrency exchange — CCXT unified API: methods, parameters and endpoints.

coinbase

Kind: global class
Extends: Exchange

fetchTime

fetches the current integer timestamp in milliseconds from the exchange server

Kind: instance method of coinbase
Returns: int - the current integer timestamp in milliseconds from the exchange server

See

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
params.methodstringNo'v2PublicGetTime' or 'v3PublicGetBrokerageTime' default is 'v2PublicGetTime'
coinbase.fetchTime (params?)

fetchAccounts

fetch all the accounts associated with a profile

Kind: instance method of coinbase
Returns: object - a dictionary of account structures indexed by the account type

See

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
coinbase.fetchAccounts (params?)

fetchPortfolios

fetch all the portfolios

Kind: instance method of coinbase
Returns: object - a dictionary of account structures indexed by the account type

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/portfolios/list-portfolios

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.fetchPortfolios (params?)

createDepositAddress

create a currency deposit address

Kind: instance method of coinbase
Returns: object - an address structure

See: https://docs.cdp.coinbase.com/coinbase-app/transfer-apis/onchain-addresses

ParamTypeRequiredDescription
codestringYesunified currency code of the currency for the deposit address
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.createDepositAddress (code, params?)

fetchWithdrawals

Fetch all withdrawals made from an account. Won't return crypto withdrawals. Use fetchLedger for those.

Kind: instance method of coinbase
Returns: Array<object> - a list of transaction structures

See

ParamTypeRequiredDescription
codestringYesunified currency code
sinceintNothe earliest time in ms to fetch withdrawals for
limitintNothe maximum number of withdrawals structures to retrieve
paramsobjectNoextra parameters specific to the exchange API endpoint
params.currencyTypestringNo"fiat" or "crypto"
coinbase.fetchWithdrawals (code, since?, limit?, params?)

fetchDeposits

Fetch all fiat deposits made to an account. Won't return crypto deposits or staking rewards. Use fetchLedger for those.

Kind: instance method of coinbase
Returns: Array<object> - a list of transaction structures

See

ParamTypeRequiredDescription
codestringYesunified currency code
sinceintNothe earliest time in ms to fetch deposits for
limitintNothe maximum number of deposits structures to retrieve
paramsobjectNoextra parameters specific to the exchange API endpoint
params.currencyTypestringNo"fiat" or "crypto"
coinbase.fetchDeposits (code, since?, limit?, params?)

fetchDepositsWithdrawals

fetch history of deposits and withdrawals

Kind: instance method of coinbase
Returns: object - a list of transaction structure

See: https://docs.cdp.coinbase.com/coinbase-app/track-apis/transactions

ParamTypeRequiredDescription
codestringNounified currency code for the currency of the deposit/withdrawals, default is undefined
sinceintNotimestamp in ms of the earliest deposit/withdrawal, default is undefined
limitintNomax number of deposit/withdrawals to return, default = 50, Min: 1, Max: 100
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.fetchDepositsWithdrawals (code?, since?, limit?, params?)

fetchMarkets

retrieves data on all markets for coinbase

Kind: instance method of coinbase
Returns: Array<object> - an array of objects representing market data

See

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
params.usePrivatebooleanNouse private endpoint for fetching markets
coinbase.fetchMarkets (params?)

fetchCurrencies

fetches all available currencies on an exchange

Kind: instance method of coinbase
Returns: object - an associative dictionary of currencies

See

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.fetchCurrencies (params?)

fetchTickers

fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market

Kind: instance method of coinbase
Returns: object - a dictionary of ticker structures

See

ParamTypeRequiredDescription
symbolsArray<string>, undefinedYesunified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
paramsobjectNoextra parameters specific to the exchange API endpoint
params.usePrivatebooleanNouse private endpoint for fetching tickers
coinbase.fetchTickers (symbols, params?)

fetchTicker

fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market

Kind: instance method of coinbase
Returns: object - a ticker structure

See

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to fetch the ticker for
paramsobjectNoextra parameters specific to the exchange API endpoint
params.usePrivatebooleanNowhether to use the private endpoint for fetching the ticker
coinbase.fetchTicker (symbol, params?)

fetchBalance

query for balance and get the amount of funds available for trading or funds locked in orders

Kind: instance method of coinbase
Returns: object - a balance structure

See

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
params.v3booleanNodefault false, set true to use v3 api endpoint
params.typestringNo"spot" (default) or "swap" or "future"
params.limitintNodefault 250, maximum number of accounts to return
coinbase.fetchBalance (params?)

fetchLedger

Fetch the history of changes, i.e. actions done by the user or operations that altered the balance. Will return staking rewards, and crypto deposits or withdrawals.

Kind: instance method of coinbase
Returns: object - a ledger structure

See: https://docs.cdp.coinbase.com/coinbase-app/track-apis/transactions

ParamTypeRequiredDescription
codestringNounified currency code, default is undefined
sinceintNotimestamp in ms of the earliest ledger entry, default is undefined
limitintNomax number of ledger entries to return, default is undefined
paramsobjectNoextra parameters specific to the exchange API endpoint
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the available parameters
coinbase.fetchLedger (code?, since?, limit?, params?)

createMarketBuyOrderWithCost

create a market buy order by providing the symbol and cost

Kind: instance method of coinbase
Returns: object - an order structure

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/create-order

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to create an order in
costfloatYeshow much you want to trade in units of the quote currency
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.createMarketBuyOrderWithCost (symbol, cost, params?)

createOrder

create a trade order

Kind: instance method of coinbase
Returns: object - an order structure

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/create-order

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to create an order in
typestringYes'market' or 'limit'
sidestringYes'buy' or 'sell'
amountfloatYeshow much you want to trade in units of the base currency, quote currency for 'market' 'buy' orders
pricefloatNothe price to fulfill the order, in units of the quote currency, ignored in market orders
paramsobjectNoextra parameters specific to the exchange API endpoint
params.stopPricefloatNoprice to trigger stop orders
params.triggerPricefloatNoprice to trigger stop orders
params.stopLossPricefloatNoprice to trigger stop-loss orders
params.takeProfitPricefloatNoprice to trigger take-profit orders
params.postOnlyboolNotrue or false
params.timeInForcestringNo'GTC', 'IOC', 'GTD' or 'PO', 'FOK'
params.stop_directionstringNo'UNKNOWN_STOP_DIRECTION', 'STOP_DIRECTION_STOP_UP', 'STOP_DIRECTION_STOP_DOWN' the direction the stopPrice is triggered from
params.end_timestringNo'2023-05-25T17:01:05.092Z' for 'GTD' orders
params.costfloatNospot market buy only the quote quantity that can be used as an alternative for the amount
params.previewbooleanNodefault to false, wether to use the test/preview endpoint or not
params.leveragefloatNodefault to 1, the leverage to use for the order
params.marginModestringNo'cross' or 'isolated'
params.retail_portfolio_idstringNoportfolio uid
params.is_maxbooleanNoUsed in conjunction with tradable_balance to indicate the user wants to use their entire tradable balance
params.tradable_balancestringNoamount of tradable balance
params.reduceOnlyfloatNoset to true for closing a position or use closePosition
coinbase.createOrder (symbol, type, side, amount, price?, params?)

cancelOrder

cancels an open order

Kind: instance method of coinbase
Returns: object - An order structure

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/cancel-orders

ParamTypeRequiredDescription
idstringYesorder id
symbolstringYesnot used by coinbase cancelOrder()
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.cancelOrder (id, symbol, params?)

cancelOrders

cancel multiple orders

Kind: instance method of coinbase
Returns: object - a list of order structures

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/cancel-orders

ParamTypeRequiredDescription
idsArray<string>Yesorder ids
symbolstringYesnot used by coinbase cancelOrders()
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.cancelOrders (ids, symbol, params?)

editOrder

edit a trade order

Kind: instance method of coinbase
Returns: object - an order structure

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/edit-order

ParamTypeRequiredDescription
idstringYescancel order id
symbolstringYesunified symbol of the market to create an order in
typestringYes'market' or 'limit'
sidestringYes'buy' or 'sell'
amountfloatYeshow much of currency you want to trade in units of base currency
pricefloatNothe price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
paramsobjectNoextra parameters specific to the exchange API endpoint
params.previewbooleanNodefault to false, wether to use the test/preview endpoint or not
coinbase.editOrder (id, symbol, type, side, amount, price?, params?)

fetchOrder

fetches information on an order made by the user

Kind: instance method of coinbase
Returns: object - An order structure

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/get-order

ParamTypeRequiredDescription
idstringYesthe order id
symbolstringYesunified market symbol that the order was made in
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.fetchOrder (id, symbol, params?)

fetchOrders

fetches information on multiple orders made by the user

Kind: instance method of coinbase
Returns: Array<Order> - a list of order structures

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/list-orders

ParamTypeRequiredDescription
symbolstringYesunified market symbol that the orders were made in
sinceintNothe earliest time in ms to fetch orders
limitintNothe maximum number of order structures to retrieve
paramsobjectNoextra parameters specific to the exchange API endpoint
params.untilintNothe latest time in ms to fetch trades for
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
coinbase.fetchOrders (symbol, since?, limit?, params?)

fetchOpenOrders

fetches information on all currently open orders

Kind: instance method of coinbase
Returns: Array<Order> - a list of order structures

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/list-orders

ParamTypeRequiredDescription
symbolstringYesunified market symbol of the orders
sinceintNotimestamp in ms of the earliest order, default is undefined
limitintNothe maximum number of open order structures to retrieve
paramsobjectNoextra parameters specific to the exchange API endpoint
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
params.untilintNothe latest time in ms to fetch trades for
coinbase.fetchOpenOrders (symbol, since?, limit?, params?)

fetchClosedOrders

fetches information on multiple closed orders made by the user

Kind: instance method of coinbase
Returns: Array<Order> - a list of order structures

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/list-orders

ParamTypeRequiredDescription
symbolstringYesunified market symbol of the orders
sinceintNotimestamp in ms of the earliest order, default is undefined
limitintNothe maximum number of closed order structures to retrieve
paramsobjectNoextra parameters specific to the exchange API endpoint
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
params.untilintNothe latest time in ms to fetch trades for
coinbase.fetchClosedOrders (symbol, since?, limit?, params?)

fetchCanceledOrders

fetches information on multiple canceled orders made by the user

Kind: instance method of coinbase
Returns: object - a list of order structures

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/list-orders

ParamTypeRequiredDescription
symbolstringYesunified market symbol of the orders
sinceintNotimestamp in ms of the earliest order, default is undefined
limitintNothe maximum number of canceled order structures to retrieve
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.fetchCanceledOrders (symbol, since?, limit?, params?)

fetchOHLCV

fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market

Kind: instance method of coinbase
Returns: Array<Array<int>> - A list of candles ordered as timestamp, open, high, low, close, volume

See

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to fetch OHLCV data for
timeframestringYesthe length of time each candle represents
sinceintNotimestamp in ms of the earliest candle to fetch
limitintNothe maximum amount of candles to fetch, not used by coinbase
paramsobjectNoextra parameters specific to the exchange API endpoint
params.untilintNothe latest time in ms to fetch trades for
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
params.usePrivatebooleanNodefault false, when true will use the private endpoint to fetch the candles
coinbase.fetchOHLCV (symbol, timeframe, since?, limit?, params?)

fetchTrades

get the list of most recent trades for a particular symbol

Kind: instance method of coinbase
Returns: Array<Trade> - a list of trade structures

See

ParamTypeRequiredDescription
symbolstringYesunified market symbol of the trades
sinceintNonot used by coinbase fetchTrades
limitintNothe maximum number of trade structures to fetch
paramsobjectNoextra parameters specific to the exchange API endpoint
params.usePrivatebooleanNodefault false, when true will use the private endpoint to fetch the trades
coinbase.fetchTrades (symbol, since?, limit?, params?)

fetchMyTrades

fetch all trades made by the user

Kind: instance method of coinbase
Returns: Array<Trade> - a list of trade structures

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/list-fills

ParamTypeRequiredDescription
symbolstringYesunified market symbol of the trades
sinceintNotimestamp in ms of the earliest order, default is undefined
limitintNothe maximum number of trade structures to fetch
paramsobjectNoextra parameters specific to the exchange API endpoint
params.untilintNothe latest time in ms to fetch trades for
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
coinbase.fetchMyTrades (symbol, since?, limit?, params?)

fetchOrderBook

fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data

Kind: instance method of coinbase
Returns: object - A dictionary of order book structures indexed by market symbols

See

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to fetch the order book for
limitintNothe maximum amount of order book entries to return
paramsobjectNoextra parameters specific to the exchange API endpoint
params.usePrivatebooleanNodefault false, when true will use the private endpoint to fetch the order book
coinbase.fetchOrderBook (symbol, limit?, params?)

fetchBidsAsks

fetches the bid and ask price and volume for multiple markets

Kind: instance method of coinbase
Returns: object - a dictionary of ticker structures

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/products/get-best-bid-ask

ParamTypeRequiredDescription
symbolsArray<string>Nounified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.fetchBidsAsks (symbols?, params?)

withdraw

make a withdrawal

Kind: instance method of coinbase
Returns: object - a transaction structure

See: https://docs.cdp.coinbase.com/coinbase-app/transfer-apis/send-crypto

ParamTypeRequiredDescription
codestringYesunified currency code
amountfloatYesthe amount to withdraw
addressstringYesthe address to withdraw to
tagstringNoan optional tag for the withdrawal
paramsobjectNoextra parameters specific to the exchange API endpoint
params.networkstringNothe cryptocurrency network to use for the withdrawal using the lowercase name like bitcoin, ethereum, solana, etc.
params.travel_rule_dataobjectNosome regions require travel rule information for crypto withdrawals, see the exchange docs for details https://docs.cdp.coinbase.com/coinbase-app/transfer-apis/travel-rule
coinbase.withdraw (code, amount, address, tag?, params?)

fetchDepositAddress

fetch the deposit address for a currency associated with this account

Kind: instance method of coinbase
Returns: object - an address structure

See: https://docs.cdp.coinbase.com/coinbase-app/transfer-apis/onchain-addresses

ParamTypeRequiredDescription
codestringYesunified currency code
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.fetchDepositAddress (code, params?)

deposit

make a deposit

Kind: instance method of coinbase
Returns: object - a transaction structure

See: https://docs.cdp.coinbase.com/coinbase-app/transfer-apis/deposit-fiat

ParamTypeRequiredDescription
codestringYesunified currency code
amountfloatYesthe amount to deposit
idstringYesthe payment method id to be used for the deposit, can be retrieved from v2PrivateGetPaymentMethods
paramsobjectNoextra parameters specific to the exchange API endpoint
params.accountIdstringNothe id of the account to deposit into
coinbase.deposit (code, amount, id, params?)

fetchDeposit

fetch information on a deposit, fiat only, for crypto transactions use fetchLedger

Kind: instance method of coinbase
Returns: object - a transaction structure

See: https://docs.cdp.coinbase.com/coinbase-app/transfer-apis/deposit-fiat

ParamTypeRequiredDescription
idstringYesdeposit id
codestringNounified currency code
paramsobjectNoextra parameters specific to the exchange API endpoint
params.accountIdstringNothe id of the account that the funds were deposited into
coinbase.fetchDeposit (id, code?, params?)

fetchDepositMethodIds

fetch the deposit id for a fiat currency associated with this account

Kind: instance method of coinbase
Returns: object - an array of deposit id structures

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/payment-methods/list-payment-methods

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.fetchDepositMethodIds (params?)

fetchDepositMethodId

fetch the deposit id for a fiat currency associated with this account

Kind: instance method of coinbase
Returns: object - a deposit id structure

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/payment-methods/get-payment-method

ParamTypeRequiredDescription
idstringYesthe deposit payment method id
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.fetchDepositMethodId (id, params?)

fetchConvertQuote

fetch a quote for converting from one currency to another

Kind: instance method of coinbase
Returns: object - a conversion structure

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/convert/create-convert-quote

ParamTypeRequiredDescription
fromCodestringYesthe currency that you want to sell and convert from
toCodestringYesthe currency that you want to buy and convert into
amountfloatNohow much you want to trade in units of the from currency
paramsobjectNoextra parameters specific to the exchange API endpoint
params.trade_incentive_metadataobjectNoan object to fill in user incentive data
params.trade_incentive_metadata.user_incentive_idstringNothe id of the incentive
params.trade_incentive_metadata.code_valstringNothe code value of the incentive
coinbase.fetchConvertQuote (fromCode, toCode, amount?, params?)

createConvertTrade

convert from one currency to another

Kind: instance method of coinbase
Returns: object - a conversion structure

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/convert/commit-convert-trade

ParamTypeRequiredDescription
idstringYesthe id of the trade that you want to make
fromCodestringYesthe currency that you want to sell and convert from
toCodestringYesthe currency that you want to buy and convert into
amountfloatNohow much you want to trade in units of the from currency
paramsobjectNoextra parameters specific to the exchange API endpoint
coinbase.createConvertTrade (id, fromCode, toCode, amount?, params?)

fetchConvertTrade

fetch the data for a conversion trade

Kind: instance method of coinbase
Returns: object - a conversion structure

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/convert/get-convert-trade

ParamTypeRequiredDescription
idstringYesthe id of the trade that you want to commit
codestringYesthe unified currency code that was converted from
paramsobjectNoextra parameters specific to the exchange API endpoint
params.toCodestrngYesthe unified currency code that was converted into
coinbase.fetchConvertTrade (id, code, params?)

closePosition

futures only closes open positions for a market

Kind: instance method of coinbase
Returns: object - an order structure

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/close-position

ParamTypeRequiredDescription
symbolstringYesUnified CCXT market symbol
sidestringNonot used by coinbase
paramsobjectNoextra parameters specific to the coinbase api endpoint
params.clientOrderIdstringYesmandatory the client order id of the position to close
params.sizefloatNothe size of the position to close, optional
coinbase.closePosition (symbol, side?, params?)

fetchPositions

fetch all open positions

Kind: instance method of coinbase
Returns: Array<object> - a list of position structure

See

ParamTypeRequiredDescription
symbolsArray<string>Nolist of unified market symbols
paramsobjectNoextra parameters specific to the exchange API endpoint
params.portfoliostringNothe portfolio UUID to fetch positions for
coinbase.fetchPositions (symbols?, params?)

fetchPosition

fetch data on a single open contract trade position

Kind: instance method of coinbase
Returns: object - a position structure

See

ParamTypeRequiredDescription
symbolstringYesunified market symbol of the market the position is held in, default is undefined
paramsobjectNoextra parameters specific to the exchange API endpoint
params.product_idstringNofutures only the product id of the position to fetch, required for futures markets only
params.portfoliostringNoperpetual/swaps only the portfolio UUID to fetch the position for, required for perpetual/swaps markets only
coinbase.fetchPosition (symbol, params?)

fetchTradingFees

fetch the trading fees for multiple markets

Kind: instance method of coinbase
Returns: object - a dictionary of fee structures indexed by market symbols

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/fees/get-transaction-summary

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
params.typestringNo'spot' or 'swap'
coinbase.fetchTradingFees (params?)

fetchPortfolioDetails

Fetch details for a specific portfolio by UUID

Kind: instance method of coinbase
Returns: Array<any> - An account structure </docs/manual#account-structure>

See: https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/portfolios/get-portfolio-breakdown

ParamTypeRequiredDescription
portfolioUuidstringYesThe unique identifier of the portfolio to fetch
paramsDictNoExtra parameters specific to the exchange API endpoint
coinbase.fetchPortfolioDetails (portfolioUuid, params?)

fetchDepositAddresses

fetch deposit addresses for multiple currencies (when available)

Kind: instance method of coinbase
Returns: object - a dictionary of address structures indexed by currency code

See: https://docs.cdp.coinbase.com/coinbase-app/transfer-apis/onchain-addresses

ParamTypeRequiredDescription
codesArray<string>Nolist of unified currency codes, default is undefined (all currencies)
paramsobjectNoextra parameters specific to the exchange API endpoint
params.accountIdstringNoaccount ID to fetch deposit addresses for
coinbase.fetchDepositAddresses (codes?, params?)

On this page