You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to title, body, etc., allow the dapp to attach any type of custom "metadata" to a notification as a string. This metadata will be available in any SDK and has no defined structure or purpose.
{
notification: {
type: 'a1e53b95-18e5-4af8-9f03-9308ec87b687',
title: 'The price of Ethereum has risen',
body: 'The price of Ethereum has gone up 10%',
url: 'https://app.example.com/',
data: '{"field":"value"}'
},
accounts: ['eip155:1:0x9AfEaC202C837df470b5A145e0EfD6a574B21029']
}
In addition to title, body, etc., allow the dapp to attach any type of custom "metadata" to a notification as a string. This metadata will be available in any SDK and has no defined structure or purpose.
This could be modeled after Stripe's Metadata: https://stripe.com/docs/api/metadata
For example:
Slack threads:
The text was updated successfully, but these errors were encountered: