diff --git a/eth/transaction_receipt.go b/eth/transaction_receipt.go index 7cf21dd..2955a32 100644 --- a/eth/transaction_receipt.go +++ b/eth/transaction_receipt.go @@ -15,6 +15,7 @@ type TransactionReceipt struct { LogsBloom Data256 `json:"logsBloom"` Root *Data32 `json:"root,omitempty"` Status *Quantity `json:"status,omitempty"` + EffectiveGasPrice *Quantity `json:"effectiveGasPrice,omitempty"` } // TransactionType returns the transactions EIP-2718 type, or TransactionTypeLegacy for pre-EIP-2718 transactions. diff --git a/eth/zz_deepcopy_generated.go b/eth/zz_deepcopy_generated.go index b8a0286..0e17c60 100644 --- a/eth/zz_deepcopy_generated.go +++ b/eth/zz_deepcopy_generated.go @@ -563,6 +563,10 @@ func (in *TransactionReceipt) DeepCopyInto(out *TransactionReceipt) { in, out := &in.Status, &out.Status *out = (*in).DeepCopy() } + if in.EffectiveGasPrice != nil { + in, out := &in.EffectiveGasPrice, &out.EffectiveGasPrice + *out = (*in).DeepCopy() + } return }