BRC20-Swap

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

get/v1/brc20-swap/pre_swap

Request

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

Changes

No recorded changes to this operation across all 1 revision of this API.