Network Status

Network status is important for several reasons and should return real-time information about the network.

Plugin Input

Please see heat-server-common/src/constants.ts for type definitions

interface { 
  /**
   * Enum of blockchain identifiers
   */ 
  blockchain?: Blockchains
}

Plugin Output

interface {
  /**
   * The height of the last block
   */
  lastBlockHeight: number;

  /**
   * The last block timestamp in UTC format
   */
  lastBlockTime: Date;

  /**
   * The unique block id (hex encoded)
   */
  lastBlockId: string;
}

Last modified April 8, 2021: Link updates in dev section (f51979c)