getGenesisHash
getGenesisHash(
network):Promise<string>
Returns the genesis hash in hexadecimal format for a given network object which is a ApiPromise.
Parameters
Section titled “Parameters”• network: ApiPromise
network object of type ApiPromise for which the genesis hash is required.
Returns
Section titled “Returns”Promise<string>
Returns the genesis hash in Hexadecimal format.