Execute Rune Mint Order
Use this endpoint to execute a Rune Mint order.
You need to first Create a Rune Mint order and fund your order before you can call this endpoint.
Quick Start
Finalize minting after sending funds.
Default Response
No content
POST /v1/runes-managed/mint/orders/{orderId}/execute HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"fundTransactionId": "text"
}Default Response
No content
Execute Rune Mint Order - Request
Once you have
created your mint order and received your
orderIDfunded your mint order and sent the required
fundAmountto thefundAddress
-> you can call the Execute Mint Order endpoint, using the orderID as path parameter
Execute Rune Mint Order - Response
A successful Execute Mint request will:
Return the
fundTransactionIdto your app, confirming that the funding transaction required to execute your order was detected.Prompt the Xverse API Runes Minting service to craft and broadcast the runes minting transaction(s) required to process your order, at the desired
feeRatespecified in your create Mint Order request, and signing with thefundAddress. Mint transaction(s) broadcast: The runes minting transaction(s) will be chained to your order funding transaction, and broadcast immediately after the you call the Execute Mint endpoint. ℹ️ Note that the service will automatically process your order after your funding transaction is detected, but we recommend calling the Execute Mint endpoint to ensure immediate execution. Repeat mints: If you order repeat mint transactions, the Xverse API Runes Minting service will chain runes mint transactions: the output of mint transaction N will become the input of mint transaction N+1. The final mint transaction of the chain will transfer the total amount of minted runes (# of mint transactions * fixed mint amount per transaction for the desired Rune) to the specifieddestinationAddressℹ️ Note that the Bitcoin blockchain limits the number of unconfirmed chained transactions to 25. The mint service will chain up to 23 mint transactions to the funding transaction, depending on the number of unconfirmed inputs involved in the funding transaction. To circumvent this limitation when you order more than 23 repeats, the mint service will split the funding transaction's outputs, and chain up to 23 mint transactions to each output. The confirmation of your mint transactions may span more than 1 block as a result.
Next Step -> Monitor Rune Mint Order
Once you've sent the required amount to execute your order, you can call the Monitor Mint Order endpoint to track the status.
Last updated