mirror of https://github.com/status-im/op-geth.git
internal/web3ext: add eth.getProof (#18052)
This commit is contained in:
parent
1064e3283d
commit
bd519ab8ae
|
@ -481,6 +481,12 @@ web3._extend({
|
||||||
params: 2,
|
params: 2,
|
||||||
inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter, web3._extend.utils.toHex]
|
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: [
|
properties: [
|
||||||
new web3._extend.Property({
|
new web3._extend.Property({
|
||||||
|
|
Loading…
Reference in New Issue