Api Endpoint

txsafety-signature

Pre-sign safety verdict for an off-chain EIP-712 signature (EIP-2612, Permit2, EIP-3009). Decodes what it authorizes (spender, token, amount, deadline), checks domain-spoof, approval-hygiene and scam-blocklist, returns allow, warn or block plus a 0-100 risk. Risk indicators, not advice.

Open interactive test console

Offering

Provider
payai.agentstools.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://payai.agentstools.dev/tx/signature
MIME type
application/json
First seen
2026-10-16T02:00:30.940Z
Last seen
Tags
Security, signature, eip712, Permit2, eip3009

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "20000",
    "payTo": "AytHnvc6bZx1ALTy7b5Px7hcavoSYszG9aeKvDcZ8R1u"
  }
]

Observed health

Status
Reachable
Latest latency
365 ms
Average latency
485 ms
HTTP status
405
Last checked
Reachability
100% over 23 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "body": {
    "network": "base",
    "typed_data": {
      "domain": {
        "name": "Permit2",
        "chainId": 8453,
        "verifyingContract": "0x000000000022D473030F116dDEE9F6B43aC78BA3"
      },
      "message": {
        "details": {
          "nonce": "0",
          "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "amount": "1461501637330902918203684832716283019655932542975",
          "expiration": "281474976710655"
        },
        "spender": "0x1111111111111111111111111111111111111111",
        "sigDeadline": "1999999999"
      },
      "primaryType": "PermitSingle"
    }
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "properties": {
        "body": {
          "required": [
            "typed_data"
          ],
          "properties": {
            "network": {
              "enum": [
                "base",
                "ethereum",
                "arbitrum",
                "optimism",
                "polygon",
                "bnb"
              ],
              "type": "string",
              "description": "EVM network the signature is for (default base)"
            },
            "signature": {
              "type": "string",
              "description": "Optional 0x signature to recover the signer"
            },
            "typed_data": {
              "type": "object",
              "description": "Full EIP-712 typed-data object with domain, primaryType and message"
            },
            "expected_signer": {
              "type": "string",
              "description": "Optional address to compare the recovered signer against"
            }
          }
        },
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object"
        }
      }
    }
  }
}