mirrored listing x402 eip155:8453solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp

Validate EIP-712 typed structured data and derive its domain separator, message hash, and

Validate EIP-712 typed structured data and derive its domain separator, message hash, and signing digest.

Do you run apiacre.com? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-01
updated

Provider

apiacre.com · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "typed_data": {
            "domain": {
              "name": "API Acre Example"
            },
            "message": {
              "contents": "Hello"
            },
            "primaryType": "Message",
            "types": {
              "EIP712Domain": [
                {
                  "name": "name",
                  "type": "string"
                }
              ],
              "Message": [
                {
                  "name": "contents",
                  "type": "string"
                }
              ]
            }
          }
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "data": {
            "domainSeparator": "0xc167959bdf834486717879a8cd6eb3e12a864d1b1d7dbcecec40455e1b4bc8c8",
            "messageHash": "0xd6a9eadbfb49313d8b83d02d2bb22b916a5b16e6006946c9ca6fa7959d934b3a",
            "primaryType": "Message",
            "signingHash": "0x7433e410d5f2857cb42d0bfd31bc71e8aa553f02ce0eed397927f01dfb46424c",
            "valid": true
          },
          "meta": {
            "cached": false,
            "duration_ms": 42,
            "next_actions": [],
            "sources": [],
            "warnings": []
          },
          "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
          "service": "crypto.typed-data-hash",
          "version": "1"
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "properties": {
                "typed_data": {
                  "additionalProperties": true,
                  "title": "Typed Data",
                  "type": "object"
                }
              },
              "required": [
                "typed_data"
              ],
              "title": "TypedDataInput",
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST",
                "PUT",
                "PATCH"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "properties": {
                "data": {
                  "description": "Structured EIP-712 hash result",
                  "properties": {
                    "domainSeparator": {
                      "type": "string"
                    },
                    "messageHash": {
                      "type": "string"
                    },
                    "primaryType": {
                      "type": "string"
                    },
                    "signingHash": {
                      "type": "string"
                    },
                    "valid": {
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "properties": {
                    "cached": {
                      "type": "boolean"
                    },
                    "duration_ms": {
                      "minimum": 0,
                      "type": "integer"
                    },
                    "next_actions": {
                      "description": "Optional separately priced follow-up calls. Each action requires a new payment challenge and explicit buyer authorization.",
                      "items": {
                        "properties": {
                          "authorization_required": {
                            "const": true,
                            "type": "boolean"
                          },
                          "checkout_path": {
                            "pattern": "^/try/",
                            "type": "string"
                          },
                          "executes_automatically": {
                            "const": false,
                            "type": "boolean"
                          },
                          "handoff_path": {
                            "description": "Free full contract and spend-capped command handoff; reading it does not execute or purchase the follow-up.",
                            "pattern": "^/catalog/",
                            "type": "string"
                          },
                          "handoff_payment_required": {
                            "const": false,
                            "type": "boolean"
                          },
                          "input_template": {
                            "description": "Client-side template only: $request refers to the original input, $result to this response, and $json(...) serializes its argument. The server does not execute the follow-up.",
                            "type": "object"
                          },
                          "maximum_atomic_usdc": {
                            "pattern": "^[1-9][0-9]*$",
                            "type": "string"
                          },
                          "method": {
                            "const": "POST",
                            "type": "string"
                          },
                          "path": {
                            "pattern": "^/v1/",
                            "type": "string"
                          },
                          "price": {
                            "pattern": "^\\$[0-9]+",
                            "type": "string"
                          },
                          "reason": {
                            "type": "string"
                          },
                          "sample_path": {
                            "pattern": "^/samples/",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "service": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "use_output": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "service",
                          "title",
                          "reason",
                          "method",
                          "path",
                          "price",
                          "input_template",
                          "use_output",
                          "handoff_path",
                          "checkout_path",
                          "sample_path",
                          "maximum_atomic_usdc",
                          "handoff_payment_required",
                          "executes_automatically",
                          "authorization_required"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "sources": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "warnings": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "duration_ms",
                    "cached",
                    "sources",
                    "warnings",
                    "next_actions"
                  ],
                  "type": "object"
                },
                "request_id": {
                  "description": "Unique request identifier",
                  "type": "string"
                },
                "service": {
                  "const": "crypto.typed-data-hash",
                  "type": "string"
                },
                "version": {
                  "const": "1",
                  "type": "string"
                }
              },
              "required": [
                "request_id",
                "service",
                "version",
                "data",
                "meta"
              ],
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  },
  "payment-identifier": {
    "info": {
      "required": false
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "id": {
          "maxLength": 128,
          "minLength": 16,
          "pattern": "^[a-zA-Z0-9_-]+$",
          "type": "string"
        },
        "required": {
          "type": "boolean"
        }
      },
      "required": [
        "required"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://apiacre.com/v1/crypto/typed-data-hash"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://apiacre.com/v1/crypto/typed-data-hash");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://apiacre.com/v1/crypto/typed-data-hash")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/2574.json, and this resource appears in /discovery/resources and /discovery/search.