Data API
Get Protocol Config State
Fetch the on-chain protocol configuration for a given version.
The protocol config contains fee structures, pool creation parameters, and other protocol-wide settings. Different versions may have different fee tiers.
POST
Get Protocol Config State
Body
application/json
Response
200 - application/json
JSON encoded ProtocolConfig struct
Previous
Get LP BalanceFetch a user's LP position in a pro pool.
Returns the LP token balance, pending fees, and whether the position exists on-chain. If the user has never added liquidity (or received LP tokens via transfer), `exists` will be `false` and all values will be zero.
The `lp_position_address` is the PDA derived from `[USER_LP_POSITION, pool, user]` — useful for monitoring the account directly via WebSocket subscriptions.
Next
Get Protocol Config State