• Fetch the genesis hash of the ledger.

    Parameters

    Returns Promise<string>

    Base-58 encoded genesis hash string

    const hash = await getGenesisHash(transport);
    console.log(`Genesis hash: ${hash}`);

    1.0.0