Base Transaction Simulator (tx-simulate) is a paid API for AI agents from kr-x402-mvp.kgy5612.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-31).
Simulates one or more Base chain transactions before sending, returning success/failure verdict, gas cost, token transfers, approval events, and balance changes.
Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.
Returns a JSON object with: overall success boolean, a SAFE_TO_SEND/REVERT verdict string, total gas used, fee in ETH and USD, a list of per-call results (success, function signature, gas used, revert reason if any), decoded token transfers with amounts and symbols, approval events, net balance changes per address per token, flags for anomalies, and links to related endpoints for next steps.
GEThttps://kr-x402-mvp.kgy5612.workers.dev/api/tx-simulate?utm_source=zero.xyzUse this endpoint when an AI agent needs to pre-flight a Base transaction before submitting it — especially for DeFi interactions, token transfers, or any calldata the agent hasn't verified. It is uniquely suited for detecting reverts, decoding what a transaction actually does, previewing balance changes, and flagging suspicious approvals — all without spending gas. Choose it over a generic gas estimator when you need the full decoded picture of a transaction's effects, not just a gas number.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"from": "0xe4be4d0bd82d8e68203deff81f79ede0529f2617",
"next": [
"/crypto/base-gas",
"/crypto/tx-status?hash="
],
"block": 53272234,
"calls": [
{
"to": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"index": 0,
"success": true,
"function": "transfer(address,uint256)",
"gas_used": 45047,
"revert_reason": null
}
],
"chain": "base",
"flags": [],
"fee_eth": 5e-7,
"fee_usd": 0.0019,
"success": true,
"summary": "1 call succeeds; sender sends 0.001 USDC",
"verdict": "SAFE_TO_SEND",
"approvals": [],
"transfers": [
{
"to": "0xa587d73489f8f09d1975f1ddbb1c61c93e8fa9d7",
"from": "0xe4be4d0bd82d8e68203deff81f79ede0529f2617",
"token": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"amount": 0.001,
"symbol": "USDC"
}
],
"gas_used_total": 45047,
"sender_changes": {
"USDC": -0.001
},
"balance_changes": {
"0xa587d73489f8f09d1975f1ddbb1c61c93e8fa9d7": {
"USDC": 0.001
},
"0xe4be4d0bd82d8e68203deff81f79ede0529f2617": {
"USDC": -0.001
}
}
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"