Api Endpoint

Agent Transaction Guard

Agent Transaction Guard: should an autonomous agent proceed, review or block this transaction? Five read-only on-chain core checks before gas is spent: native balance and gas price, transaction-specific gas estimate, full simulation with decoded revert reason, pending nonce gap and recipient bytecode/type. Supplying token, amount and an optional spender adds an ERC-20 balance and allowance check. Returns a stable machine-readable decision, evidence, unknowns, limitations and safe next actions. Missing evidence is REVIEW, never a false approval. Read-only; no transaction is broadcast and there are no follow-up charges. Wallet sanctions screening is outside this contract because official name lists cannot clear or identify a blockchain address.

Open interactive test console

Offering

Provider
api.eucompliance.tools
Method
GET
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://api.eucompliance.tools/x402/preflight
MIME type
application/json
First seen
2026-10-16T02:08:53.176Z
Last seen
Tags
preflight, Analysis, simulation, Gas, revert, Onchain, Agents, Risk

Payment pricing

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

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.02 USDC
Atomic price: 20000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 3
0.02 USDC
Atomic price: 20000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 4
0.02 USDC
Atomic price: 20000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x478bCdeA94b9CB5EA14C33e6f0d7E920743d39f2"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "20000",
    "payTo": "0x478bCdeA94b9CB5EA14C33e6f0d7E920743d39f2"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "20000",
    "payTo": "0x478bCdeA94b9CB5EA14C33e6f0d7E920743d39f2"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "20000",
    "payTo": "9N5TAHbtp9s8Ksrcn4b9Kig4uTRnevZC13bSsMnMAQ4c"
  }
]

Observed health

Status
Healthy
Latest latency
1457 ms
Average latency
1102 ms
HTTP status
402
Last checked
Reachability
92.3% over 13 checks

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

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string",
          "enum": [
            "base",
            "ethereum",
            "arbitrum",
            "optimism",
            "polygon"
          ]
        },
        "sender": {
          "type": "string",
          "description": "the wallet that would send"
        },
        "to": {
          "type": "string",
          "description": "contract or wallet being called"
        },
        "data": {
          "type": "string",
          "description": "calldata hex, default 0x"
        },
        "value_eth": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            }
          ],
          "description": "exact native value to attach; decimal string preferred"
        },
        "token": {
          "type": "string",
          "description": "optional ERC-20 to check balance/allowance for"
        },
        "amount": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            }
          ],
          "description": "exact token amount intended; decimal string preferred"
        },
        "spender": {
          "type": "string",
          "description": "optional spender, defaults to 'to'"
        }
      },
      "required": [
        "sender",
        "to"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "chain": {
              "type": "string",
              "enum": [
                "base",
                "ethereum",
                "arbitrum",
                "optimism",
                "polygon"
              ]
            },
            "sender": {
              "type": "string",
              "description": "the wallet that would send"
            },
            "to": {
              "type": "string",
              "description": "contract or wallet being called"
            },
            "data": {
              "type": "string",
              "description": "calldata hex, default 0x"
            },
            "value_eth": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "number"
                }
              ],
              "description": "exact native value to attach; decimal string preferred"
            },
            "token": {
              "type": "string",
              "description": "optional ERC-20 to check balance/allowance for"
            },
            "amount": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "number"
                }
              ],
              "description": "exact token amount intended; decimal string preferred"
            },
            "spender": {
              "type": "string",
              "description": "optional spender, defaults to 'to'"
            }
          },
          "required": [
            "sender",
            "to"
          ]
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ]
}