logo
pub fn block_timestamp<E>() -> E::Timestampwhere
    E: Environment,
Expand description

Returns the current block timestamp.

Errors

If the returned value cannot be properly decoded.