Skip to main content
Functions for swapping tokens via Ramses V3

Parameter Structs

ExactInputSingleParams

ExactInputParams

ExactOutputSingleParams

ExactOutputParams

Functions

exactInputSingle

Swaps amountIn of one token for as much as possible of another token

Parameters:

Return Values:

exactInput

Swaps amountIn of one token for as much as possible of another along the specified path

Parameters:

Return Values:

exactOutputSingle

Swaps as little as possible of one token for amountOut of another token

Parameters:

Return Values:

exactOutput

Swaps as little as possible of one token for amountOut of another along the specified path (reversed)

Parameters:

Return Values: