Body
Liquidity removal simulation parameters
Request body for simulating liquidity removal without executing it.
Simulation allows users to preview how much of each asset they would receive when burning their LP tokens.
LP public key of the pool to simulate removing liquidity from. The pool must exist and have liquidity.
"03aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899"
Public key of the liquidity provider. Used to check current LP token balance.
"03abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567"
Amount of LP tokens to simulate burning, in their smallest unit. Must be positive and not exceed the provider's balance.
x >= 0
100000
Response
Simulation completed successfully
Response from liquidity removal simulation with expected outcomes.
Amount of Asset A that would be returned. Proportional to your share of the pool.
x >= 0
"50000000"
Amount of Asset B that would be returned. Proportional to your share of the pool.
x >= 0
"25000"
Current LP token balance of the provider. Shows how many tokens they have available to remove.
"200000"
Percentage of the pool being removed.
"50.0"
Warning message if the simulation detects potential issues. Common warnings include removing all liquidity or insufficient balance.
"Removing more than 10% of pool liquidity may impact price"