Get a token swap quote based on an input or output value
Parameter Name | Description |
---|---|
bytes path | Route path containing pair swap fees |
uint256 amountIn | Exact input amount in tokenโs smallest unit |
Parameter Name | Description |
---|---|
bytes path | Route path containing pair swap fees, reversed |
uint256 amountOut | Exact output amount in tokenโs smallest unit |
0x000BB8
for a 0.30% fee.