Wallet API

Delete coin#

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

Request URL#

POST https://www.okx.com/api/v5/waas/asset/del-coin

Request parameters#

ParameterTypeRequiredDescription
chainIdStringYesUnique identifier of the chain
tokenAddressStringYesToken address

Response parameters#

None

Request example#

shell
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"
}'

Response example#

200
{
  "code": 0,
  "data": [],
  "msg": "success"
}