Skip to content

Commit

Permalink
Add schema.__optional which lists optional method parameters ethjs#7
Browse files Browse the repository at this point in the history
instead of listing required, as 99% of all parameters are required
  • Loading branch information
SjonHortensius committed Jul 31, 2017
1 parent 818ed3f commit 32e932c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/schema.json
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down

0 comments on commit 32e932c

Please sign in to comment.