Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Blockchain

Hierarchy

  • Blockchain

Index

Constructors

constructor

Methods

getBlockNumberStream

getBlockNumbers

getBlockStream

getBlocks

getCurrentBlock

getCurrentBlockHeader

getCurrentBlockNum

  • getCurrentBlockNum(mode?: BlockchainMode.Irreversible | BlockchainMode.Latest): Promise<number>
  • Get latest block number.

    Parameters

    • Default value mode: BlockchainMode.Irreversible | BlockchainMode.Latest = BlockchainMode.Irreversible

    Returns Promise<number>

getOperations

getOperationsStream

Generated using TypeDoc