Class default

A class for checking the blockchain node status.

Constructors

Properties

protoVer: string

The protocol version.

provider: default

The network provider.

Methods

  • Checks the protocol version compatibility with the blockchain node.

    Returns Promise<any>

  • Fetches the ID of the chain the blokchain node is validating.

    Returns Promise<string>

  • Fetches the consensus status of the network.

    Returns Promise<any>

  • Fetches the event handler network information.

    Returns Promise<any>

  • Fetches the ID of the network the blokchain node is connected to.

    Returns Promise<string>

  • Fetches the peer candidate information of the blockchain node.

    Returns Promise<any>

  • Fetches the number of the peers the blockchain node is connected to.

    Returns Promise<number>

  • Fetches the protocol version of the blockchain node.

    Returns Promise<any>

  • Fetches the consensus status raw data of the network.

    Returns Promise<any>

  • Checks whether the blockchain node is listening for network connections.

    Returns Promise<boolean>

  • Checks whether the blockchain node is syncing with the network or not.

    Returns Promise<boolean>