{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "flows-litprotocol-com-api-flows-txn-checker-invoke",
  "title": "Lit Protocol \u00b7 Transaction Safety Checker",
  "url": "https://flows.litprotocol.com/api/flows/txn-checker/invoke",
  "category": "compute",
  "summary": "Analyzes blockchain transaction calldata for safety risks, validating sender, data, and intent before execution.",
  "seo": {
    "title": "Transaction Safety Check API | Lit Protocol Flows",
    "description": "Analyze transaction calldata for safety risks. Chain, sender, calldata validation with intent description. x402: $0.01 USDC on Base."
  },
  "use_cases": [
    "Pre-flight transaction safety checks",
    "Validate swap/approve transactions for users",
    "Detect malicious calldata patterns",
    "Verify transaction intent matches calldata"
  ],
  "ideal_buyer": "Wallet providers and DeFi interfaces protecting users from malicious transactions.",
  "example_prompt": "Check if this transaction calldata is safe to execute for a token swap.",
  "example_request_body": {
    "data": "0x095ea7b3...",
    "from": "0x1234...",
    "chain": "ethereum",
    "intent": "approve token for DEX swap",
    "expectedFunction": "approve"
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "normal",
    "ratio": 0.5,
    "median_category_atomic": 20000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x6a9450e169b2ee60efbe1493c62baa099ed1c42b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "10000",
      "max_timeout_seconds": 300,
      "verified": false,
      "hints": {
        "input": {
          "body": {
            "type": "object",
            "required": [
              "to",
              "from",
              "data",
              "intent"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Target contract address"
              },
              "data": {
                "type": "string",
                "description": "Transaction calldata (hex-encoded)"
              },
              "from": {
                "type": "string",
                "description": "Sender address"
              },
              "chain": {
                "type": "string",
                "description": "Chain name (default: ethereum)"
              },
              "value": {
                "type": "string",
                "description": "ETH value in wei (hex, default \"0x0\")"
              },
              "intent": {
                "type": "string",
                "description": "Natural language description of what this txn should do"
              },
              "maxValueWei": {
                "type": "string",
                "description": "Optional: max ETH value allowed (decimal string)"
              },
              "expectedFunction": {
                "type": "string",
                "description": "Optional: expected function name (e.g. \"approve\", \"swap\")"
              },
              "maxApprovalAmount": {
                "type": "string",
                "description": "Optional: max token approval allowed (decimal, in token units)"
              }
            }
          },
          "method": "POST"
        },
        "output": {
          "type": "object",
          "required": [
            "error"
          ],
          "properties": {
            "error": {
              "type": "object"
            }
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "flows-litprotocol-com",
    "host": "flows.litprotocol.com",
    "title": "Lit Protocol Flows: Monetize Agent-Callable Code",
    "description": "A platform for developers to publish code that AI agents can discover and call. Hosts x402-payable endpoints where agents pay per execution.",
    "url": "https://flows.litprotocol.com",
    "favicon": "https://flows.litprotocol.com/favicon.svg"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/flows-litprotocol-com-api-flows-txn-checker-invoke",
    "url": "https://x402all.com/resource/flows-litprotocol-com-api-flows-txn-checker-invoke",
    "name": "Lit Protocol \u00b7 Transaction Safety Checker",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/flows-litprotocol-com-api-flows-txn-checker-invoke",
      "@type": "Offer",
      "price": "0.01",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.010000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://flows.litprotocol.com/api/flows/txn-checker/invoke",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/flows-litprotocol-com",
      "url": "https://flows.litprotocol.com",
      "name": "Lit Protocol Flows: Monetize Agent-Callable Code",
      "@type": "Organization"
    },
    "identifier": "flows-litprotocol-com-api-flows-txn-checker-invoke",
    "description": "Analyze transaction calldata for safety risks. Chain, sender, calldata validation with intent description. x402: $0.01 USDC on Base.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=flows-litprotocol-com-api-flows-txn-checker-invoke",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "compute"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=flows-litprotocol-com-api-flows-txn-checker-invoke"
}
