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

Returns the current block timestamp.

Errors

If the returned value cannot be properly decoded.