get_contract_abi
Retrieve the ABI JSON for a verified Kaia contract by address from KaiaScan, selecting mainnet or Kairos, to decode or interact with its functions.
Instructions
Get the ABI of a verified contract from KaiaScan. Path: GET /api/v1/contracts/:contractAddress/abi. Returns ABI JSON as text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | mainnet or kairos (default: mainnet) | |
| contractAddress | Yes | Contract address (0x...) |