get_swap_min_res
This on-chain view returns a minimum result (output) of a swap.
Call parameters
swap_slice_t
get_swap_min_res_t
Return type
Usage
Errors
108
- pair (pool) with the specifiedtoken_id
not listed.109
- pair doesn't have a liquidity.113
- a Bucket contract not found (not TOK/TEZ LP pair).117
- empty route of swaps.118
- zero amount in was passed as the parameter.119
- wrong route of a swap.
Last updated