Read-Only EVM Transaction Simulation
Run eth_call and eth_estimateGas against a supported public EVM RPC without signing or broadcasting a transaction.
Preview request
The preview path is rate-limited and does not charge. Production requests use the same parameters and return a standard x402 challenge when no payment signature is present.
curl --request POST \
"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/tx_simulator?preview=true" \
--header "content-type: application/json" \
--data '{"network":"ethereum","from":"0xuser...","to":"0xrouter...","data":"0x...","value":"0"}'Input contract
| Parameter | Type | Required | Description |
|---|---|---|---|
network | string | Yes | Blockchain network identifier. |
from | string | Yes | Sender address. |
to | string | Yes | Destination contract address. |
data | string | Yes | Hex-encoded transaction calldata. |
value | string | No | Amount of native token sent in wei. |
Guaranteed response metadata
Every successful product response identifies how the result was produced. Product-specific output fields are documented in the paid OpenAPI contract and can be inspected through the preview request where available.
{
"marketplace_metadata": {
"data_mode": "live_source",
"billable": true,
"availability": "operational",
"source": "public EVM JSON-RPC"
}
}Agent payment flow
Request the product, read the base64 PAYMENT-REQUIRED challenge, sign the exact Base-USDC authorization with an x402 buyer client, and retry using PAYMENT-SIGNATURE. A successful response includes PAYMENT-RESPONSE.