{"slug":"x402-agentindex-world-base-simulate-da6255","title":"Simulate a Base mainnet transaction before sending it","host":"x402.agentindex.world","method":"POST","resource":"https://x402.agentindex.world/base/simulate","category":"other","description":"Simulate a Base mainnet transaction before sending it - will it succeed, estimated gas, and the decoded revert reason if it would fail.","price_listed":0.005,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":3,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"data":"0x313ce567","from_address":"0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d","to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"data":{"default":"0x","title":"Data","type":"string"},"from_address":{"title":"From Address","type":"string"},"to":{"title":"To","type":"string"},"value_wei":{"default":0,"title":"Value Wei","type":"integer"}},"required":["from_address","to"],"title":"SimulateInput","type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"gas_estimate":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Gas Estimate"},"return_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return Data"},"revert_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revert Reason"},"will_succeed":{"title":"Will Succeed","type":"boolean"}},"required":["will_succeed","gas_estimate","revert_reason","return_data"],"title":"SimulateOutput","type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Simulate a Base mainnet transaction before sending it - will it succeed, estimated gas, and the decoded revert reason if it would fail.","last_updated":"2026-10-08T06:09:18.958Z","schemes":["exact"]}