Merge pull request #193 from lightclient/chainid
eth: add eth_chainId method
This commit is contained in:
commit
e8379016ba
|
@ -1,7 +1,7 @@
|
|||
[
|
||||
{
|
||||
"name": "eth_protocolVersion",
|
||||
"summary": "Returns the current ethereum protocol version.",
|
||||
"summary": "Returns the current Ethereum protocol version.",
|
||||
"params": [],
|
||||
"result": {
|
||||
"name": "Protocol version",
|
||||
|
@ -11,6 +11,17 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "eth_chainId",
|
||||
"summary": "Returns the chain ID of the current network.",
|
||||
"params": [],
|
||||
"result": {
|
||||
"name": "Chain ID",
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/uint"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "eth_syncing",
|
||||
"summary": "Returns an object with data about the sync status or false.",
|
||||
|
|
Loading…
Reference in New Issue