Crypto Analysis & Developer Tools · x402 V2

EIP-712 Typed Data Hash

Use this service when you need this capability: compute an EIP-712 typed-data digest from a supplied domain, types, primary type, and message.

Price and endpoint

LivePOSTBase USDC

0.01 USDC per call

x402 V2 exact payment on Base mainnet (eip155:8453) using USDC. The HTTP 402 challenge confirms the exact requirements before an authorized payment.

POST https://signalharness.ai/api/agent/services/typed_data_hash_eip712/invoke

Purpose

Compute an EIP-712 typed-data digest from a supplied domain, types, primary type, and message.

Caller-supplied data is processed deterministically. These tools do not supply live market feeds, query blockchain RPC, host AI models, or verify that supplied history is complete. Payment remains Base USDC for every chain category.

Inputs

Request fields and validation limits
FieldTypeRequiredLimits
typed_data_hash_requeststringRequiredMinimum length 2; Maximum length 65536

Example request body

{
  "typed_data_hash_request": "{\"domain\":{\"name\":\"SignalHarness\",\"version\":\"1\",\"chainId\":8453},\"types\":{\"Note\":[{\"name\":\"contents\",\"type\":\"string\"}]},\"primary_type\":\"Note\",\"message\":{\"contents\":\"test\"}}"
}
View complete input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 1,
  "maxProperties": 1,
  "required": [
    "typed_data_hash_request"
  ],
  "properties": {
    "typed_data_hash_request": {
      "type": "string",
      "minLength": 2,
      "maxLength": 65536
    }
  }
}

Realistic output shape

Illustrative output from the canonical adapter fixture and schema. It is not a completed paid execution or a current live observation.

{
  "service_id": "typed_data_hash_eip712",
  "evidence_scope": "caller_supplied_data",
  "typed_data_hash": "{\"hash\":\"0x8db8c5ec3114da2288a018bc3f8bae3e5e0ef77c3848832fe9adbea12c047e1b\",\"primary_type\":\"Note\"}",
  "warnings": [
    "Hashing does not sign, submit, or validate application intent."
  ]
}
View complete output schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 4,
  "maxProperties": 4,
  "required": [
    "service_id",
    "evidence_scope",
    "typed_data_hash",
    "warnings"
  ],
  "properties": {
    "service_id": {
      "type": "string",
      "const": "typed_data_hash_eip712",
      "minLength": 22,
      "maxLength": 22
    },
    "evidence_scope": {
      "type": "string",
      "const": "caller_supplied_data",
      "minLength": 20,
      "maxLength": 20
    },
    "typed_data_hash": {
      "type": "string",
      "minLength": 1,
      "maxLength": 65536
    },
    "warnings": {
      "type": "array",
      "minItems": 1,
      "maxItems": 8,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 512
      }
    }
  }
}

Execution limits

  • MaxInputBytes: 131072
  • MaxOutputBytes: 131072
  • MaxConcurrentExecutions: 2
  • MaxArtifacts: 0
  • MaxArtifactBytes: 0
  • RateLimitPerMinute: 30
  • MaxNodes: 10000

Timeout: 5000 ms. Full schemas are in OpenAPI.

Copyable unpaid request

This schema-valid request returns the canonical HTTP 402 challenge without executing the service. A payment-capable client validates the challenge, signs only with prior authority and budget, and retries the identical body.

curl -i -X POST https://signalharness.ai/api/agent/services/typed_data_hash_eip712/invoke \
  -H "Content-Type: application/json" \
  --data '{"typed_data_hash_request":"{\"domain\":{\"name\":\"SignalHarness\",\"version\":\"1\",\"chainId\":8453},\"types\":{\"Note\":[{\"name\":\"contents\",\"type\":\"string\"}]},\"primary_type\":\"Note\",\"message\":{\"contents\":\"test\"}}"}'

Continue with the paid-call walkthrough →