Skip to content

Commit

Permalink
require gasPrice field for both legacy and EIP-1559 transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient committed Jul 9, 2021
1 parent 29a892e commit 4f80078
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions json-rpc/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -1716,6 +1716,11 @@
"maxPriorityFeePerGas"
],
"properties": {
"gasPrice": {
"title": "transactionGasPrice",
"type": "string",
"description": "The effective gas price paid by the sender in Wei. For transactions not yet mined, this value should be set equal to the max fee cap per gas. This field is DEPRECATED, please transition to using effectiveGasPrice in the Receipt object going forward."
},
"maxPriorityFeePerGas": {
"title": "transactionMaxPriorityFeePerGas",
"description": "Maximum fee per gas the sender is willing to pay to miners in wei",
Expand Down

0 comments on commit 4f80078

Please sign in to comment.