Error in the documentation with TransactionRequest. maxPiorityFeePerGas -> should be TransactionRequest. maxPriorityFeePerGas - missing r #1777
Labels
documentation
Documentation related issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
In the documentation https://docs.ethers.io/v5/api/providers/types/#providers-TransactionRequest
there is an error
transactionRequest.maxPiorityFeePerGas ⇒ BigNumber | Promise< BigNumber >
The price (in wei) per unit of gas this transaction will pay for the EIP-1559 priority fee. This is included in the maxFeePerGass, so this will not affect the total maximum cost set with maxFeePerGas.
Most developers should leave this unspecified and use the default value that ethers determines from the network.
This may not be specified for transactions with type set to 0 or if gasPrice is specified.
This is wrong. There is a r mission in Priority->
maxPiorityFeePerGas
It should be ->
maxPriorityFeePerGas
I couldn't find it in here
Otherwise I would have made a PR
The text was updated successfully, but these errors were encountered: