getRequiredBlockState endpoint add on rpc

This commit is contained in:
jstr1121 2023-10-12 00:22:06 +08:00
parent 4dcc02fcc2
commit d0c40ed94b

View file

@ -594,6 +594,12 @@ web3._extend({
params: 3,
inputFormatter: [web3._extend.formatters.inputAddressFormatter, null, web3._extend.formatters.inputBlockNumberFormatter]
}),
new web3._extend.Method({
name: 'getRequiredBlockState',
call: 'eth_getRequiredBlockState',
params: 1,
inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter]
}),
new web3._extend.Method({
name: 'createAccessList',
call: 'eth_createAccessList',