Skip to content

getGenesisHashWithConnect

getGenesisHashWithConnect(networkAddress): Promise<string>

Connects to chain and returns the genesis hash in hexadecimal format for a given networkAddress.

Parameters

networkAddress: string

Network Address for which the genesis hash is required.

Returns

Promise<string>

Returns the genesis hash in Hexadecimal format.

Source

config/src/Config.ts:161