You can delete the custom coin in the projectId dimension. After deletion, all wallets will not be able to check the balance of that currency
POST https://www.okx.com/api/v5/waas/asset/del-coin
Parameter | Type | Required | Description |
---|---|---|---|
chainId | String | Yes | Unique identifier of the chain |
tokenAddress | String | Yes | Token address |
None
curl --location --request POST 'https://www.okx.com/api/v5/waas/asset/del-coin' \
--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' \
--data-raw '{
"chainId": 1,
"tokenAddress": "0x4CEdA7906a5Ed2179785Cd3A40A69ee8bc99C466"
}'
{
"code": 0,
"data": [],
"msg": "success"
}