darkfi_sdk::wasm::util

Function get_blockchain_time

Source
pub fn get_blockchain_time() -> GenericResult<Option<Vec<u8>>>
Expand description

Everyone can call this. Will return current blockchain timestamp.

timestamp = get_blockchain_time();