Get GenLayer Contract State
genlayer_get_contract_stateRetrieve the live state blob of a GenLayer contract by providing its address. Optionally filter by status or block number to inspect specific snapshots.
Instructions
Fetch the live state blob for a deployed GenLayer contract from the configured RPC endpoint.
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": {
"address": "<address>"
},
"name": "genlayer_get_contract_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Optional state snapshot filter. | |
| address | Yes | Contract address to inspect. | |
| blockNumber | No | Optional hex-encoded block number. |