Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Block

Index

Functions

Functions

process

  • process<Height>(options: { block: { hash?: string; height: Height }; settings?: { skipComplete?: boolean } }): Process<Block | undefined, { web3: "eth_getBlockByNumber" }>
  • Issue web3 requests to retrieve block hashes for a given list of heights.

    Type parameters

    • Height: number | "latest"

    Parameters

    • options: { block: { hash?: string; height: Height }; settings?: { skipComplete?: boolean } }
      • block: { hash?: string; height: Height }
        • Optional hash?: string
        • height: Height
      • Optional settings?: { skipComplete?: boolean }
        • Optional skipComplete?: boolean

    Returns Process<Block | undefined, { web3: "eth_getBlockByNumber" }>

Generated using TypeDoc