Build calldata to claim realized PnL from a strategy
Returns the calldata for an LP to claim their share of a strategy's realized profit-and-loss in an asset vault.
Authorization
ApiKeyAuth In: header
Path Parameters
Numeric ID of the chain to query or act on.
The vault's underlying asset, as a token contract address or ticker symbol (e.g. USDC).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/api/vaults/string/string/prepare-claim-pnl" \ -H "Content-Type: application/json" \ -d '{ "strategyId": "string" }'Discover strategies (or look one up) on a chain
Discovers every registered strategy on a chain (each grouped across its per-asset vault legs) for the "back a strategy" picker, or returns one strategy's full state when a strategyId and vault are given.
Build calldata to redeem a strategy's counter-asset leg
Returns the calldata to redeem the counter-asset portion of a cross-asset strategy position (here the asset is the counter-asset vault, not the one originally locked).