getContractAbi
Resolves the contract interface JSON (ABI) for Sourcify-verified smart contracts on Base or Ethereum, with Blockscout as a fallback. Matches: verified ABI fetcher, contract JSON interface loader, decode transaction calldata helpers, verified contract methods parser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Target blockchain (ethereum or base) | base |
| address | Yes | Smart contract hex address |