Get GenLayer Contract Snapshot
genlayer_get_contract_snapshotRetrieve a contract's complete snapshot including state, code, and schema in one call.
Instructions
Fetch contract state, deployed code, and derived schema in one call.
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_snapshot"
}
}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. |