nimbus-eth2/beacon_chain/spec/eth2_apis/nimbus_callsigs.nim
Jacek Sieka 74732a23fe
json cleanups (#2456)
* move json-rpc specific marshalling to rpc
* serialize Epoch/Slot with cast to avoid Defect
* avoid a few eth1 deps
* simplify imports
2021-03-26 15:11:06 +01:00

18 lines
419 B
Nim

import
callsigs_types
export callsigs_types
proc getBeaconHead(): Slot
proc getChainHead(): JsonNode
proc getSyncing(): bool
proc getNetworkPeerId(): string
proc getNetworkPeers(): seq[string]
proc getNodeVersion(): string
proc peers(): JsonNode
proc setLogLevel(level: string)
proc getEth1Chain(): JsonNode
proc getEth1ProposalData(): JsonNode
proc getChronosFutures(): JsonNode
proc getGossipSubPeers(): JsonNode