From 41158a76d46a6cfc8e43d81f2f79fd6765832709 Mon Sep 17 00:00:00 2001 From: Thorsten Krug Date: Fri, 24 Feb 2017 01:08:04 +0400 Subject: [PATCH 01/13] Changing confusing default block parameter constant "2" into boolean (in src only). --- README.md | 4 ++-- src/schema.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 12d0541..3c5e146 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ The entire spec is contained in the [schema.json](src/schema.json) file. ``` methods: { - , + , } ``` @@ -65,7 +65,7 @@ The entire spec is contained in the [schema.json](src/schema.json) file. ``` { methods: { - "eth_getBalance": [["D20", "Q|T"], "Q", 1, 2], + "eth_getBalance": [["D20", "Q|T"], "Q", 1, true], ... }, ... diff --git a/src/schema.json b/src/schema.json index 44f6643..63c218e 100644 --- a/src/schema.json +++ b/src/schema.json @@ -15,9 +15,9 @@ "eth_gasPrice": [[], "Q"], "eth_accounts": [[], ["D20"]], "eth_blockNumber": [[], "Q"], - "eth_getBalance": [["D20", "Q|T"], "Q", 1, 2], - "eth_getStorageAt": [["D20", "Q", "Q|T"], "D", 2, 2], - "eth_getTransactionCount": [["D20", "Q|T"], "Q", 1, 2], + "eth_getBalance": [["D20", "Q|T"], "Q", 1, true], + "eth_getStorageAt": [["D20", "Q", "Q|T"], "D", 2, true], + "eth_getTransactionCount": [["D20", "Q|T"], "Q", 1, true], "eth_getBlockTransactionCountByHash": [["D32"], "Q", 1], "eth_getBlockTransactionCountByNumber": [["Q|T"], "Q", 1], "eth_getUncleCountByBlockHash": [["D32"], "Q", 1], @@ -26,7 +26,7 @@ "eth_sign": [["D20", "D32"], "D", 2], "eth_sendTransaction": [["SendTransaction"], "D", 1], "eth_sendRawTransaction": [["D"], "D32", 1], - "eth_call": [["CallTransaction", "Q|T"], "D", 1, 2], + "eth_call": [["CallTransaction", "Q|T"], "D", 1, true], "eth_estimateGas": [["EstimateTransaction", "Q|T"], "Q", 1], "eth_getBlockByHash": [["D32", "B"], "Block", 2], "eth_getBlockByNumber": [["Q|T", "B"], "Block", 2], From 723cc9fdbad7464f8df5e491061b6d90c138c769 Mon Sep 17 00:00:00 2001 From: Thorsten Krug Date: Fri, 24 Feb 2017 17:49:37 +0400 Subject: [PATCH 02/13] Fix typo in identifyer. --- src/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schema.json b/src/schema.json index 63c218e..8feafb0 100644 --- a/src/schema.json +++ b/src/schema.json @@ -154,7 +154,7 @@ "__required": [], "fromBlock": "Q|T", "toBlock": "Q|T", - "address": "Array|Data", + "address": "Array|DATA", "topics": ["D"] }, "FilterChange": { From e9af98b6a149f62adbdd90a4a186219a6559a39e Mon Sep 17 00:00:00 2001 From: Thorsten Krug Date: Mon, 27 Feb 2017 17:13:20 +0400 Subject: [PATCH 03/13] Adding composer file. --- composer.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..6d1110d --- /dev/null +++ b/composer.json @@ -0,0 +1,15 @@ +{ + "name": "digitaldonkey/ethjs-schema", + "description": "Schema file for Ethereum JSON RPC API. See: https://github.com/ethereum/wiki/wiki/JSON-RPC" + "license": "MIT", + "authors": [ + { + "name": "Nick Dodson", + "email": "nick.dodson@consensys.net" + }, + { + "name": "Thorsten Krug", + "email": "thorsten.krug@consensys.net" + } + ] +} From cfa39da5acc5e79b6fdb1bf1aa44374eef849600 Mon Sep 17 00:00:00 2001 From: Thorsten Krug Date: Mon, 27 Feb 2017 17:17:13 +0400 Subject: [PATCH 04/13] Fix typo. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 6d1110d..fe75f93 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "digitaldonkey/ethjs-schema", - "description": "Schema file for Ethereum JSON RPC API. See: https://github.com/ethereum/wiki/wiki/JSON-RPC" + "description": "Schema file for Ethereum JSON RPC API. See: https://github.com/ethereum/wiki/wiki/JSON-RPC", "license": "MIT", "authors": [ { From 6dac17027c3ad6ac86b2308848e6840c31ed0103 Mon Sep 17 00:00:00 2001 From: Thorsten Krug Date: Mon, 6 Mar 2017 16:46:54 +0400 Subject: [PATCH 05/13] Added missing value. --- src/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schema.json b/src/schema.json index 8feafb0..eda1280 100644 --- a/src/schema.json +++ b/src/schema.json @@ -22,7 +22,7 @@ "eth_getBlockTransactionCountByNumber": [["Q|T"], "Q", 1], "eth_getUncleCountByBlockHash": [["D32"], "Q", 1], "eth_getUncleCountByBlockNumber": [["Q"], "Q", 1], - "eth_getCode": [["D20", "Q|T"], "D", 1, 2], + "eth_getCode": [["D20", "Q|T"], "D", 1, true], "eth_sign": [["D20", "D32"], "D", 2], "eth_sendTransaction": [["SendTransaction"], "D", 1], "eth_sendRawTransaction": [["D"], "D32", 1], From 750703c1834884f4d93b7b554301100a3a3af9f6 Mon Sep 17 00:00:00 2001 From: Sunny G Date: Sun, 4 Jun 2017 15:30:38 -0700 Subject: [PATCH 06/13] adds whitespace for readability --- src/schema.json | 128 ++++++++++++++++++++++++------------------------ 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/src/schema.json b/src/schema.json index eda1280..47c9035 100644 --- a/src/schema.json +++ b/src/schema.json @@ -1,69 +1,69 @@ { "methods": { - "web3_clientVersion": [[], "S"], - "web3_sha3": [["S"], "D", 1], - "net_version": [[], "S"], - "net_peerCount": [[], "Q"], - "net_listening": [[], "B"], - "personal_sign": [["D20", "D", "S"], "D", 2], - "personal_ecRecover": [["D", "D"], "D20", 2], - "eth_protocolVersion": [[], "S"], - "eth_syncing": [[], "Boolean|EthSyncing"], - "eth_coinbase": [[], "D20"], - "eth_mining": [[], "B"], - "eth_hashrate": [[], "Q"], - "eth_gasPrice": [[], "Q"], - "eth_accounts": [[], ["D20"]], - "eth_blockNumber": [[], "Q"], - "eth_getBalance": [["D20", "Q|T"], "Q", 1, true], - "eth_getStorageAt": [["D20", "Q", "Q|T"], "D", 2, true], - "eth_getTransactionCount": [["D20", "Q|T"], "Q", 1, true], - "eth_getBlockTransactionCountByHash": [["D32"], "Q", 1], - "eth_getBlockTransactionCountByNumber": [["Q|T"], "Q", 1], - "eth_getUncleCountByBlockHash": [["D32"], "Q", 1], - "eth_getUncleCountByBlockNumber": [["Q"], "Q", 1], - "eth_getCode": [["D20", "Q|T"], "D", 1, true], - "eth_sign": [["D20", "D32"], "D", 2], - "eth_sendTransaction": [["SendTransaction"], "D", 1], - "eth_sendRawTransaction": [["D"], "D32", 1], - "eth_call": [["CallTransaction", "Q|T"], "D", 1, true], - "eth_estimateGas": [["EstimateTransaction", "Q|T"], "Q", 1], - "eth_getBlockByHash": [["D32", "B"], "Block", 2], - "eth_getBlockByNumber": [["Q|T", "B"], "Block", 2], - "eth_getTransactionByHash": [["D32"], "Transaction", 1], - "eth_getTransactionByBlockHashAndIndex": [["D32", "Q"], "Transaction", 2], - "eth_getTransactionByBlockNumberAndIndex": [["Q|T", "Q"], "Transaction", 2], - "eth_getTransactionReceipt": [["D32"], "Receipt", 1], - "eth_getUncleByBlockHashAndIndex": [["D32", "Q"], "Block", 1], - "eth_getUncleByBlockNumberAndIndex": [["Q|T", "Q"], "Block", 2], - "eth_getCompilers": [[], ["S"]], - "eth_compileLLL": [["S"], "D", 1], - "eth_compileSolidity": [["S"], "D", 1], - "eth_compileSerpent": [["S"], "D", 1], - "eth_newFilter": [["Filter"], "Q", 1], - "eth_newBlockFilter": [[], "Q"], - "eth_newPendingTransactionFilter": [[], "Q"], - "eth_uninstallFilter": [["Q"], "B", 1], - "eth_getFilterChanges": [["Q"], ["FilterChange"], 1], - "eth_getFilterLogs": [["Q"], ["FilterChange"], 1], - "eth_getLogs": [["Filter"], ["FilterChange"], 1], - "eth_getWork": [[], ["D"]], - "eth_submitWork": [["D", "D32", "D32"], "B", 3], - "eth_submitHashrate": [["D", "D"], "B", 2], - "db_putString": [["S", "S", "S"], "B", 2], - "db_getString": [["S", "S"], "S", 2], - "db_putHex": [["S", "S", "D"], "B", 2], - "db_getHex": [["S", "S"], "D", 2], - "shh_post": [["SHHPost"], "B", 1], - "shh_version": [[], "S"], - "shh_newIdentity": [[], "D"], - "shh_hasIdentity": [["D"], "B"], - "shh_newGroup": [[], "D"], - "shh_addToGroup": [["D"], "B", 1], - "shh_newFilter": [["SHHFilter"], "Q", 1], - "shh_uninstallFilter": [["Q"], "B", 1], - "shh_getFilterChanges": [["Q"], ["SHHFilterChange"], 1], - "shh_getMessages": [["Q"], ["SHHFilterChange"], 1] + "web3_clientVersion": [[], "S"], + "web3_sha3": [["S"], "D", 1], + "net_version": [[], "S"], + "net_peerCount": [[], "Q"], + "net_listening": [[], "B"], + "personal_sign": [["D20", "D", "S"], "D", 2], + "personal_ecRecover": [["D", "D"], "D20", 2], + "eth_protocolVersion": [[], "S"], + "eth_syncing": [[], "Boolean|EthSyncing"], + "eth_coinbase": [[], "D20"], + "eth_mining": [[], "B"], + "eth_hashrate": [[], "Q"], + "eth_gasPrice": [[], "Q"], + "eth_accounts": [[], ["D20"]], + "eth_blockNumber": [[], "Q"], + "eth_getBalance": [["D20", "Q|T"], "Q", 1, true], + "eth_getStorageAt": [["D20", "Q", "Q|T"], "D", 2, true], + "eth_getTransactionCount": [["D20", "Q|T"], "Q", 1, true], + "eth_getBlockTransactionCountByHash": [["D32"], "Q", 1], + "eth_getBlockTransactionCountByNumber": [["Q|T"], "Q", 1], + "eth_getUncleCountByBlockHash": [["D32"], "Q", 1], + "eth_getUncleCountByBlockNumber": [["Q"], "Q", 1], + "eth_getCode": [["D20", "Q|T"], "D", 1, true], + "eth_sign": [["D20", "D32"], "D", 2], + "eth_sendTransaction": [["SendTransaction"], "D", 1], + "eth_sendRawTransaction": [["D"], "D32", 1], + "eth_call": [["CallTransaction", "Q|T"], "D", 1, true], + "eth_estimateGas": [["EstimateTransaction", "Q|T"], "Q", 1], + "eth_getBlockByHash": [["D32", "B"], "Block", 2], + "eth_getBlockByNumber": [["Q|T", "B"], "Block", 2], + "eth_getTransactionByHash": [["D32"], "Transaction", 1], + "eth_getTransactionByBlockHashAndIndex": [["D32", "Q"], "Transaction", 2], + "eth_getTransactionByBlockNumberAndIndex": [["Q|T", "Q"], "Transaction", 2], + "eth_getTransactionReceipt": [["D32"], "Receipt", 1], + "eth_getUncleByBlockHashAndIndex": [["D32", "Q"], "Block", 1], + "eth_getUncleByBlockNumberAndIndex": [["Q|T", "Q"], "Block", 2], + "eth_getCompilers": [[], ["S"]], + "eth_compileLLL": [["S"], "D", 1], + "eth_compileSolidity": [["S"], "D", 1], + "eth_compileSerpent": [["S"], "D", 1], + "eth_newFilter": [["Filter"], "Q", 1], + "eth_newBlockFilter": [[], "Q"], + "eth_newPendingTransactionFilter": [[], "Q"], + "eth_uninstallFilter": [["Q"], "B", 1], + "eth_getFilterChanges": [["Q"], ["FilterChange"], 1], + "eth_getFilterLogs": [["Q"], ["FilterChange"], 1], + "eth_getLogs": [["Filter"], ["FilterChange"], 1], + "eth_getWork": [[], ["D"]], + "eth_submitWork": [["D", "D32", "D32"], "B", 3], + "eth_submitHashrate": [["D", "D"], "B", 2], + "db_putString": [["S", "S", "S"], "B", 2], + "db_getString": [["S", "S"], "S", 2], + "db_putHex": [["S", "S", "D"], "B", 2], + "db_getHex": [["S", "S"], "D", 2], + "shh_post": [["SHHPost"], "B", 1], + "shh_version": [[], "S"], + "shh_newIdentity": [[], "D"], + "shh_hasIdentity": [["D"], "B"], + "shh_newGroup": [[], "D"], + "shh_addToGroup": [["D"], "B", 1], + "shh_newFilter": [["SHHFilter"], "Q", 1], + "shh_uninstallFilter": [["Q"], "B", 1], + "shh_getFilterChanges": [["Q"], ["SHHFilterChange"], 1], + "shh_getMessages": [["Q"], ["SHHFilterChange"], 1] }, "tags": ["latest", "earliest", "pending"], "objects": { From 9c905607bce246d9bba1f4a2521b068aa54b5edc Mon Sep 17 00:00:00 2001 From: Sunny G Date: Sun, 4 Jun 2017 15:49:56 -0700 Subject: [PATCH 07/13] add specificity for binary types --- src/schema.json | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/schema.json b/src/schema.json index 47c9035..1cf1f3a 100644 --- a/src/schema.json +++ b/src/schema.json @@ -56,10 +56,10 @@ "db_getHex": [["S", "S"], "D", 2], "shh_post": [["SHHPost"], "B", 1], "shh_version": [[], "S"], - "shh_newIdentity": [[], "D"], - "shh_hasIdentity": [["D"], "B"], - "shh_newGroup": [[], "D"], - "shh_addToGroup": [["D"], "B", 1], + "shh_newIdentity": [[], "D60"], + "shh_hasIdentity": [["D60"], "B"], + "shh_newGroup": [[], "D60"], + "shh_addToGroup": [["D60"], "B", 1], "shh_newFilter": [["SHHFilter"], "Q", 1], "shh_uninstallFilter": [["Q"], "B", 1], "shh_getFilterChanges": [["Q"], ["SHHFilterChange"], 1], @@ -108,13 +108,13 @@ "number": "Q", "hash": "D32", "parentHash": "D32", - "nonce": "D", - "sha3Uncles": "D", - "logsBloom": "D", - "transactionsRoot": "D", - "stateRoot": "D", - "receiptsRoot": "D", - "miner": "D", + "nonce": "D8", + "sha3Uncles": "D32", + "logsBloom": "D256", + "transactionsRoot": "D32", + "stateRoot": "D32", + "receiptsRoot": "D32", + "miner": "D32", "difficulty": "Q", "totalDifficulty": "Q", "extraData": "D", @@ -122,7 +122,7 @@ "gasLimit": "Q", "gasUsed": "Q", "timestamp": "Q", - "transactions": ["DATA|Transaction"], + "transactions": ["D32|Transaction"], "uncles": ["D"] }, "Transaction": { @@ -155,7 +155,7 @@ "fromBlock": "Q|T", "toBlock": "Q|T", "address": "Array|DATA", - "topics": ["D"] + "topics": ["D32"] }, "FilterChange": { "__required": [], @@ -171,8 +171,8 @@ }, "SHHPost": { "__required": ["topics", "payload", "priority", "ttl"], - "from": "D", - "to": "D", + "from": "D60", + "to": "D60", "topics": ["D"], "payload": "D", "priority": "Q", @@ -180,14 +180,14 @@ }, "SHHFilter": { "__required": ["topics"], - "to": "D", + "to": "D60", "topics": ["D"] }, "SHHFilterChange": { "__required": [], "hash": "D", - "from": "D", - "to": "D", + "from": "D60", + "to": "D60", "expiry": "Q", "ttl": "Q", "sent": "Q", From 16f38bf5c9b8c59e9410adb4e2144c6bf3284526 Mon Sep 17 00:00:00 2001 From: Sunny G Date: Wed, 7 Jun 2017 22:19:13 -0700 Subject: [PATCH 08/13] minor updates --- src/schema.json | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/schema.json b/src/schema.json index 1cf1f3a..6a02752 100644 --- a/src/schema.json +++ b/src/schema.json @@ -1,4 +1,7 @@ { + "primitives": ["D", "D8", "D20", "D32", "D60", "D256", "B", "S", "Q", "T"], + "combinations": ["Array|D", "B|EthSyncing", "D32|Transaction", "Q|T"], + "tags": ["latest", "earliest", "pending"], "methods": { "web3_clientVersion": [[], "S"], "web3_sha3": [["S"], "D", 1], @@ -8,7 +11,7 @@ "personal_sign": [["D20", "D", "S"], "D", 2], "personal_ecRecover": [["D", "D"], "D20", 2], "eth_protocolVersion": [[], "S"], - "eth_syncing": [[], "Boolean|EthSyncing"], + "eth_syncing": [[], "B|EthSyncing"], "eth_coinbase": [[], "D20"], "eth_mining": [[], "B"], "eth_hashrate": [[], "Q"], @@ -65,7 +68,6 @@ "shh_getFilterChanges": [["Q"], ["SHHFilterChange"], 1], "shh_getMessages": [["Q"], ["SHHFilterChange"], 1] }, - "tags": ["latest", "earliest", "pending"], "objects": { "EthSyncing": { "__required": [], @@ -154,8 +156,8 @@ "__required": [], "fromBlock": "Q|T", "toBlock": "Q|T", - "address": "Array|DATA", - "topics": ["D32"] + "address": "Array|D", + "topics": ["D"] }, "FilterChange": { "__required": [], @@ -166,8 +168,8 @@ "blockHash": "D32", "blockNumber": "Q", "address": "D20", - "data": "Array|DATA", - "topics": ["D"] + "data": "Array|D", + "topics": ["D32"] }, "SHHPost": { "__required": ["topics", "payload", "priority", "ttl"], @@ -181,7 +183,7 @@ "SHHFilter": { "__required": ["topics"], "to": "D60", - "topics": ["D"] + "topics": ["Array|D"] }, "SHHFilterChange": { "__required": [], From d42d11cfda85b842095c969e4fce1247543d3b8e Mon Sep 17 00:00:00 2001 From: Sunny G Date: Fri, 9 Jun 2017 10:50:32 -0700 Subject: [PATCH 09/13] refactor primitive and combination types --- src/schema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schema.json b/src/schema.json index 6a02752..b797f18 100644 --- a/src/schema.json +++ b/src/schema.json @@ -1,6 +1,6 @@ { - "primitives": ["D", "D8", "D20", "D32", "D60", "D256", "B", "S", "Q", "T"], - "combinations": ["Array|D", "B|EthSyncing", "D32|Transaction", "Q|T"], + "primitives": ["D", "D8", "D20", "D32", "D60", "D256", "B", "S", "Q", "T", "Array|D"], + "combinations": ["B|EthSyncing", "D32|Transaction", "Q|T"], "tags": ["latest", "earliest", "pending"], "methods": { "web3_clientVersion": [[], "S"], From 2371e595d95640d1c78f12e0fa2a85421df70086 Mon Sep 17 00:00:00 2001 From: Sunny G Date: Fri, 9 Jun 2017 19:54:27 -0700 Subject: [PATCH 10/13] add required input param length to shh_hasIdentity --- src/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schema.json b/src/schema.json index b797f18..245165c 100644 --- a/src/schema.json +++ b/src/schema.json @@ -60,7 +60,7 @@ "shh_post": [["SHHPost"], "B", 1], "shh_version": [[], "S"], "shh_newIdentity": [[], "D60"], - "shh_hasIdentity": [["D60"], "B"], + "shh_hasIdentity": [["D60"], "B", 1], "shh_newGroup": [[], "D60"], "shh_addToGroup": [["D60"], "B", 1], "shh_newFilter": [["SHHFilter"], "Q", 1], From 897d284b4cbbbba94b4603a8f1fab38f3aa71e29 Mon Sep 17 00:00:00 2001 From: Sunny G Date: Sat, 10 Jun 2017 15:38:48 -0700 Subject: [PATCH 11/13] updates README --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3c5e146..8b064ba 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ The entire spec is contained in the [schema.json](src/schema.json) file. ``` methods: { - , + , } ``` @@ -75,13 +75,22 @@ The entire spec is contained in the [schema.json](src/schema.json) file. ### Primitives: - "D" : bytes data + - "D8" : bytes data, length 8 - "D20" : bytes data, length 20 - "D32" : bytes data, length 32 + - "D60" : bytes data, length 60 + - "D256" : bytes data, length 256 - "B" : boolean true or false - "S" : string data - - "Array|DATA" : either an array of DATA or a single bytes DATA - "Q" : a number quantity - - "Q|T" : a number quantity or a tag (e.g. 'latest', 'earliest' ...) + - "T" : a block tag (e.g. 'latest', 'earliest' ...) + - "Array|DATA" : either an array of DATA or a single bytes DATA + +### Combinations: + + - "B|EthSyncing" : boolean or EthSyncing object + - "D32|Transaction" : 32-byte transaction hash or Transaction object + - "Q|T" : number quantity or block tag Note, post version 0.1.1 value primitives have been compressed. From 64402a3e45e0913f034c1a5e5db54f75409ba558 Mon Sep 17 00:00:00 2001 From: Sunny G Date: Sat, 10 Jun 2017 15:44:59 -0700 Subject: [PATCH 12/13] fix courtesy of flyswatter: https://github.com/ethjs/ethjs-schema/pull/3 --- src/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schema.json b/src/schema.json index 245165c..320ee3a 100644 --- a/src/schema.json +++ b/src/schema.json @@ -8,7 +8,7 @@ "net_version": [[], "S"], "net_peerCount": [[], "Q"], "net_listening": [[], "B"], - "personal_sign": [["D20", "D", "S"], "D", 2], + "personal_sign": [["D", "D20", "S"], "D", 2], "personal_ecRecover": [["D", "D"], "D20", 2], "eth_protocolVersion": [[], "S"], "eth_syncing": [[], "B|EthSyncing"], From 1639620fd219203dd759d9734a0a88ff83282e96 Mon Sep 17 00:00:00 2001 From: Sunny G Date: Thu, 29 Jun 2017 19:16:05 -0500 Subject: [PATCH 13/13] adds ecrecover --- src/schema.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/schema.json b/src/schema.json index 320ee3a..b42e1c4 100644 --- a/src/schema.json +++ b/src/schema.json @@ -5,6 +5,7 @@ "methods": { "web3_clientVersion": [[], "S"], "web3_sha3": [["S"], "D", 1], + "ecrecover": [["D32", "Q", "D32", "D32"], "D20", 4], "net_version": [[], "S"], "net_peerCount": [[], "Q"], "net_listening": [[], "B"],