RUNES
dotswap V3 Transaction request flow

dotswap V3 Swap interface
Apifox/1.0.0 (https://apifox.com)application/jsonwith a minimum of 1, used to filter pools with no available UTXOs.
Use this interface to obtain the available swap amount.
For example, if you want to check how much
YKO•KKK•KKK•KKK•KKKyou can get for0.1 BTC, then setfrom_tokentobtcandto_tokentorunes. Input the value offrom_token.amount, and the interface will returnto_amount, which represents the amount ofYKO•KKK•KKK•KKK•KKK.
Apifox/1.0.0 (https://apifox.com)application/jsonobtained from the calculation interface
with a minimum of 1, used for transaction construction.
required only for BRC20.
1、The
quote_idin this interface is the return value obtained from the quotation interface.2、Please set
use_bitcoin_channeltofalseby default, and setinscriptionto an empty array[].
Apifox/1.0.0 (https://apifox.com)application/jsonobtained from the PSBT creation
false:hex true:base64
The
request_idis obtained from thecreate_psbtresponse.Please set
psbt_is_base64according to your signing result; by default, it is usuallyfalse.
Last updated