API Docs
Last updated
Last updated
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.
/user/order/rune
API key for authentication.
your-api-key
The amount for the order.
1
The token for the order.
SHITCOINPARADISE
The webhook URL for the order.
https://webhook.site/f5a2dcec-b7e4-4845-92d1-22ded0057104
The additional fee for the order.
0
The description for the order.
e14fefbe-fc23-40a2-b0d6-6aab7bff3438
/utils/checktx
The transaction ID to be validated.
1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
Fetches an order from the Firestore database using the provided order ID.
/order/{orderId}
The ID of the order to retrieve.
1234567890abcdef
Withdraws funds from the user's account to the specified address.
/user/account/withdraw
API key for authentication.
your-api-key
The protocol for the withdrawal.
bitcoin
The token for the withdrawal.
BTC
The amount to withdraw.
0.5
The address to withdraw to.
bc1qh3rp2pns6nrr8mhx0rlzd5kktwm33wc4ax0h4y
Retrieves the details of a specific withdrawal using the withdrawal ID.
/user/withdrawal/{withdrawalId}
The ID of the withdrawal to retrieve.
f2bcddd4-bd8d-4c88-bf8a-61be0d5b0600
API key for authentication.
your-api-key
Handles the creation of a payment PSBT.
/create-payment-psbt
The ID of the order.
order123
The payment address.
1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
The payment public key.
02b463a1e6b8e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1
The ordinal address.
bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kygt080
The ordinal public key.
03b463a1e6b8e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1e1a1
The fee rate for the transaction.
0.0001
Retrieves the balance of a specific user account.
/user/account/balance
API key for authentication.
your-api-key