Pre-Swap Request
Last updated
Last updated
When selecting a token pair and clicking swap, if it is a BRC20 token, a pre-swap request is required.
Use the same address for both address
and btc_address
.
The response from this endpoint should be passed as is to the get_swap_psbt
endpoint.
The current slipper
(slippage) limit is 12%.
/brc20swap/get_swap_psbt_txsize
token
Use swap for non-routing, pools_swap for routing. Default pools_swap