{"uid":"cap_bh7545xnVVCWabfSB6qjn","slug":"skills-onesource-io-8e09fc01","name":"skills.onesource.io Contract Introspection","description":"Contract introspection via eth_call - name, symbol, decimals, and ERC20/721/1155 interface support","url":"https://skills.onesource.io/api/chain/contract/:address","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":{"request":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","network":"ethereum"},"response":{"data":{"name":"USD Coin","symbol":"USDC","address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","is_erc20":false,"is_erc165":false,"is_erc721":false,"is_erc1155":false,"code_length":2187,"is_contract":true},"meta":{"endpoint":"/api/chain/contract/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","request_id":"fa572ad55907d0bc"}}},"exampleRequest":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","network":"ethereum"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_C3jCBCSDuxqh4HJX6AWsu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects a smart contract address on-chain via eth_call to return its name, symbol, decimals, and ERC20/721/1155 interface support flags","exampleAgentPrompt":"Can you tell me the name, symbol, and token standard (ERC20, ERC721, or ERC1155) for the smart contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum?","exampleUseCases":[{"title":"Verify token before swap execution","prompt":"Before I swap tokens, can you check what standard the contract at 0xdAC17F958D2ee523a2206206994597C13D831ec7 uses and confirm it's actually a deployed contract? I want to make sure it's a real ERC20 token."},{"title":"Classify NFT collection for portfolio","prompt":"I just found this contract address 0xBC4CA0EdA7647A8aB7C2061c2E2ad3379d2d4321 - can you tell me if it's an ERC721 NFT contract, and what its name and symbol are so I can add it to my collection tracker?"},{"title":"Validate multi-token contract support","prompt":"We're building a game that uses multiple token types on Base network. Can you inspect the contract at 0x50c5725949A6F0c72E6C4a641E33d4855e3A7757 and tell me if it supports ERC1155 and what token it represents?"}],"resultDescription":"Returns the contract's name, symbol, address, boolean flags for ERC20/ERC165/ERC721/ERC1155 interface support, bytecode length, and whether the address is actually a deployed contract. Also includes request metadata like endpoint path and request ID.","failureModes":["Invalid address format (not a 0x + 40 hex chars): 400 validation error","Address is an EOA (externally owned account), not a contract: returns is_contract=false with null name/symbol","Unsupported network value: 400 enum validation error","Contract does not implement standard name/symbol methods: returns null for those fields","RPC node timeout or unavailability: 500 error"],"whenToPreferThis":"Use this endpoint when you need to quickly classify a smart contract's token standard and retrieve its basic metadata (name, symbol, decimals) without sending a transaction. Prefer this over general blockchain explorers when you need programmatic, structured output across multiple networks including Base, Avalanche, and MegaETH testnet. Ideal for agents that need to determine whether an address is an ERC20 fungible token, ERC721 NFT, or ERC1155 multi-token contract before performing further operations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:42:02.556Z","isFirstParty":false}