Skip to content

Commit

Permalink
docs: added effectiveGasPrice to receipts (#2311).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Feb 3, 2022
1 parent 315ecfd commit 0c72e0f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs.wrm/api/providers/types.wrm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c72e0f

Please sign in to comment.