NearApi.RPC.Network (near_api v0.1.7)

NEAR RPC - Network API

Link to this section Summary

Functions

Returns general status of a given node (sync status, nearcore node version, protocol version, etc), and the current set of validators.

Returns general status of a given node (sync status, nearcore node version, protocol version, etc), and the current set of validators.

Queries active validators on the network returning details and the state of validation on the blockchain.

Link to this section Functions

Specs

network_info() :: {:ok, body :: map()} | NearApi.RPC.Errors.t()

Returns general status of a given node (sync status, nearcore node version, protocol version, etc), and the current set of validators.

Specs

status() :: {:ok, body :: map()} | NearApi.RPC.Errors.t()

Returns general status of a given node (sync status, nearcore node version, protocol version, etc), and the current set of validators.

Link to this function

validators(block_id \\ nil)

Specs

validators(block_id :: any()) :: {:ok, body :: map()} | NearApi.RPC.Errors.t()

Queries active validators on the network returning details and the state of validation on the blockchain.