{"uid":"cap_3kZaPHPuMnUOSWLK-ufjK","slug":"pocket-network-evm-transaction-simulation-48754d0e","name":"Pocket Network EVM Transaction Simulation","description":"Pay-per-call access to Pocket Network services. No account, no API key.","url":"https://agent.pocket.network/v1/chain-simulation?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","description":"Target contract address, 0x-prefixed."},"data":{"type":"string","description":"Calldata, 0x-prefixed (0x for none)."},"from":{"type":"string","description":"Optional sender address."},"chain_id":{"type":"integer","description":"EVM chain id (default 1)."}}},"responseSchema":{"type":"json","example":{"data":{},"portal":{"serviceId":"chain-simulation","provenance":"third-party-supplier","schemaCheck":"passed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uWdxl80vTNbljtqir_qHd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates an EVM transaction before signing, returning the revert reason and asset deltas as a single JSON object without requiring an account or API key.","exampleAgentPrompt":"Before I sign this swap, simulate the transaction on Ethereum mainnet — the contract is 0xUniswapRouterAddress and the calldata is 0xabcdef1234... — and tell me if it will revert and what token balances will change.","exampleUseCases":[{"title":"DeFi swap safety check","prompt":"I'm about to execute a Uniswap swap on Ethereum mainnet. Can you simulate this transaction first — target is 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45 and the calldata is 0x5ae401dc... — and tell me if it'll revert and what asset changes I should expect?"},{"title":"Debug a failing contract call","prompt":"My transaction keeps failing on-chain and I don't know why. Can you simulate this call on chain ID 8453 — contract 0xAbCd1234... with calldata 0xdeadbeef... — and tell me what the revert reason is?"},{"title":"Pre-sign approval before NFT mint","prompt":"Before I sign this NFT mint transaction, simulate it from my address 0xMyWallet... on Ethereum mainnet — contract is 0xNFTCollection... and calldata is 0x6a627842... — and confirm whether it succeeds and what ETH I'll spend."}],"resultDescription":"A JSON object containing the simulation outcome, including whether the transaction reverts (and the revert reason if so), asset deltas showing token balance changes, and portal metadata such as service ID and provenance.","failureModes":["Invalid or malformed contract address returns a validation error","Malformed or empty calldata may produce unexpected simulation results","Unsupported chain ID returns an error or falls back to default chain","Contract state at simulation time may differ from broadcast time, causing divergence","Network unavailability of the underlying Pocket Network node returns a 5xx error","Insufficient USDC payment causes a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need a fast, stateless, pay-per-request EVM transaction simulation with no account setup — ideal for agents that must pre-flight check smart contract calls, detect reverts, or preview asset deltas before submitting a transaction on-chain. Prefer it over full node RPC calls when you want a single structured JSON response with asset delta summaries rather than raw eth_call output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:47:04.555Z","isFirstParty":false,"canonicalSlug":"pocket-network-evm-transaction-simulation-48754d0e"}