Skip to content

Commit 7528122

Browse files
committed
fix: add net_version
fixes #540
1 parent f910189 commit 7528122

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/eth/client.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,16 @@
7070
result:
7171
name: Block number
7272
value: '0x2377'
73+
- name: net_version
74+
summary: Returns the current network ID.
75+
params: []
76+
result:
77+
name: Network ID
78+
schema:
79+
type: string
80+
examples:
81+
- name: net_version example
82+
params: []
83+
result:
84+
name: Network ID
85+
value: '1'

0 commit comments

Comments
 (0)