Skip to main content

/api/v2/getMasterchainInfo RPC Method

Get up-to-date masterchain state.

Updated on
Jun 02, 2026

Parameters

This method does not accept any parameters

Returns

ok
boolean

Indicates that the request was successful

result
object

The result object which contains the following fields:

@type
string

Specifies the result type

last
object

The last object which contains the following fields:

@type
string

The extended block ID object for the latest block

workchain
integer

Indicates the masterchain

shard
string

The shard identifier within the masterchain

seqno
integer

The sequence number of the latest block

root_hash
string

The root hash of the latest block’s state

file_hash
string

The file hash for the latest block

state_root_hash
string

The root hash of the entire masterchain's current state

init
object

The init object which contains the following fields:

@type
string

The extended block ID object for the genesis block

workchain
integer

Indicates the masterchain

shard
string

The shard identifier

seqno
integer

The sequence number

root_hash
string

The root hash of the genesis blocks state

file_hash
string

The file hash of the genesis block

@extra
string

Additional metadata for the response

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free