v1

latestOpenAPI 3.0.1Apache 2.02026-07-2686219209.3 KB
Runes Swap

Get available rune quotes with given parameters for the swap

Get available rune quotes with given parameters for the swap

get/v2/ord/btc/runes/quote

Query parameters

runeTickerstring required

Rune symbol

amountstring bigint required

The amount for the quote

side'buy' | 'sell' required

The side of the trade, either "buy" or "sell"

priceToleranceBpinteger

The price tolerance in percentage x 10000

rbfPreventionListingOnlyboolean

Flag indicating if only RBF protection sell orders should be considered.

Response

Successful response

amountstring bigint required

The total amount for the quote, represented as a string to accommodate large integers.

averageUnitPricenumber required

The average unit price.

bestUnitPricenumber required

The best unit price available.

maxUnitPricenumber required

The maximum unit price.

minUnitPricenumber required

The minimum unit price.

pricenumber required

The total price.