Query the list of successfully subscribed tasks. If a task has been unsubscribed, it will not be returned by the interface.
GET https://www.okx.com/api/v5/waas/wallet/webhook/subscriptions
None
Parameter | Type | Description |
---|---|---|
chainIndex | String | Unique identifier of the chain |
id | String | Unique identifier of the subscription |
name | String | Name of the subscription |
type | String | Type of the subscribed data |
url | String | Webhook callback URL |
feeChangeFilter | Object | Fee fluctuation filter, applicable only when the type is fee_fluctuation |
> minChange | String | Minimum fluctuation |
> maxChange | String | Maximum fluctuation |
curl --location --request GET 'https://www.okx.com/api/v5/waas/wallet/webhook/subscriptions' \
--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",
"data":[
{
"chainIndex":"1",
"id":"1",
"name":"",
"type":"transaction",
"url":"http://your.server.com/webhook"
}
],
"msg":""
}