From 0c72e0f1fdd0ea9cfdfbe2bd2e3167e1ce1141da Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Thu, 3 Feb 2022 15:44:18 -0500 Subject: [PATCH] docs: added effectiveGasPrice to receipts (#2311). --- docs.wrm/api/providers/types.wrm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs.wrm/api/providers/types.wrm b/docs.wrm/api/providers/types.wrm index 016bca5f8..75e809946 100644 --- a/docs.wrm/api/providers/types.wrm +++ b/docs.wrm/api/providers/types.wrm @@ -364,6 +364,16 @@ must be considered. _property: receipt.gasUsed => [[BigNumber]] The amount of gas actually used by this transaction. +_property: receipt.effectiveGasPrice => [[BigNumber]] +The effective gas price the transaction was charged at. + +Prior to EIP-1559 or on chains that do not support it, this value will +simply be equal to the transaction ``gasPrice``. + +On EIP-1559 chains, this is equal to the block ``baseFee`` for the block +that the transaction was included in, plus the transaction +``maxPriorityFeePerGas`` clamped to the transaction ``maxFeePerGas``. + _property: receipt.logsBloom => string<[[DataHexString]]> A [bloom-filter](link-wiki-bloomfilter), which includes all the addresses and topics included in any log in this