chain_interfaces
ERC-165 interface detection — Which standards does a contract implement? Calls supportsInterface on 17 well-known interface ids (ERC-721 + Metadata/Enumerable, ERC-1155, ERC-2981 royalties, ERC-4906, ERC-4907, ERC-5192 soulbound, ERC-6551 account, ERC-1363, AccessControl, ERC-1271, receivers...) plus up to 10 custom ids= and checks ERC-165 compliance (0xffffffff must be false). Pass address= and chain= (base, ethereum, optimism, arbitrum, polygon). 422 for EOAs. Price: $0.002 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>",
"chain": "<chain>"
},
"name": "chain_interfaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ethereum | |
| address | Yes | 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D |