16trust / 100
Contract Abi
by Vextorium in Onchain & crypto
x402 APIFailing, checked 2 h ago
ABI of a verified EVM contract (Sourcify): every function with signature, selector, inputs, outputs and read/write flag, plus events with topic0 and proxy implementations. Ready-to-use signatures for leer-contrato.
POST https://api.vextorium.com/v1/contract-abi
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 2 h ago: Amount "0.004" is not in atomic token units
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/contract-abi" \
-H "content-type: application/json" \
-d '{"address":"0x6B175474E89094C44Da98b954EedeAC495271d0F","network":"ethereum","type":"read"}'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%2Fcontract-abi
const res = await pay("https://api.vextorium.com/v1/contract-abi", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"address":"0x6B175474E89094C44Da98b954EedeAC495271d0F","network":"ethereum","type":"read"}),
});
console.log(await res.json());Example input
{
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"network": "ethereum",
"type": "read"
}Example output
{
"chain_id": 1,
"contract": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"events": [
{
"indexed": [
"src",
"guy"
],
"signature": "Approval(address,address,uint256)",
"topic0": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"
},
{
"indexed": [
"sig",
"usr"
],
"signature": "LogNote(bytes4,address,bytes32,bytes32,bytes)",
"topic0": "0xd3d8bec38a91a5f4411247483bc030a174e77cda9c0351924c759f41453aa5e8"
}
],
"functions": [
{
"entries": [],
"mutability": "view",
"outputs": "bytes32",
"reading": true,
"selector": "0x3644e515",
"signature": "DOMAIN_SEPARATOR()",
"to_read_contract": "DOMAIN_SEPARATOR()(bytes32)"
},
{
"entries": [],
"mutability": "view",
"outputs": "bytes32",
"reading": true,
"selector": "0x30adf81f",
"signature": "PERMIT_TYPEHASH()",
"to_read_contract": "PERMIT_TYPEHASH()(bytes32)"
}
],
"implementations": [],
"is_proxy": false,
"name": "Dai",
"note": null,
"source": "Sourcify"
}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 |
|---|---|---|---|---|
| 2 h ago | Amount "0.004" is not in atomic token units | 402 | 83 ms | $0.004 |
| 7 h ago | Amount "0.004" is not in atomic token units | 402 | 105 ms | $0.004 |
| 11 h ago | Amount "0.004" is not in atomic token units | 402 | 96 ms | $0.004 |
| 15 h ago | Amount "0.004" is not in atomic token units | 402 | 91 ms | $0.004 |
| 19 h ago | Amount "0.004" is not in atomic token units | 402 | 79 ms | $0.004 |
| 23 h ago | Amount "0.004" is not in atomic token units | 402 | 85 ms | $0.004 |
| 27 h ago | Amount "0.004" is not in atomic token units | 402 | 78 ms | $0.004 |
| 31 h ago | Amount "0.004" is not in atomic token units | 402 | 87 ms | $0.004 |
| 35 h ago | Amount "0.004" is not in atomic token units | 402 | 121 ms | $0.004 |
| 40 h ago | Amount "0.004" is not in atomic token units | 402 | 84 ms | $0.004 |
| 43 h ago | Amount "0.004" is not in atomic token units | 402 | 77 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 82 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 75 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 122 ms | $0.004 |
| 3 days ago | Amount "0.004" is not in atomic token units | 402 | 229 ms | $0.004 |