BRC20-Swap

/swap interface pre-load, get the signature content, gas and byte information.

get/v1/brc20-swap/pre_swap

Query parameters

addressstring required
tickInstring required

Input tick

tickOutstring required

Output tick

amountInstring required

The amount of input tick

amountOutstring required

The amount of output tick

slippagestring required
exactType'exactIn' | 'exactOut' required
Example:exactIn
tsnumber required

Response

Default Response

codenumber required
msgstring required