81trust / 100
Tx Simulator
by DopamineDesk AI Marketplace in Onchain & crypto
x402 APIPassing, checked 3 h ago
Run a read-only transaction simulation with eth_call and eth_estimateGas against a supported public EVM RPC without signing or broadcasting.
GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/tx_simulator
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 152 ms typical, 152 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/tx_simulator?data=0x313ce567&from=0x8647F7D7a1368a467Ad1FF757fBc2e7167973558&network=base&to=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&value=0"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fai-data-marketplace-1042299154756.us-central1.run.app%2Fapi%2Fv1%2Ftx_simulator
const res = await pay("https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/tx_simulator?data=0x313ce567&from=0x8647F7D7a1368a467Ad1FF757fBc2e7167973558&network=base&to=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&value=0");
console.log(await res.json());Example input
{
"data": "0x313ce567",
"from": "0x8647F7D7a1368a467Ad1FF757fBc2e7167973558",
"network": "base",
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"value": "0"
}Example output
{
"broadcast": false,
"estimated_gas": "30958",
"marketplace_metadata": {
"availability": "operational",
"billable": true,
"data_mode": "live_source",
"source": "public EVM JSON-RPC"
},
"network": "base",
"return_data": "0x0000000000000000000000000000000000000000000000000000000000000006",
"simulation_status": "SUCCESS",
"source": "base public JSON-RPC",
"success": true
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 152 ms | $0.005 |