Transactional Notification

Subscribe Webhook

This endpoint allows you to subscribe through webhook to get notified for all transactions made by a wallet.

Chains Supported:

Mainnet: Ethereum, BSC, Matic, Celo, Avalanche, Xinfin, Klaytn, Kadena, Velas, Cronos, Fuse, Solana, Fantom, Arbitrum, Aurora.

Testnet: bsc-testnet, klaytn-testnet and polygon-testnet(mumbai-testnet)

In order to use notifications for testnets use

  https://testnet-notify.unmarshal.com/v1/webhook/subscribe    

along with all required body.

unmarshal.Notifications
   .Webhook.Subscribe({
       url: "http://localhost:8080",
       walletIds: ["demo.eth"]
   }).then(({data}) => console.log(data))
Request
Security:
query Parameters
chain
string

filter notifications based on given chain

Request Body schema: application/json
url
required
string
wallet_ids
required
Array of strings
Responses
200

OK

401
post/webhook/subscribe
Request samples
application/json
{}
Response samples
application/json
{
  • "Success": [
    ],
  • "Failed": [
    ]
}

Subscribe Firebase

This endpoint allows you to subscribe through firebase to get notified for all transactions made by a wallet.

Chains Supported:

Mainnet: Ethereum, BSC, Matic, Celo, Avalanche, Xinfin, Klaytn, Kadena, Velas, Cronos, Fuse, Solana, Fantom, Arbitrum, Aurora.

Testnet: bsc-testnet, klaytn-testnet and polygon-testnet(mumbai-testnet)

In order to use notifications for testnets use

  https://testnet-notify.unmarshal.com/v1/firebase/subscribe    

along with all required body.

unmarshal.Notifications
   .Firebase.Subscribe({
   deviceId: "deviceId",
   fcmToken: "deviceFcmToken",
   walletIds: ["demo.eth"]
}).then(({data}) => console.log(data))
Request
Security:
query Parameters
chain
string

filter notifications based on given chain

Request Body schema: application/json
fcm_token
required
string
device_id
required
string
wallet_ids
required
Array of strings
Responses
200
401
post/firebase/subscribe
Request samples
application/json
{
  • "fcm_token": "FCM_TOKEN",
  • "device_id": "DEVICE_ID",
  • "wallet_ids": [
    ]
}
Response samples
application/json
{
  • "Success": [
    ],
  • "Failed": [
    ]
}