ToolAssay

Simulate a Base mainnet transaction before sending it

Simulate a Base mainnet transaction before sending it - will it succeed, estimated gas, and the decoded revert reason if it would fail.

Not tested: has real-world effectsour last check, 2026-10-10
0 of 0checks answered this week
n/amedian answer time
$0.005listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://x402.agentindex.world/base/simulate

CategoryEverything else
Provider hostx402.agentindex.world
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days3 from 3 payers (the provider's figure, not ours)

Our checks, last 30 days

We never call tools that send, buy, move money or file anything, not even without paying.

Example input (from the provider)

{
  "body": {
    "data": "0x313ce567",
    "from_address": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
    "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$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"
}

This page as JSON