Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected api

Methods

getChainId

  • getChainId(): Observable<string>
  • Get the chain ID.

    Returns Observable<string>

    the chain ID identifying blockchain network

getChainProperties

getConfig

  • getConfig(): Observable<object>
  • Retrieve compile-time constants.

    Returns Observable<object>

    configured constants

getDynamicGlobalProperties

  • Retrieve the dynamic properties. The returned object contains information that changes every block interval, such as the head block number, the next miner, etc.

    Returns Observable<DynamicGlobalProperties>

    dynamic property object

getGlobalProperties

  • Retrieve global properties. This object contains all of the properties of the blockchain that are fixed or that change only once per maintenance interval such as the current list of miners, block interval, etc.

    Returns Observable<GlobalProperties>

    global property object

getTimeToMaintenance

  • Get remaining time to next maintenance interval from given time.

    Parameters

    • time: Moment

      reference time

    Returns Observable<MinerRewardInput>

    remaining time to next maintenance interval along with some additional data

Protected request

Generated using TypeDoc