Euler Finance · Example Payload

Getearnvaultsbychainidbyaddressevents

Unified stream of user, interest/reallocation, and governance earn-vault events. Requires a bounded time window (`from` + `to`), max 30 days.

Earn

Getearnvaultsbychainidbyaddressevents is an example object payload from Euler Finance, with 8 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparametersresponses

Example Payload

Raw ↑
{
  "operationId": "getEarnVaultsByChainIdByAddressEvents",
  "method": "GET",
  "path": "/v3/earn/vaults/{chainId}/{address}/events",
  "summary": "Unified Euler Earn vault event timeline",
  "description": "Unified stream of user, interest/reallocation, and governance earn-vault events.\nRequires a bounded time window (`from` + `to`), max 30 days.\n",
  "tags": [
    "Earn"
  ],
  "parameters": [
    {
      "name": null,
      "in": null,
      "required": false
    },
    {
      "name": null,
      "in": null,
      "required": false
    },
    {
      "name": "from",
      "in": "query",
      "required": true,
      "example": 0
    },
    {
      "name": "to",
      "in": "query",
      "required": true,
      "example": 0
    },
    {
      "name": "type",
      "in": "query",
      "required": false,
      "example": "string"
    },
    {
      "name": null,
      "in": null,
      "required": false
    },
    {
      "name": null,
      "in": null,
      "required": false
    }
  ],
  "responses": {
    "200": {
      "description": "Earn vault events",
      "schema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "chainId": {
                  "type": "integer"
                },
                "type": {
                  "type": "string"
                },
                "timestamp": {
                  "type": "string",
                  "format": "date-time"
                },
                "blockNumber": {
                  "type": "string"
                },
                "txHash": {
                  "type": "string"
                },
                "payload": {
                  "type": "object"
                }
              }
            }
          },
          "meta": {
            "$ref": "#/components/schemas/PaginationMeta"
          }
        }
      }
    }
  }
}