rohan_get_ledger_state
Reads the current anchored Rohan Protocol smart contract state on Midnight Preprod L1, returning state root, block height, and last mined transaction hash from the in-memory cache.
Instructions
Reads the current anchored state of the Rohan Protocol smart contract on Midnight Preprod L1. Returns the state root, block height, and last mined transaction hash from memory cache.
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": "rohan_get_ledger_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||