diff --git a/ethers-core/src/types/log.rs b/ethers-core/src/types/log.rs index 03281f50a..6c8fd1cac 100644 --- a/ethers-core/src/types/log.rs +++ b/ethers-core/src/types/log.rs @@ -28,6 +28,11 @@ pub struct Log { #[serde(skip_serializing_if = "Option::is_none")] pub block_number: Option, + // Block timestamp + #[serde(rename = "blockTimestamp")] + #[serde(skip_serializing_if = "Option::is_none")] + pub block_timestamp: Option, + /// Transaction Hash #[serde(rename = "transactionHash")] #[serde(skip_serializing_if = "Option::is_none")]