diff --git a/Sources/Core/Json/EthereumBlockObject.swift b/Sources/Core/Json/EthereumBlockObject.swift index ee124579..11a7ffd7 100644 --- a/Sources/Core/Json/EthereumBlockObject.swift +++ b/Sources/Core/Json/EthereumBlockObject.swift @@ -69,6 +69,9 @@ public struct EthereumBlockObject: Codable { /// Array of uncle hashes. public let uncles: [EthereumData]? + /// The block base fees per gas (EIP-1559) + public let baseFeePerGas: EthereumQuantity? + /** * Represents a transaction as either a hash or an object. */ diff --git a/Sources/Core/Json/EthereumTransactionReceiptObject.swift b/Sources/Core/Json/EthereumTransactionReceiptObject.swift index b86caff6..688fadf2 100644 --- a/Sources/Core/Json/EthereumTransactionReceiptObject.swift +++ b/Sources/Core/Json/EthereumTransactionReceiptObject.swift @@ -27,6 +27,9 @@ public struct EthereumTransactionReceiptObject: Codable { /// The amount of gas used by this specific transaction alone. public let gasUsed: EthereumQuantity + /// The price per unit of gas paid by the sender + public let effectiveGasPrice: EthereumQuantity? + /// 20 Bytes - The contract address created, if the transaction was a contract creation, otherwise nil. public let contractAddress: EthereumData?