Preview for adding liquidity to a pool. Only one of the three optional parameters (x_input_amount, y_input_amount, output_amount) should be specified, and the rest will be calculated and returned based on this value.

Preview for adding liquidity to a pool

Log in to see full request history
Query Params
string
required

The pool address fo the pool to add liquidity to.

string

The amount of x input token. If left empty, this will be the calculated value.

string

The amount of y input token. If left empty, this will be the calculated value.

string

The amount of LP token returned. If left empty, this will be the calculated value.

integer

The left bound of the liquidity range

integer

The right bound of the liquidity range

Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json