30trust / 100
Crypto Tx Explain
by AgentTools in Onchain & crypto
x402 APIFailing, checked 2 h ago
Explain what an EVM transaction would actually do: decodes the calldata (ERC-20 transfers/approvals via known ABIs, unknown selectors via the 4byte directory) and simulates the call against live chain state to report the outcome — including unlimited-approval warnings — without sending anything. Use this when an agent needs to decode and simulate a transaction — before signing it.
GET https://agenttools-hub.vercel.app/api/v1/crypto/tx-explain
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 13.3%
- Response time
- 141 ms typical, 141 ms slowest 5%
- Last check
- 2 h ago: Expected HTTP 402, got 308
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://agenttools-hub.vercel.app/api/v1/crypto/tx-explain?chain=base&data=0xa9059cbb000000000000000000000000d8dA6BF26964aF9D7eEd9e03E53415D37aA960450000000000000000000000000000000000000000000000000000000000002710&to=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagenttools-hub.vercel.app%2Fapi%2Fv1%2Fcrypto%2Ftx-explain
const res = await pay("https://agenttools-hub.vercel.app/api/v1/crypto/tx-explain?chain=base&data=0xa9059cbb000000000000000000000000d8dA6BF26964aF9D7eEd9e03E53415D37aA960450000000000000000000000000000000000000000000000000000000000002710&to=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913");
console.log(await res.json());Example input
{
"chain": "base",
"data": "0xa9059cbb000000000000000000000000d8dA6BF26964aF9D7eEd9e03E53415D37aA960450000000000000000000000000000000000000000000000000000000000002710",
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}Example output
{
"result": {
"answer": "live data — call the API",
"value": null
},
"tool": "tx-explain"
}Security scan
- Charges more than its listed price in payment
Listed at $0.005, charges $0.015
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Expected HTTP 402, got 308 | 308 | 19 ms | - |
| 6 h ago | Expected HTTP 402, got 308 | 308 | 101 ms | - |
| 11 h ago | Expected HTTP 402, got 308 | 308 | 26 ms | - |
| 15 h ago | Expected HTTP 402, got 308 | 308 | 16 ms | - |
| 19 h ago | Expected HTTP 402, got 308 | 308 | 46 ms | - |
| 23 h ago | Expected HTTP 402, got 308 | 308 | 36 ms | - |
| 27 h ago | Expected HTTP 402, got 308 | 308 | 63 ms | - |
| 31 h ago | Expected HTTP 402, got 308 | 308 | 62 ms | - |
| 35 h ago | Expected HTTP 402, got 308 | 308 | 14 ms | - |
| 40 h ago | Expected HTTP 402, got 308 | 308 | 49 ms | - |
| 43 h ago | Expected HTTP 402, got 308 | 308 | 51 ms | - |
| 2 days ago | Expected HTTP 402, got 308 | 308 | 20 ms | - |
| 2 days ago | Expected HTTP 402, got 308 | 308 | 16 ms | - |
| 2 days ago | Passed | 402 | 277 ms | $0.015 |
| 2 days ago | Passed | 402 | 141 ms | $0.015 |
History
| 11 Oct 2026 | Price changed from $0.005 to $0.015 |