Get GenLayer Contract Interface
genlayer_get_contract_interfaceRetrieve the interface of a GenLayer contract, including constructor, view, and write methods, by providing the deployed address or base64-encoded code.
Instructions
Normalize a contract schema into constructor, view methods, and write methods.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "genlayer_get_contract_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Base64-encoded contract code to inspect directly. | |
| address | No | Deployed contract address to inspect. |