mirror of
https://github.com/logos-storage/nim-json-rpc.git
synced 2026-01-11 18:13:05 +00:00
Updated sha3 sig & fix relative import issue (requires nimble install)
This commit is contained in:
parent
981526a966
commit
7ef68e8152
@ -1,8 +1,10 @@
|
||||
## This module contains signatures for the Ethereum client RPCs.
|
||||
import json, stint, ../ ethtypes
|
||||
## The signatures are not imported directly, but read and processed with parseStmt,
|
||||
## then a procedure body is generated to marshal native Nim parameters to json and visa versa.
|
||||
import json, stint, eth-rpc / ethtypes
|
||||
|
||||
proc web3_clientVersion(): string
|
||||
proc web3_sha3(): string
|
||||
proc web3_sha3(data: string): string
|
||||
proc net_version(): string
|
||||
proc net_peerCount(): int
|
||||
proc net_listening(): bool
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user