Chain

Block and chain metadata.

17 methods · verified against the live mainnet RPC at https://rpc.sumchain.io.

chain_id

Returns the chain identifier.

Request
{"jsonrpc":"2.0","method":"chain_id","params":[],"id":1}
Response (live)
{"jsonrpc":"2.0","result":1,"id":1}
chain_getSupplyInfo

Canonical-supply report (800B supply correction): initial/current canonical supply, live accounted account balances, burned (Address::ZERO), protocol reserve remaining, migration id/status, governance-mint total, automatic_emissions_enabled (always false).

chain_getProtocolReserve

ProtocolReserve pool balances (validator / archive / compute / ecosystem / governance reserve). null before the supply correction has applied.

chain_getServiceGrant

Service-grant ledger record for (address, service_kind); null when no grant exists.

chain_getServiceGrantEligibility

Verifiable service-milestone counters, claiming-gate state, and genesis-validator exclusion for an address. Configuration/status read, not live participation data.

chain_buildClaimServiceGrant

Build an unsigned claim-service-grant transaction (no keys). The service_grants gate is deployed in runtime genesis and activates at height 9,200,000 (not exposed by chain_getChainParams; the site uses that operator-verified height).

chain_buildUnlockServiceGrant

Build an unsigned unlock-service-grant transaction (locked grant unlocks 1:1 against protocol-earned Koppa).

get_latest_block

Returns the most recent block.

Request
{"jsonrpc":"2.0","method":"get_latest_block","params":[],"id":1}
Response (live)
{
  "jsonrpc": "2.0",
  "result": {
    "hash": "0x69226247daff051c87d610b0a5df1f793cd9b7cfa2d4bd70cb26166d541a0c64",
    "height": 4807038,
    "parent_hash": "0xec94cb97f6f97b4e78ad2054718fde0d0a30bea6a78ac1b69cb34c191df6c422",
    "timestamp": 1777137175565,
    "tx_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "state_root": "0xb9e67e5c251da9131a183a1658c5925690c6752a29c4a1c9e22c91b91e2f34b9",
    "proposer": "e64e11c6f9f9937a1bc6a4535701f036388451e6cc83ad9f25b143973d90a4cd",
    "tx_count": 0,
    "transactions": []
  },
  "id": 1
}
get_block_by_height

Returns the block at a given height.

Request
{"jsonrpc":"2.0","method":"get_block_by_height","params":[4807000],"id":1}
get_block_by_hash

Returns the block matching a hex hash.

get_blocks

Paginated block listing.

get_finality

Returns finalized height + the depth-based finality config (default 6 blocks).

Request
{"jsonrpc":"2.0","method":"get_finality","params":[],"id":1}
Response (live)
{
  "jsonrpc": "2.0",
  "result": {
    "finalized_height": 4807033,
    "finalized_hash": "0x606ec3b283fe3eed4cdd4ca1cc5c5c5a262dbbb4ee10ebe4dba12dc22aec955a",
    "current_height": 4807039,
    "finality_depth": 6,
    "pending_finality": 6
  },
  "id": 1
}
is_block_finalized

Reports whether a given height is finalized.

eth_blockNumber

Latest block number in hex (Ethereum-compatible).

Request
{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}
Response (live)
{"jsonrpc":"2.0","result":"0x49597f","id":1}
sum_blockNumber

Same as eth_blockNumber, sum_-prefixed alias.

sum_getLatestBlock

Alias of get_latest_block.

sum_getBlockByHeight

Alias of get_block_by_height.