Subscribe firebase

This endpoint allows you to subscribe for whale alerts using firebase.

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/whale-alert/subscribe	

along with all required body.

unmarshal.Notifications
   .Firebase.SubscribeWhaleAlert({
       deviceId: "deviceId",
       fcmToken: "deviceFcmToken",
       type: "USDValueBasedAlert | VolumeBasedAlert",
       threshold: 1000,
       tokenAddresses: ["demo.eth"],
   }).then(({data}) => console.log(data))
Language
Authorization
Header
Click Try It! to start a request and see the response here!