List or look up strategies on a chain
Returns the strategies on a chain with their two asset vaults, or one strategy when `vault` and `strategyId` are given. Pass `asset0` and `asset1` to list one pair, with whether each strategy can route now.
Authorization
ApiKeyAuth Your API key. Authorizing a swap or opening a market takes a key issued to your integration, and the shared key the docs fill in reads and quotes only.
In: header
Query Parameters
The chain's numeric id. GET /api/vaults/chains lists them.
Only this asset vault's strategies. Required with strategyId.
Look up one strategy on vault instead of listing.
With asset1, only strategies on this token pair, each with whether it can route now.
With asset0, the pair's other token.
Response Body
application/json
application/json
curl -X GET "https://example.com/api/vaults/strategies?chainId=1"{ "chainId": 8453, "strategies": [ { "strategyId": "38960560214548620419581884607967218229413556116830054641371650059665611327033", "paused": false, "legs": [ { "vault": "0x256218A93992256F47c4735e1Fc070d90EaeA263", "asset": "0x4200000000000000000000000000000000000006", "symbol": "aqWETH", "paused": false }, { "vault": "0xb367A4306087d3981B38C032464cD7E3A7a03A4E", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "symbol": "aqUSDC", "paused": false } ] } ]}{ "error": "string", "code": "string", "message": "string", "details": {}, "requestId": "string"}List the strategies on Solana (Orca, Raydium)
Every strategy on Orca and Raydium, with its two sides, its pool and each side's 24 hour volume.
Build transactions to set an LP's positions
Returns one `setCommitments` transaction per asset vault that commits, resizes or clears the LP's positions on a pair. A refused position answers 422 with the rule it breaks.