internal/web3ext: add eth.getProof (#18052)

This commit is contained in:
Ryan Schneider 2018-11-08 04:18:38 -08:00 committed by Felix Lange
parent 1064e3283d
commit bd519ab8ae

View File

@ -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({