APYs

Vault APY (current + historical)

Changed on

Returns current and historical vault APY. The effective end is to or the current time. When from is omitted, the effective window is 7 days for 1h and 30 days for 1d. Ranges count both endpoint buckets and support at most 744 hourly buckets or 732 daily buckets.

Needs the apys chain capability; a chain without it answers 404 CHAIN_CAPABILITY_DISABLED.

get/v3/evk/vaults/{chainId}/{address}/apy

Request

  • Base URL
    https://v3.euler.finance
  • URL
    https://v3.euler.finance/v3/evk/vaults/{chainId}/{address}/apy
  • Auth
    none required

Path parameters

chainIdinteger required
addressstring required

Query parameters

frominteger

Unix timestamp in seconds, no later than 2038-01-19T03:14:07Z.

tointeger

Unix timestamp in seconds, no later than 2038-01-19T03:14:07Z.

resolution'1h' | '1d'

Defaults to 1d. If omitted, uses last 30 days for 1d and last 7 days for 1h.

sortstring

Sort field, prefix with '-' for descending.

Response

Vault APY

Changes

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status