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

WhenResultHTTPTimePrice
2 h agoExpected HTTP 402, got 30830819 ms-
6 h agoExpected HTTP 402, got 308308101 ms-
11 h agoExpected HTTP 402, got 30830826 ms-
15 h agoExpected HTTP 402, got 30830816 ms-
19 h agoExpected HTTP 402, got 30830846 ms-
23 h agoExpected HTTP 402, got 30830836 ms-
27 h agoExpected HTTP 402, got 30830863 ms-
31 h agoExpected HTTP 402, got 30830862 ms-
35 h agoExpected HTTP 402, got 30830814 ms-
40 h agoExpected HTTP 402, got 30830849 ms-
43 h agoExpected HTTP 402, got 30830851 ms-
2 days agoExpected HTTP 402, got 30830820 ms-
2 days agoExpected HTTP 402, got 30830816 ms-
2 days agoPassed402277 ms$0.015
2 days agoPassed402141 ms$0.015

History

11 Oct 2026Price changed from $0.005 to $0.015