/getMasterchainInfo REST API Endpoint
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 internal tracking and processing
Request
1curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/getMasterchainInfo' \2--header 'accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free