From 8558bd21cd57997b504bf5f4b59a2bdc0029f058 Mon Sep 17 00:00:00 2001 From: Sjon Hortensius Date: Mon, 31 Jul 2017 14:42:40 +0200 Subject: [PATCH] Add schema.__optional which lists optional method parameters #7 instead of listing required, as 99% of all parameters are required --- src/schema.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/schema.json b/src/schema.json index 26fa85e..e8c144d 100644 --- a/src/schema.json +++ b/src/schema.json @@ -1,5 +1,12 @@ { "methods": { + "__optional": { + "eth_call":[1], + "eth_estimateGas":[1], + "eth_getBalance":[1], + "eth_getStorageAt":[2], + "eth_getTransactionCount":[1] + }, "web3_clientVersion": [[], "S"], "web3_sha3": [["S"], "D", 1], "net_version": [[], "S"],