fetch_contract_abi
Fetches the ABI entry array for a verified TRON contract address, giving AI agents the interface needed to interact with smart contract functions.
Instructions
Fetch contract ABI from the chain (for verified contracts). Returns the ABI entry array.
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": {
"contractAddress": "<contractAddress>"
},
"name": "fetch_contract_abi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network name. Defaults to mainnet. | |
| contractAddress | Yes | The contract address |