Aqua0
API ReferenceStrategies

Get a strategy's recent realized settlements

Returns the settlements recorded against one strategy, newest first, keyed by its numeric class id rather than a V4 pool hash, and paged with the returned cursor. Filter a per-venue view on `venueKind`, never on `source`, because the two labels answer different questions.

GET
/api/vaults/strategies/{chainId}/{strategyId}/trades

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Path Parameters

chainId*string

Numeric ID of the chain to query or act on.

strategyId*string

The strategy's numeric class ID within Aqua0's vaults.

Response Body

application/json

curl -X GET "https://example.com/api/vaults/strategies/string/string/trades"
{  "chainId": 0,  "strategyId": "string",  "source": "fleet-settled",  "trades": [    {      "timestamp": 0,      "source": "venue",      "venueKind": "aqua",      "type": "venue-settle",      "netToStrategy": "string",      "amount0": "string",      "amount1": "string",      "token0": "string",      "token1": "string",      "underlyingAsset": "string",      "underlyingSymbol": "string",      "usd": 0,      "vaultOrAdapter": "string",      "venue": "string",      "wallet": "string",      "walletKnown": true,      "txHash": "string"    }  ],  "nextCursor": 0}
Empty