Skip to main content

Function: getContextGenesis()

function getContextGenesis(): GenesisInfo;

Function to get the context of a genesis state of given shard which is located at the well known location context/genesis.json. See TxContext for the layout of this file.

Returns

GenesisInfo

The context of the transaction in JSON format.


Coinweb © 2024