Get Unsigned Swap PSBT
Last updated
Last updated
After a successful pre-swap request, obtain the unsigned PSBT. Some request parameters will be from the pre-swap response.
After obtaining the unsigned PSBT, the user must sign it within 30 seconds.
The checksum
field should use the value from the previous request, even though the field name may differ.
Use the same address for both btc_address
and address
.
For user_public_key
, provide the parameter as public_key:public_key
for a wallet with one address, or btc_public_key:ordi_public_key
for a wallet with two addresses.
/brc20swap/get_swap_psbt
token
Obtaind from get_swap_psbt_txsize
Obtaind from get_swap_psbt_txsize
Obtaind from get_swap_psbt_txsize
Use swap for non-routing, pools_swap for routing. Default pools_swap