Skip to content

Instantly share code, notes, and snippets.

@avirajkhare00
Created December 2, 2022 19:55
Show Gist options
  • Save avirajkhare00/c6ba398d33d18868c47e96eabb76cdea to your computer and use it in GitHub Desktop.
Save avirajkhare00/c6ba398d33d18868c47e96eabb76cdea to your computer and use it in GitHub Desktop.
Data required from frontend to create an alert in JSON format.
{
"alertName": "someName",
"alertAddress": "smartContractAddress",
"alertSlackWebhook": "https://hooks.slack.com"
}
@avirajkhare00
Copy link
Author

{
"status": "ok",
"data": [
{
"alertName": "MyToken1",
"alertAddress": "0xD0827eb40a4A4F221A57CEeA56bE9f6D3aedECAA",
"slackWebhook": "https://hooks.slack.com/services/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"
},
{
"alertName": "MyNFT1",
"alertAddress": "0x86582C78E7B14569E05A6d67aE9eA0857fd427FE",
"slackWebhook": "https://hooks.slack.com/services/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"
}
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment