Wallet API
Get Supported Tokens

Get Supported Tokens#

Returns all tokens defaultly included in Wallet API service to be displayed for watch-only account.

This list will be regularly updated to follow industry trends. Contact us for inclusion of other tokens.

Request Path#

GET https://www.okx.com/api/v5/waas/wallet/token/default-tokens

Request Parameters#

chainIndexStringNoUnique identifier for the blockchain, returns all if not specified
limitStringNoNumber of entries per query, default is 50, max 100
cursorStringNoCursor position, defaults to the first entry

Response Parameters#

tokensArrayList of tokens
>chainIndexStringUnique blockchain identifier
>decimalsStringToken decimals
>tokenAddressStringToken contract address
>logoUrlStringToken logo URL
>nameStringToken full name
>symbolStringToken symbol

Request Example#

curl --location --request GET 'https://www.okx.com/api/v5/waas/wallet/token/default-tokens' \
--header 'Content-Type: application/json' \
--header 'OK-ACCESS-PROJECT: 86af********d1bc' \
--header 'OK-ACCESS-KEY: 37c541a1-****-****-****-10fe7a038418' \
--header 'OK-ACCESS-SIGN: leaV********3uw=' \
--header 'OK-ACCESS-PASSPHRASE: 1****6' \
--header 'OK-ACCESS-TIMESTAMP: 2023-10-18T12:21:41.274Z'

Response Example#

    "code": "0",
    "msg": "",
    "data": [
            "cursor": "1",
            "tokens": [
                    "chainIndex": 3,
                    "decimals": 18,
                    "tokenAddress": "0xdf54b6c6195ea4d948d03bfd818d365cf175cfc2",
                    "logoUrl": "https://static.coinall.ltd/cdn/wallet/logo/okb.png",
                    "name": "OKB",
                    "symbol": "OKB"
                    "chainIndex": 3,
                    "decimals": 6,
                    "tokenAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                    "logoUrl": "https://static.coinall.ltd/cdn/wallet/logo/usdt.png",
                    "name": "Tether",
                    "symbol": "USDT"