Runes
Body
send_coin_typestringRequired
send_tickstringRequired
send_amountstringRequired
receive_coin_typestringRequired
receive_tickstringRequired
receive_amountstringRequired
addressstringRequired
slipperintegerRequired
fee_rateintegerRequired
user_public_keystringRequired
chlstringRequired
methodstringOptional
Non-cross-pool swap, cross-pool pools_swap, just pass 'pools_swap'
tokenstringRequired
btc_addressstringRequired
Responses
200Success
application/json
x-200:Success
application/json
post
/brc20swap/get_swap_psbt2Important Notes:
After sending the signed PSBT, a successful response indicates that the swap was successful.
Extending Signing Duration
If you are using a hardware wallet, the signing process might take longer. To help us identify it being a hardware wallet, you can add the following header to the API requests:
For example:
Last updated