BRC20-Swap

The swap operation.

post/v1/brc20-swap/swap

Request body

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
tsnumber required

Timestamp (seconds)

sigstring required

User signature

Response

Default Response

codenumber required
msgstring required