---
title: "Sign EIP-712 typed data"
method: POST
path: "/sign/eip712"
tags: ["odf-sign"]
---

# Sign EIP-712 typed data

`POST /sign/eip712`

This endpoint authorizes that the caller has signing permissions for a
specified managed key and signs the message with it.

The optional `includeNodeProof` flag is used to additionally sign the
resulting signature with the node's own secp256k1 key, allowing for on-chain
verification.

## Query parameters

- `key` string, required
- `includeNodeProof` boolean

## Request body

- Eip712TypedData
  - `domain` Eip712DomainSchema, required
    - `chainId` integer, required
    - `name` string, required
    - `verifyingContract` string, nullable
    - `version` string, required
  - `message` object, required
  - `primaryType` string, required
  - `types` object, required

## Response `200`

- SignEip712Response
  - `proof` SignEip712Proof
    - `signature` string, required
    - `type` 'Ed25519Signature2020' | 'EcdsaSecp256k1Signature2019', required
    - `verificationMethod` string, required
  - `signature` string, required
  - `type` 'Ed25519Signature2020' | 'EcdsaSecp256k1Signature2019', required
  - `verificationMethod` string, required

## Other responses

- `404`

## Changes

- **2026-06-04** `af210e5a088a` — 1 info
  - endpoint added
- **2025-07-29** `9aea0047e18e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kamu-data/apis/kamu-rest-api/changes/sign/eip712/post.md)

---

[API](https://skmtc.dev/kamu-data/apis/kamu-rest-api.md) · [All operations](https://skmtc.dev/kamu-data/apis/kamu-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kamu-data/kamu-rest-api/revisions/623327a42b01/schema)
