Unsubscribe

Unsubscribe

This endpoint allows you to unsubscribe notifications for a wallet

Chains Supported:

Ethereum, bsc, matic, celo, avalanche, xinfin, zilliqa, fantom, bsc-testnet and polygon-testnet(mumbai-testnet).

In order to use notifications for testnets use

  https://testnet-notify.unmarshal.com/v1/{address}/unsubscribe    
Request
Security:
path Parameters
address
required
string
Responses
200
post/{address}/unsubscribe
Request samples
curl -i -X POST \
  https://notify.unmarshal.com/v1/:address/unsubscribe \
  -H 'x-api-key: YOUR_API_KEY_HERE'

BulkUnsubscribeFirebase

This endpoint allows you to bulk unsubscribe notifications for a wallet which were subscribed through firebase

Chains Supported:

Ethereum, bsc, matic, celo, avalanche, xinfin, zilliqa, fantom, bsc-testnet and polygon-testnet(mumbai-testnet).

In order to use notifications for testnets use

  https://testnet-notify.unmarshal.com/v1/subscriptions/firebase/unsubscribe    

along with all required body.

unmarshal.Notifications
   .Firebase.Unsubscribe({
       deviceId: "deviceId",
       addresses: ["demo.eth"],
   }).then(({data}) => console.log(data))
Request
Security:
Request Body schema: application/json
device_id
required
string
addresses
required
Array of strings
Responses
200
post/subscriptions/firebase/unsubscribe
Request samples
application/json
{
  • "device_id": "c5Pi9VESR1SmqQMTKu4e-u:APA91bEp_UGNyA_mDe3ranGJAnmerNnzahe753czJm4aklpVoSTNFv9GV8PmrdVFJPk5eHb2POMWaga_nxaz_pa1-7ltX_BoAEWu-BRGpM2O0rlyJIdmFW68CwCZLlm2Kc4hOn-N6bVV",
  • "addresses": [
    ]
}

BulkUnsubscribeWebhook

This endpoint allows you to bulk unsubscribe notifications for a wallet which were subscribed through webhook

Chains Supported:

Ethereum, bsc, matic, celo, avalanche, xinfin, zilliqa, fantom, bsc-testnet and polygon-testnet(mumbai-testnet).

In order to use notifications for testnets use

  https://testnet-notify.unmarshal.com/v1/subscriptions/webhook/unsubscribe    

along with all required body.

unmarshal.Notifications
   .Webhook.Unsubscribe({
       webhookUrl: "http://localhost:8080",
       addresses: ["demo.eth"],
   }).then(({data}) => console.log(data))
Request
Security:
Request Body schema: application/json
webhook_url
required
string
addresses
required
Array of strings
Responses
200
post/subscriptions/webhook/unsubscribe
Request samples
application/json
{}