aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web3ext
diff options
context:
space:
mode:
authorRyan Schneider <ryanleeschneider@gmail.com>2018-11-08 20:18:38 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-11-08 20:18:38 +0800
commitbd519ab8aec7c82b28fb2a7e7edc428d8a38e781 (patch)
tree50bfcfa5f9e6a3c98cf554ef6702fe923114b3b8 /internal/web3ext
parent1064e3283db6e388db4fc353c8bd17b57d57fa42 (diff)
downloadgo-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.go6
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({