API Docs
Creates a new Rune order with the specified details. If webhookUrl is provided, a webhookSecretToken will be sent in the response. webhookSecretToken is a shared secret between the server and the user. It is the only way to authenticate the incoming webhooks. It is unique for every order. webhookSecretToken should be saved by the user in the database and checked on every received webhook.
API key for authentication.
your-api-keyThe amount for the order.
1The token for the order.
SHITCOINPARADISEThe webhook URL for the order.
https://webhook.site/f5a2dcec-b7e4-4845-92d1-22ded0057104The additional fee for the order.
0The description for the order.
e14fefbe-fc23-40a2-b0d6-6aab7bff3438Successfully created the order.
b15ad7f6-b34a-4a1e-8c0f-30492610a3d61730120609939ordinalsbothttps://api.ordinalsbot.com/webhook/tokenpaypending56f3f01e-407b-4099-b172-591501f7129dSent only when webhookUrl is provided. webhookSecretToken is a shared secret between the server and the user. It is the only way to authenticate the incoming webhooks. It is unique for every order. webhookSecretToken should be saved by the user in the database and checked on every received webhook.
c051a42521ab8d2987c3626a6246d99f8a3397cd6be626ee0eeb7f5457e92432Bad request. Invalid input parameters.
Internal server error.
The transaction ID to be validated.
1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdefA successful response
f358178f7f72a07cb983da3b19097a5b8a8160b367609701d3d1c15e7f3147e4A successful response
Fetches an order from the Firestore database using the provided order ID.
The ID of the order to retrieve.
1234567890abcdefSuccessfully retrieved the order.
1721745751531ordinalsbote14fefbe-fc23-40a2-b0d6-6aab7bff3438f2bcddd4-bd8d-4c88-bf8a-61be0d5b0600pendinghttps://webhook.site/f5a2dcec-b7e4-4845-92d1-22ded0057104Order not found.
Withdraws funds from the user's account to the specified address.
API key for authentication.
your-api-keyThe protocol for the withdrawal.
bitcoinThe token for the withdrawal.
BTCThe amount to withdraw.
0.5The address to withdraw to.
bc1qh3rp2pns6nrr8mhx0rlzd5kktwm33wc4ax0h4ySuccessfully created the withdrawal request.
f2bcddd4-bd8d-4c88-bf8a-61be0d5b0600user123bitcoinBTC0.5bc1qh3rp2pns6nrr8mhx0rlzd5kktwm33wc4ax0h4ypending1721745751531Bad request. Invalid input parameters.
Internal server error.
Retrieves the details of a specific withdrawal using the withdrawal ID.
The ID of the withdrawal to retrieve.
f2bcddd4-bd8d-4c88-bf8a-61be0d5b0600API key for authentication.
your-api-keySuccessfully retrieved the withdrawal details.
f2bcddd4-bd8d-4c88-bf8a-61be0d5b0600user123bitcoinBTC0.5bc1qh3rp2pns6nrr8mhx0rlzd5kktwm33wc4ax0h4ycompleted1721745751531Bad request. Invalid input parameters.
Withdrawal not found.
Internal server error.
Handles the creation of a payment PSBT.
The ID of the order.
order123The payment address.
1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNaThe payment public key.
02b463a1e6b8e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1The ordinal address.
bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kygt080The ordinal public key.
03b463a1e6b8e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1The fee rate for the transaction.
0.0001Successfully created the payment PSBT.
The created PSBT.
cHNidP8BAFICAAAA...Bad request. Invalid input parameters.
Internal server error.
Retrieves the balance of a specific user account.
API key for authentication.
your-api-keySuccessfully retrieved the account balance.
Bad request. Invalid input parameters.
Account not found.
Internal server error.
Last updated