Execute Rune Mint Order

Use this endpoint to execute a Rune Mint order.

Quick Start

post

Finalize minting after sending funds.

Authorizations
x-api-keystringRequired
Path parameters
orderIdstring · uuidRequired
Body
fundTransactionIdstring · min: 64 · max: 64Required
Responses
200

Default Response

No content

post
/v1/runes-managed/mint/orders/{orderId}/execute
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"
}
200

Default Response

No content

Execute Rune Mint Order - Request

Once you have

  • created your mint order and received your orderID

  • funded your mint order and sent the required fundAmount to the fundAddress

-> 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:

  1. Return the fundTransactionId to your app, confirming that the funding transaction required to execute your order was detected.

  2. Prompt the Xverse API Runes Minting service to craft and broadcast the runes minting transaction(s) required to process your order, at the desired feeRate specified in your create Mint Order request, and signing with the fundAddress. 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 specified destinationAddress ℹ️ 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