From 297e6b7c2c409e1dc7566304d1f10720f299c640 Mon Sep 17 00:00:00 2001 From: "lightclient@protonmail.com" Date: Tue, 1 Jun 2021 18:43:42 +0200 Subject: [PATCH] add effectiveGasPrice --- json-rpc/spec.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/json-rpc/spec.json b/json-rpc/spec.json index 2bedad6679..03270ded72 100644 --- a/json-rpc/spec.json +++ b/json-rpc/spec.json @@ -1215,6 +1215,11 @@ "description": "The total gas used by the transaction", "$ref": "#/components/schemas/Integer" }, + "effectiveGasPrice": { + "title": "ReceiptEffectiveGasPrice", + "description": "The actual value per gas deducted from the senders account. Before EIP-1559, this is equal to the transaction's gas price. After, it is equal to baseFeePerGas + min(maxFeePerGas - baseFeePerGas, maxPriorityFeePerGas). Legacy transactions and EIP-2930 transactions are coerced into the EIP-1559 format by setting both maxFeePerGas and maxPriorityFeePerGas as the transaction's gas price.", + "$ref": "#components/schemas/Integer" + }, "logs": { "title": "logs", "type": "array",