Aqua0
API ReferenceVaults

Get an LP's vault deposit and withdrawal history

Returns the wallet's vault deposits and withdrawals, newest first, with each withdrawal split between principal returned and credit claimed. Omit chainId to cover every chain on the surface, and page with the returned cursor.

GET
/api/vaults/activity/{wallet}

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Path Parameters

wallet*string

The wallet address to look up.

Query Parameters

chainId?string

Optional. Restricts results to one chain, and if omitted, returns activity across every chain Aqua0's vaults are live on.

Response Body

application/json

curl -X GET "https://example.com/api/vaults/activity/string"
{  "wallet": "string",  "activity": [    {      "chainId": 0,      "vault": "string",      "kind": "deposit",      "caller": "string",      "receiver": "string",      "assets": "string",      "fromPrincipal": "string",      "fromCredit": "string",      "blockNumber": "string",      "timestamp": 0,      "transactionHash": "string"    }  ],  "nextCursor": 0}
Empty