Function getBlockHash

  • Asynchronously fetches the block hash at a given block height.

    Parameters

    • height: number

      The height of the block to get the hash of.

    • OptionalbaseUrl: string = _baseUrl

      Optional baseUrl for the fetch.

    Returns Promise<string>

    • A promise that resolves with the hash of the block or null if not found.