Webhooks
Receiving Webhooks
While creating an inscription order using Create a Direct Inscription Order or Create a Collection Order you can provide a webhook URL and you can receive updates on your orders sent directly to a publicly reachable endpoint you provide.
Here are the regular states an inscription order will go through and the format of the body of POST request your webhookUrl will receive:
Payment seen on mempool, pending confirmation
{
"id":"4fc7b183-b06f-4cb0-b592-7bc9e9cd05ff",
"state":"waiting-confirmation"
}Payment confirmed, inscription data is being prepared
{
"id":"4fc7b183-b06f-4cb0-b592-7bc9e9cd05ff",
"state":"prep"
}Inscription queued for processing
{
"id":"4fc7b183-b06f-4cb0-b592-7bc9e9cd05ff",
"state":"queued"
}File inscribed
Note that you will get below data for each file in your order
Last updated

