nimbus-eth2/beacon_chain/spec/eth2_apis/rpc_node_calls.nim

12 lines
314 B
Nim

import
options,
rpc_types
proc get_v1_node_identity(): RpcNodeIdentity
proc get_v1_node_version(): JsonNode
proc get_v1_node_syncing(): RpcSyncInfo
proc get_v1_node_health(): JsonNode
proc get_v1_node_peers(state: Option[seq[string]],
direction: Option[seq[string]]): seq[RpcNodePeer]