Skip to content

Commit e5fedae

Browse files
committed
require gasPrice field for both legacy and EIP-1559 transactions
1 parent 29a892e commit e5fedae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

json-rpc/spec.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,6 +1716,11 @@
17161716
"maxPriorityFeePerGas"
17171717
],
17181718
"properties": {
1719+
"gasPrice": {
1720+
"title": "transactionGasPrice",
1721+
"type": "string",
1722+
"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 max. This field is DEPRECATED, please transition to using effectiveGasPrice in the Receipt object going forward."
1723+
},
17191724
"maxPriorityFeePerGas": {
17201725
"title": "transactionMaxPriorityFeePerGas",
17211726
"description": "Maximum fee per gas the sender is willing to pay to miners in wei",

0 commit comments

Comments
 (0)