Function ink_env::block_timestamp[][src]

pub fn block_timestamp<T>() -> Result<T::Timestamp> where
    T: Environment
Expand description

Returns the current block timestamp.

Errors

If the returned value cannot be properly decoded.