Webhooks
using the webhook, the indexer will apply your filters and send a request to the url you specify with the data received from new blocks registering a webhook webhooks are available only for users with subscriptions so first of all you need to purchase a subscription that suits you extended guide how to authorise and purchase is here graphql docid\ shbnvwi6horkohfovmehy you should open webapp dtontech bot and purchase needed graphql subscription to create a webhook you need to send a profile webhook setup mutation request to our graphql endpoint you should authorize using your personal graphql key https //dton io/{your key}/graphql https //dton io/{your key}/graphql explanation of parameters webhook id integer your personal webhook sequence number (some subscriptions allow to register several webhooks endpoint string url of your service filters object data filtering parameters regular filters are supported, as well as filters via (see filters page) fields list of strings list of fields expected in the response extend filters object optional parameter to extend the filters of an existing webhook for the in filter, the addition of lists is done that is, if fields in \[3, 4], and the database already has a field in \[1, 2], the resulting filter value will be field in \[1, 2, 3, 4] note if a value is passed, the value of the filters is ignored response format success boolean webhook sequence number error message string url of your service webhook object сreated webhook using a webhook after creating a webhook you will receive regular updates at the url you specified the webhook will contain transactions filtered by the fields and filters example json { "data" { "transactions" \[ { "address" "779dcc815138d9500e449c5291e7f12738c23d575b5310000f6a253bd607384e", "workchain" 0, "in msg value grams" null }, { "address" "3e5ffca8ddfcf36c36c9ff46f31562aab51b9914845ad6c26cbde649d58a5588", "workchain" 0, "in msg value grams" 1081397228 } ] } } limits limitations on the number of webhooks, filter list length, field list length and number of unique accounts per request depend on the subscription rate you can find the latest information in our telegram bot @dtontech bot get your webhooks get all profile webhooks { id endpoint } get one by id profile webhook(webhook id 1) { id endpoint } delete the webhook mutation { profile webhook delete(webhook id 1) { success error message } }