Fetch a verified contract's ABI and metadata by address, keylessly, from Sourcify
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 explorer…
by abi.cyberwarex.com · discovered, not yet claimed by its owner · updated 2026-10-13
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: abi · contract · sourcify · decode · evm · bazaar
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-13
{
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"chain": "ethereum"
}{
"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
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/27427.jsonfor the price and payment options. - Pay. Call
GET https://abi.cyberwarex.com/abi. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.003 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 40 calls · 4 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.003 | 0x058D0Cc5CC97e61e8A9f38D6d6365bce525921B2 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x058D0Cc5CC97e61e8A9f38D6d6365bce525921B2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"amountUsd": 0.003,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"abi": {
"description": "the full ABI (JSON array).",
"type": "array"
},
"abi_entries": {
"type": "integer"
},
"address": {
"type": "string"
},
"chain": {
"type": "string"
},
"compiler": {
"type": [
"string",
"null"
]
},
"events": {
"items": {
"type": "string"
},
"type": "array"
},
"functions": {
"items": {
"type": "string"
},
"type": "array"
},
"implementation": {
"description": "logic address if proxy.",
"type": [
"string",
"null"
]
},
"is_proxy": {
"type": "boolean"
},
"match": {
"description": "exact_match or match.",
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"verified": {
"description": "true if Sourcify has verified source.",
"type": "boolean"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"abi": [
"value"
],
"abi_entries": 0,
"address": "string",
"chain": "string",
"compiler": "string",
"events": [
"string"
],
"functions": [
"string"
],
"implementation": "string",
"is_proxy": true,
"match": "string",
"name": "string",
"source": "string",
"verified": true
},
"type": "string"
}Examples
curl "https://abi.cyberwarex.com/abi"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://abi.cyberwarex.com/abi");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://abi.cyberwarex.com/abi")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- abi.cyberwarex.com
- Endpoint
- https://abi.cyberwarex.com/abi
- Machine-readable
/resources/27427.json