Function sp_io::offchain::local_storage_get [−][src]
pub fn local_storage_get(kind: StorageKind, key: &[u8]) -> Option<Vec<u8>>
Gets a value from the local storage.
If the value does not exist in the storage None
will be returned.
Note this storage is not part of the consensus, it's only accessible by
offchain worker tasks running on the same machine. It IS persisted between runs.