Pro Pool API
Deposit Liquidity
Deposit liquidity to a pro pool.
Deposits token A and SOL proportional to the current pool ratio. You receive LP tokens representing your share of the pool. If this is your first time adding liquidity, a new LP position PDA is created for your wallet.
Parameters: Specify max_token_a and max_token_b as upper bounds — the actual deposited amounts will match the pool’s current ratio. Set min_lp_tokens to protect against slippage (use 0 to accept any amount).
POST
Deposit Liquidity
Body
application/json
Deposit liquidity to a pro pool. The amounts deposited will be proportional to the current pool reserves. You receive LP tokens representing your share of the pool.