ink_env

Function 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.