From 4f80078338745243bfb7469c82038cbcb216c9a8 Mon Sep 17 00:00:00 2001 From: "lightclient@protonmail.com" Date: Fri, 9 Jul 2021 16:42:21 +0200 Subject: [PATCH] require gasPrice field for both legacy and EIP-1559 transactions --- json-rpc/spec.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/json-rpc/spec.json b/json-rpc/spec.json index 63726a6037..3eb6ede0e1 100644 --- a/json-rpc/spec.json +++ b/json-rpc/spec.json @@ -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",