Euler Finance · Schema

ApiKeyCreateRequest

DeFiLendingBorrowingFinanceEthereumBlockchainVaultsLiquidationInterest RatesPermissionless

Properties

Name Type Description
name string
ownerEmail string
keyType string
scopeMode string
vaultAllowlist array
rateLimit integer
expiresInDays integer
View JSON Schema on GitHub

JSON Schema

api-key-create-request.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ApiKeyCreateRequest",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "ownerEmail": {
      "type": "string",
      "format": "email"
    },
    "keyType": {
      "type": "string",
      "enum": [
        "standard",
        "curator"
      ],
      "default": "standard"
    },
    "scopeMode": {
      "type": "string",
      "enum": [
        "all_vaults",
        "allowlist"
      ]
    },
    "vaultAllowlist": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "chainId",
          "vaultAddress"
        ],
        "properties": {
          "chainId": {
            "type": "integer"
          },
          "vaultAddress": {
            "type": "string"
          }
        }
      }
    },
    "rateLimit": {
      "type": "integer"
    },
    "expiresInDays": {
      "type": "integer"
    }
  }
}