Function ink_env::block_timestamp

source ·
pub fn block_timestamp<E>() -> E::Timestamp
where E: Environment,
Expand description

Returns the current block timestamp.

§Errors

If the returned value cannot be properly decoded.