Burns LP tokens to withdraw a proportional share of assets from the pool. This operation is processed synchronously and returns immediately with the results.
When removing liquidity, you receive:
Requires a valid JWT bearer token. The token’s public key must match the userPublicKey
in the
request.
userPublicKey
- Public key of the liquidity providerpoolId
- LP public key of the poollpTokensToRemove
- Amount of LP tokens to burnnonce
- Unique value for replay protectionsignature
- Request signature200 OK
with withdrawn amounts and transfer IDs400 Bad Request
if validation fails or insufficient balance401 Unauthorized
if authentication fails409 Conflict
if nonce already used500 Internal Server Error
if removal failsBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Liquidity removal details including LP tokens and authentication
Request body for removing liquidity from a pool.
When removing liquidity, you burn LP tokens to receive back a proportional share of both assets from the pool. The exact amounts depend on the current pool reserves and your share of the total LP tokens.
Liquidity removal process completed
Response for removing liquidity from a pool