feat: add blockchain state and balance endpoints with multi-chain support

- Add GET /state endpoint to blockchain RPC router for chain state information
- Add GET /rpc/getBalance/{address} endpoint for account balance queries
- Add GET /rpc/head endpoint to retrieve current chain head block
- Add GET /rpc/transactions endpoint for latest transaction listing
- Add chain-specific wallet balance endpoint to wallet daemon
- Add blockchain state CLI command with --all-chains flag for multi-chain queries
This commit is contained in:
oib
2026-03-07 20:00:21 +01:00
parent d92d7a087f
commit 36be9c814e
10 changed files with 469 additions and 110 deletions

View File

@@ -6,6 +6,7 @@ import json
import asyncio
from typing import Optional, List, Dict, Any
from ..utils import output, error, success
import os
@click.group()