Unmarshal Smart Notifications

⚡️Get Notified. Instantly! 🔔Never Miss Critical Alerts

The Smart Notification service from Unmarshal is a multi-chain feature that can be integrated on Ethereum, Binance Smart Chain, and Polygon.

🔄 Revive User Engagement

Unmarshal Smart Notification will always allow dApp owners to keep in touch with their users discreetly, providing timely helpful updates and relevant information like wallet transaction updates and trending crypto pairs, wallet balances updates, price changes and so on. They also provide a great way of getting users to engage in new promotions or features.

💬 Unmarshal Smart Notification API

The Smart Notification features a lot of aspects that can help you with your user retention. dApps can connect to the API through the cloud-based platform Firebase to send messages and notifications to users across devices.

👉 Get Notifications for

  • Wallet Transactions

  • Protocol Positions

  • Trending Pairs

  • New Token Listings

🤖 Our Smart Notification service also helps you build bots on instant messaging applications on Telegram and Slack, allowing applications to seamlessly connect with users in more than one way.

👉To start using our Smart Notification Service, please get in touch with us at [email protected] along with your Firebase credentials.

post
Subscribe for webhook Notification

http://notify.unmarshal.com/webhook/subscribe
This endpoint allows subscription for webhook Notification. Example: Subscribe for webhook Notification http://notify.unmarshal.com/webhook/subscribe with all body parameters or curl --location --request POST 'http://notify.unmarshal.com/webhook/subscribe' \ --header 'Content-Type: application/json' \ --data-raw '{ "url": "https://60c4d952ec8ef800175e0a08.mockapi.io/notification/transaction", "client_id": "client01", "wallet_ids":["0x4430b323029xxxxxxxbc2cd68e80b16b581"] }'
Request
Response
Request
Body Parameters
wallet_ids
required
array
list of wallet ids that needs to get notification
clientId
required
string
valid client id
url
required
string
https://60c4d952ec8ef800175e0a08. mockapi.io/notification/transaction
Response
200: OK
{
"message": "Success"
}

Webhook call request payload

{
"wallet_address": "0x2c46a199c0bddfae4cdf5dbd89a5352a5d9c578e",
"transaction": {
"id": "0xd077db512e09a272745f3a904bc6c59f629e76bdfc024cf06be70d2c9beadee1",
"from": "0x2c46a199c0bddxxxxxxf5dbd89a5352a5d9c578e",
"to": "0x10ed43c71871kkkxxxxxxx7b78b54704e256024e",
"fee": "13618904640000000",
"date": 1621429226,
"status": "completed",
"type": "swap",
"value": "67583889390490853376",
"received": [
{
"name": "XRP",
"symbol": "XRP",
"token_id": "0x1d2f0da169cxxxxxxxx44628db156f3f6c60dbe",
"decimals": 18,
"value": "20733505344636930921422"
}
],
"sent": [
{
"name": "WBNB",
"symbol": "WBNB",
"token_id": "0xbb4cdb9cbxxxxxxxxxf2de08d9173bc095c",
"decimals": 18,
"value": "67583889390490853376"
}
],
"description": "Swapped 67.5839 WBNB for 20733.5053 XRP"
}
}

post
Subscribe for Firebase Notification

http://notify.unmarshal.com/firebase/subscribe
This endpoint allows subscription for Firebase Notification. Example: Subscribe for Firebase Notification http://notify.unmarshal.com/firebase/subscribe with all body parameters or curl --location --request POST 'http://notify.unmarshal.com/firebase/subscribe'\ --header 'Content-Type: application/json' \ --data-raw '{ "fcm": "FCM_TOKEN", "client_id": "client01", "wallet_ids":["0x33baa1002e0xxxxxxxxxxxf2357c408ad"] }'
Request
Response
Request
Body Parameters
fcm
required
string
Fcm Token
client_id
required
string
valid client id
wallet_ids
required
array
list of valid wallet ids which needs to get notification
Response
200: OK
{
"message": "Success"
}

post

http://notify.unmarshal.com/webhook/subscribe
Request
Response
Request
Path Parameters
optional
string
Response
200: OK
{
"message": "Success"
}

Note: Firebase notifications need more setup for the service account and mobile app side handling. please reach out to [email protected]