82trust / 100
Abi
by Contract ABI in Onchain & crypto
x402 APIPassing, checked 4 h ago
Fetch a verified contract's ABI and metadata by address, keylessly, from Sourcify. Returns the ABI plus a summarized list of function and event signatures, the contract name and compiler, and proxy detection (is_proxy + implementation address). Block explorers gate the ABI behind an API key; this does not. Chains: base, ethereum, arbitrum, optimism, polygon, bsc, avalanche. No API keys, no LLM, one x402 USDC micropayment per call.
GET https://abi.cyberwarex.com/abi
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 169 ms typical, 169 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://abi.cyberwarex.com/abi?address=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2&chain=ethereum"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%2Fabi.cyberwarex.com%2Fabi
const res = await pay("https://abi.cyberwarex.com/abi?address=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2&chain=ethereum");
console.log(await res.json());Example input
{
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"chain": "ethereum"
}Example output
{
"abi_entries": 16,
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"chain": "ethereum",
"compiler": "0.4.19+commit.c4cbbb05",
"events": [
"Transfer(address,address,uint256)"
],
"functions": [
"approve(address,uint256)",
"transfer(address,uint256)",
"withdraw(uint256)"
],
"is_proxy": false,
"match": "exact_match",
"name": "WETH9",
"source": "Sourcify",
"verified": 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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 169 ms | $0.003 |