Skip to content

Commit

Permalink
add effectiveGasPrice
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient committed Jun 2, 2021
1 parent ece683d commit 297e6b7
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 @@ -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",
Expand Down

0 comments on commit 297e6b7

Please sign in to comment.