Asset IDs

When perpetual endpoints expect an integer for asset, use the index of the coin found in the meta info response. E.g. BTC = 0 on mainnet.

For spot endpoints, use 10000 + index where index is the corresponding index in spotMeta. For example, when submitting an order for PURR/USDC, the asset that should be used is 10000 because its asset index in the spot metadata is 0.

Last updated