API Reference

Preview for removing liquidity from a pool. Only one of the three optional parameters (input_amount, x_output_amount, y_output_amount) should be specified, and the rest will be calculated and returned based on this value.

Preview for removing liquidity from a pool

Log in to see full request history
Query Params
string
required

The pool address fo the pool to remove liquidity from.

string

The amount of input LP tokens. If left empty, this will be the calculated value.

string

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

string

The amount of desired y token. 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