返回 OKX WaaS 服务默认收录的所有币种,观察钱包默认展示。
该列表会跟随行业热点保持更新,如有其他币种需要收录请联系我们。
GET https://www.okx.com/api/v5/waas/wallet/token/default-tokens
Parameter | Type | Required | Description |
---|---|---|---|
chainIndex | String | No | 链唯一标识,不指定则返回所有 |
limit | String | No | 每次查询多少条,默认值为 50,最大 100 |
cursor | String | No | 游标位置,默认为第一个 |
Parameter | Type | Description |
---|---|---|
cursor | String | 游标 |
tokens | Array | 币种列表 |
>chainIndex | String | 链唯一标识 |
>decimals | String | 币种精度 |
>tokenAddress | String | 代币合约地址 |
>logoUrl | String | 币种 logo 标志 |
>name | String | 币种全称 |
>symbol | String | 币种简称 |
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",
}
]
}
]
}