Api Endpoint

KushBitx AgentProof

Simulate one unsigned Base transaction before an agent signs it. Runs eth_call and gas estimation on current chain state, decodes the intent (ERC-20 transfer, approve, NFT setApprovalForAll), flags unlimited approvals, calldata sent to a non-contract, zero-address targets, reverts and destination risk labels such as phishing or sanctions. Returns ALLOW, WARN, BLOCK or INCOMPLETE with findings. No key or signed transaction is requested.

Open interactive test console

Offering

Provider
kushbitx.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Infrastructure
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://kushbitx.com/api/transaction-preflight
MIME type
application/json
First seen
2026-10-16T01:50:03.832Z
Last seen
Tags
Crypto, Security, Transaction, simulation, Agents, X402, Verification, kushbitx, payment-verification, Base, USDC, Agent-Infra

Payment pricing

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

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x0d68028d06af13379C872FEE032568B4Be712f22"
  }
]

Observed health

Status
Healthy
Latest latency
104 ms
Average latency
461 ms
HTTP status
204
Last checked
Reachability
100% over 14 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",
      "enum": [
        "http"
      ]
    },
    "method": {
      "type": "string",
      "enum": [
        "POST"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json"
      ]
    },
    "body": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string",
          "enum": [
            "base"
          ]
        },
        "from": {
          "type": "string",
          "pattern": "^0x[a-fA-F0-9]{40}$",
          "description": "Optional sender used for simulation."
        },
        "to": {
          "type": "string",
          "pattern": "^0x[a-fA-F0-9]{40}$",
          "description": "Transaction destination."
        },
        "valueWei": {
          "type": "string",
          "pattern": "^[0-9]+$",
          "description": "Native ETH value in wei."
        },
        "data": {
          "type": "string",
          "pattern": "^0x([a-fA-F0-9]{2})*$",
          "description": "Unsigned calldata."
        }
      },
      "required": [
        "chain",
        "to"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ]
}

Output schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "input": {
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "chain": {
              "enum": [
                "base"
              ],
              "type": "string"
            },
            "data": {
              "description": "Unsigned calldata.",
              "pattern": "^0x([a-fA-F0-9]{2})*$",
              "type": "string"
            },
            "from": {
              "description": "Optional sender used for simulation.",
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "to": {
              "description": "Transaction destination.",
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "valueWei": {
              "description": "Native ETH value in wei.",
              "pattern": "^[0-9]+$",
              "type": "string"
            }
          },
          "required": [
            "chain",
            "to"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "enum": [
            "http"
          ],
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "chain": {
              "const": "base",
              "type": "string"
            },
            "destination": {
              "properties": {
                "address": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "balanceWei": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "bytecodeBytes": {
                  "type": "integer"
                },
                "externalRiskCheckAvailable": {
                  "type": "boolean"
                },
                "externalRiskSignals": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "type": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "findings": {
              "items": {
                "properties": {
                  "category": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string"
                  },
                  "points": {
                    "type": "number"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "severity": {
                    "enum": [
                      "critical",
                      "high",
                      "medium",
                      "low",
                      "info"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "code",
                  "severity",
                  "reason"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "generatedAt": {
              "format": "date-time",
              "type": "string"
            },
            "intent": {
              "properties": {
                "amountAtomic": {
                  "type": "string"
                },
                "approved": {
                  "type": "boolean"
                },
                "operator": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "selector": {
                  "type": "string"
                },
                "spender": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "type": {
                  "enum": [
                    "native_transfer",
                    "contract_call",
                    "erc20_approve",
                    "nft_set_approval_for_all",
                    "erc20_transfer",
                    "erc20_transfer_from"
                  ],
                  "type": "string"
                },
                "unlimitedApproval": {
                  "type": "boolean"
                }
              },
              "required": [
                "selector",
                "type"
              ],
              "type": "object"
            },
            "limitations": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "receipt": {
              "description": "Added by the paid endpoint: saved report ID, amount, network and settlement transaction.",
              "properties": {
                "amountUsdc": {
                  "type": "string"
                },
                "createdAt": {
                  "format": "date-time",
                  "type": "string"
                },
                "expiresAt": {
                  "format": "date-time",
                  "type": "string"
                },
                "network": {
                  "const": "base",
                  "type": "string"
                },
                "reportId": {
                  "type": "string"
                },
                "service": {
                  "type": "string"
                },
                "transaction": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": "object"
            },
            "reportVersion": {
              "type": "string"
            },
            "simulation": {
              "properties": {
                "attempted": {
                  "type": "boolean"
                },
                "callError": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "gasError": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "gasEstimate": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "returnData": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "success": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                }
              },
              "type": "object"
            },
            "sources": {
              "items": {
                "type": "object"
              },
              "type": "array"
            },
            "transaction": {
              "properties": {
                "data": {
                  "type": "string"
                },
                "from": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "to": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "valueWei": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "verdict": {
              "properties": {
                "confidence": {
                  "type": "string"
                },
                "decision": {
                  "enum": [
                    "ALLOW",
                    "WARN",
                    "BLOCK",
                    "INCOMPLETE"
                  ],
                  "type": "string"
                },
                "score": {
                  "type": "number"
                },
                "summary": {
                  "type": "string"
                }
              },
              "required": [
                "decision",
                "summary"
              ],
              "type": "object"
            }
          },
          "required": [
            "reportVersion",
            "generatedAt",
            "chain",
            "verdict",
            "transaction",
            "intent",
            "destination",
            "simulation",
            "findings"
          ],
          "type": "object"
        },
        "type": {
          "enum": [
            "json"
          ],
          "type": "string"
        }
      },
      "required": [
        "type",
        "example"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}