BRC20-Swap
/swap interface pre-load, get the signature content, gas and byte information.
get/v1/brc20-swap/pre_swap
Request
- Base URLhttps://open-api.unisat.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
No recorded changes to this operation across all 1 revision of this API.