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 /internal/web3ext | |
parent | 1064e3283db6e388db4fc353c8bd17b57d57fa42 (diff) | |
download | go-tangerine-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.tar go-tangerine-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.tar.gz go-tangerine-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.tar.bz2 go-tangerine-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.tar.lz go-tangerine-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.tar.xz go-tangerine-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.tar.zst go-tangerine-bd519ab8aec7c82b28fb2a7e7edc428d8a38e781.zip |
internal/web3ext: add eth.getProof (#18052)
Diffstat (limited to 'internal/web3ext')
-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({ |