{
  "x402Version": 2,
  "id": 6841,
  "slug": "6841",
  "resource": "https://simulate.cyberwarex.com/decode",
  "description": "Decode raw EVM calldata into a named function, signature and arguments, plus security risk flags (unlimited token approval, setApprovalForAll, ownership transfer, unknown selector, native value transfer). Keyless, deterministic, no simulation - the cheap way for an agent to understand and risk-screen a piece of calldata before signing.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x058D0Cc5CC97e61e8A9f38D6d6365bce525921B2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "data": "0x095ea7b3000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "decoded": {
              "args": {
                "amount": "115792089237316195423570985008687907853269984665640564039457584007913129639935",
                "spender": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
              },
              "function": "approve",
              "signature": "approve(address,uint256)"
            },
            "disclaimer": "Static decode + keyless eth_call preview only. This is not financial advice and not a guarantee: a call that would succeed now can still revert at broadcast time (state changes, slippage, MEV). Always verify before signing.",
            "risk": {
              "flags": [
                {
                  "code": "unlimited_approval",
                  "detail": "approval amount is effectively unlimited",
                  "severity": "danger"
                }
              ],
              "level": "danger"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "Transaction calldata (hex, 4-byte selector + ABI args).",
                    "pattern": "^0x[a-fA-F0-9]*$",
                    "type": "string"
                  },
                  "to": {
                    "description": "Target address (optional, for context only).",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "decoded": {
                    "description": "function, signature, args.",
                    "type": "object"
                  },
                  "disclaimer": {
                    "type": "string"
                  },
                  "risk": {
                    "description": "level (none|caution|danger) + flags.",
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "simulate.cyberwarex.com",
  "lastUpdated": "2026-09-18T07:35:50.026Z",
  "quality": {
    "calls30d": 14,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-18T07:35:49.582Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "simulate.cyberwarex.com",
    "manifest_name": "simulate.cyberwarex.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}