16trust / 100
Abi Decode
by Vextorium in Onchain & crypto
x402 APIFailing, checked 3 h ago
Decode EVM calldata (transaction input) with the function signature or, if omitted, by looking up the selector on 4byte; or decode return data with its output types (e.g. uint256,address).
POST https://api.vextorium.com/v1/abi-decode
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 3 h ago: Amount "0.003" is not in atomic token units
- Next check
- any minute now
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://api.vextorium.com/v1/abi-decode' \
-H 'content-type: application/json' \
--data-raw '{"data":"0xa9059cbb0000000000000000000000007e5f4552091a69125d5dfcb7b8c2659029395bdf00000000000000000000000000000000000000000000000000000000000f4240"}'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%2Fapi.vextorium.com%2Fv1%2Fabi-decode
const res = await pay("https://api.vextorium.com/v1/abi-decode", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"data\":\"0xa9059cbb0000000000000000000000007e5f4552091a69125d5dfcb7b8c2659029395bdf00000000000000000000000000000000000000000000000000000000000f4240\"}",
});
console.log(await res.json());Example input
{
"data": "0xa9059cbb0000000000000000000000007e5f4552091a69125d5dfcb7b8c2659029395bdf00000000000000000000000000000000000000000000000000000000000f4240"
}Example output
{
"arguments": [
"0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf",
"1000000"
],
"function": "transfer(address,uint256)",
"selector": "0xa9059cbb",
"signature_source": "4byte.directory"
}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 | Amount "0.003" is not in atomic token units | 402 | 78 ms | $0.003 |
| 8 h ago | Amount "0.003" is not in atomic token units | 402 | 75 ms | $0.003 |
| 12 h ago | Amount "0.003" is not in atomic token units | 402 | 100 ms | $0.003 |
| 17 h ago | Amount "0.003" is not in atomic token units | 402 | 119 ms | $0.003 |
| 21 h ago | Amount "0.003" is not in atomic token units | 402 | 76 ms | $0.003 |
| 25 h ago | Amount "0.003" is not in atomic token units | 402 | 94 ms | $0.003 |
| 29 h ago | Amount "0.003" is not in atomic token units | 402 | 95 ms | $0.003 |
| 33 h ago | Amount "0.003" is not in atomic token units | 402 | 154 ms | $0.003 |
| 37 h ago | Amount "0.003" is not in atomic token units | 402 | 235 ms | $0.003 |
| 40 h ago | Amount "0.003" is not in atomic token units | 402 | 79 ms | $0.003 |
| 45 h ago | Amount "0.003" is not in atomic token units | 402 | 79 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 81 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 74 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 79 ms | $0.003 |
| 3 days ago | Amount "0.003" is not in atomic token units | 402 | 87 ms | $0.003 |