Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Prev Previous commit
Next Next commit
Add inputFormatters to getFeeHistory
  • Loading branch information
spacesailor24 committed Jul 23, 2021
commit 45d1c13b867aefb7a45c1049b9eaf95b4d511f2d
1 change: 1 addition & 0 deletions packages/web3-eth/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ var Eth = function Eth() {
name: 'getFeeHistory',
call: 'eth_feeHistory',
params: 3,
inputFormatter: [utils.toNumber, utils.toHex, function(value) {return value}]
}),
new Method({
name: 'getAccounts',
Expand Down