There is a built-in default max transaction fee of 1 ETH with my GETH node + web3.js library. Where can I change that? I cannot find the option anywhere...

1 Answer 1


If you're connecting over RPC, you're limited to 1 ETH by default unless you include this flag when you start geth:

--rpc.txfeecap value where value is the amount in ether.

[Reference: https://geth.ethereum.org/docs/interface/command-line-options]

  • Thanks. I'm assuming the transaction fee is calculated with the gas limit and not the actual gas ?
    – ceds
    Jan 27, 2021 at 14:56
  • That's correct : your local node can only estimate the cost of the transaction based on the state of the chain it sees. The actual gas could end up being different if the state changes before your transaction gets mined.
    – SimonR
    Jan 27, 2021 at 15:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.