Returns all tokens defaultly included in OKX WaaS service, observed in wallet default display.
This list will be regularly updated to follow industry trends. Contact us for inclusion of other tokens.
GET https://www.okx.com/api/v5/waas/wallet/token/default-tokens
Parameter | Type | Required | Description |
---|---|---|---|
chainIndex | String | No | Unique identifier for the blockchain, returns all if not specified |
limit | String | No | Number of entries per query, default is 50, max 100 |
cursor | String | No | Cursor position, defaults to the first entry |
Parameter | Type | Description |
---|---|---|
cursor | String | Cursor |
tokens | Array | List of tokens |
>chainIndex | String | Unique blockchain identifier |
>decimals | String | Token decimals |
>tokenAddress | String | Token contract address |
>logoUrl | String | Token logo URL |
>name | String | Token full name |
>symbol | String | Token symbol |
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'
{
"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"
}
]
}
]
}