Abstraction around the SysvarS1otHashes111111111111111111111111111 sysvar This sysvar is used to store the recent slot hashes

Constructors

Methods

  • Fetches the latest slot hash from the sysvar.

    Parameters

    • connection: Connection

      The connection to use.

    Returns Promise<[BN, string]>

    A promise that resolves to the latest slot number and hash.

Generated using TypeDoc