Wallet API
Unsubscribe from transaction data

Unsubscribe from transaction data#

Support for unsubscribing transaction-related data for all addresses in the project dimension. When you unsubscribe, you will no longer receive relevant webhook notifications.

Request URL#

POST https://www.okx.com/api/v5/waas/unsubscribe

Request parameters#

urlStringYesURL for webhook callback
typeStringYesCurrently supports TRANSACTION - any transaction related to any address will trigger, BLOCK_HEIGHT - any block generated will trigger
chainIdStringNoUnique identifier of the chain

Response parameters#


Request example#

curl --location --request POST 'https://www.okx.com/api/v5/waas/unsubscribe' \
--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 '{

Response example#

	"code": "0",
	"msg": "success",
	"data": []