curl --request POST \
--url https://rt.tonapi.io/webhooks/{webhook_id}/mempool/subscribe \
--header 'Authorization: Bearer <token>'{
"message": "unauthorized",
"status_code": 401
}Subscribe to mempool events. When a new message enters the mempool, TONAPI sends a POST request to the webhook URL.
curl --request POST \
--url https://rt.tonapi.io/webhooks/{webhook_id}/mempool/subscribe \
--header 'Authorization: Bearer <token>'{
"message": "unauthorized",
"status_code": 401
}API key from tonconsole.com. Can also be passed as a token query parameter.
Webhook identifier.
Subscribed
Was this page helpful?