Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
owner_address
— the address withdrawing liquidity from the exchange pairexchange_id
— unique identifier of the exchange pair to remove liquidity fromtoken_id
— token ID being withdrawn from the liquidity poolquant
— amount of tokens to withdraw from the liquidity poolpermission_id
— optional permission ID for multi-signature accounts
Response
Returns a transaction object containing:txID
— unique transaction identifierraw_data
— raw transaction data including contract detailsraw_data_hex
— hexadecimal representation of raw transaction data
Use case
Thewallet/exchangewithdraw
method is used for:
- Removing liquidity from trading pairs to claim earned fees
- Withdrawing capital from underperforming or deprecated markets
- Rebalancing liquidity provider positions across different pairs
- Exiting liquidity positions before market volatility or impermanent loss
Body
application/json
The address withdrawing liquidity from the exchange pair
Unique identifier of the exchange pair to remove liquidity from
Token ID being withdrawn from the liquidity pool
Amount of tokens to withdraw from the liquidity pool
Optional permission ID for multi-signature accounts
Whether to return human-readable addresses