Function current_time
pub fn current_time() -> <AllocateAndReturnPointer<[u8; 16], 16> as RIType>::Inner
Expand description
Get the number of nanoseconds passed since the UNIX epoch, as u128 le-bytes.
You may want to use the standalone function current_time
.
WARNING! This is a non-deterministic call. Do not use this within consensus critical logic.