diff options
author | Ryan Schneider <ryanleeschneider@gmail.com> | 2018-11-08 20:18:38 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-11-08 20:18:38 +0800 |
commit | bd519ab8aec7c82b28fb2a7e7edc428d8a38e781 (patch) | |
tree | 50bfcfa5f9e6a3c98cf554ef6702fe923114b3b8 | |
parent | 1064e3283db6e388db4fc353c8bd17b57d57fa42 (diff) | |
download | dexon-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.tar dexon-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.tar.gz dexon-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.tar.bz2 dexon-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.tar.lz dexon-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.tar.xz dexon-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.tar.zst dexon-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.zip |
internal/web3ext: add eth.getProof (#18052)
-rw-r--r-- | internal/web3ext/web3ext.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go index addf3c766..a5f319653 100644 --- a/internal/web3ext/web3ext.go +++ b/internal/web3ext/web3ext.go @@ -481,6 +481,12 @@ web3._extend({ params: 2, inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter, web3._extend.utils.toHex] }), + new web3._extend.Method({ + name: 'getProof', + call: 'eth_getProof', + params: 3, + inputFormatter: [web3._extend.formatters.inputAddressFormatter, null, web3._extend.formatters.inputBlockNumberFormatter] + }), ], properties: [ new web3._extend.Property({ |