Documentation
API Reference
Tokens
ℹ️

To interact with the Cede SDK, you need to create an instance of the SDK and register at least one exchange instance. Refer to the General info section for details.

Get supported tokens

Provides a list of supported tokens.

method: getSupportedTokens
params:

  • exchangeId - string
    The exchange ID to get supported tokens from.
  • auth - The authentication object for the exchange. See authentication section for details.
  • network - string, optional
    If provided, the method will return only depositable or withdrawable tokens for the specified network.

response structure: Promise<{ TokenWithMarketNetwork[] }>, see TokenWithMarketNetwork.

const tokens = await cedeSDK.api.getSupportedTokens({ exchangeId: "binance" });