post https://notify.unmarshal.com/v1/firebase/refresh-token
This endpoint allows you to refresh firebase token
Chains Supported:
Mainnet: Ethereum, BSC, Matic, Celo, Avalanche, Xinfin, Klaytn, Kadena, Velas, Cronos, Fuse, Solana, Fantom, Arbitrum, Aurora, partisiablockchain.
Testnet: bsc-testnet, klaytn-testnet, partisiablockchain-testnet and redbelly-testnet.
In order to use notifications for testnets use
https://testnet-notify.unmarshal.com/v1/firebase/refresh-token
along with all required body.
unmarshal.Notifications
.Firebase.RefreshFCMToken({
fcmToken: "FCM_TOKEN",
deviceId: "DEVICE_ID"
})
.then(({data}) => console.log(data))