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,klaytn,kadena,velas,cronos,fuse,fantom,arbitrum,mode,optimism,manta,base,aurora,moonbeam,moonriver,movementnetwork,partisiablockchain.
Testnet: bsc-testnet, klaytn-testnet, partisiablockchain-testnet, movementnetwork-bardock 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))