encodeExchange
encodeExchange(
family,args,amount,minDy,receiver):`0x${string}`
Defined in: protocol-swap2-curve/src/abi.ts:75
exchange(route, params, amount, minDy, [zero pools,] receiver) for the router family.
Parameters
Section titled “Parameters”family
Section titled “family”amount
Section titled “amount”bigint
bigint
receiver
Section titled “receiver”`0x${string}`
Returns
Section titled “Returns”`0x${string}`