Euler Finance · Example Payload

Createentityaddress

Creates a chain-scoped governance address for a KYBed entity. Requires a platform-admin session and CSRF token.

Entities

Createentityaddress 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": "createEntityAddress",
  "method": "POST",
  "path": "/v3/entities/{id}/addresses",
  "summary": "Create entity governance address",
  "description": "Creates a chain-scoped governance address for a KYBed entity. Requires a platform-admin session and CSRF token.",
  "tags": [
    "Entities"
  ],
  "parameters": [
    {
      "name": "id",
      "in": "path",
      "required": true,
      "example": "string"
    }
  ],
  "responses": {
    "201": {
      "description": "Entity governance address was created.",
      "schema": {
        "type": "object",
        "required": [
          "data",
          "meta"
        ],
        "properties": {
          "data": {
            "$ref": "#/components/schemas/EntityAddress"
          },
          "meta": {
            "$ref": "#/components/schemas/PaginationMeta"
          }
        }
      }
    },
    "400": {
      "description": "Malformed JSON request body.",
      "schema": {
        "$ref": "#/components/schemas/ErrorResponse"
      }
    },
    "401": {
      "description": "Missing, invalid, or expired platform-admin session.",
      "schema": {
        "$ref": "#/components/schemas/ErrorResponse"
      }
    },
    "403": {
      "description": "Inactive platform-admin access, missing CSRF token, or mismatched CSRF token.",
      "schema": {
        "$ref": "#/components/schemas/ErrorResponse"
      }
    },
    "404": {
      "description": "Entity profile was not found or chain is unsupported.",
      "schema": {
        "$ref": "#/components/schemas/ErrorResponse"
      }
    },
    "409": {
      "description": "Entity governance address already exists for the entity and chain.",
      "schema": {
        "$ref": "#/components/schemas/ErrorResponse"
      }
    },
    "422": {
      "description": "Missing or invalid address field.",
      "schema": {
        "$ref": "#/components/schemas/ErrorResponse"
      }
    }
  }
}