Function darkfi_sdk::wasm::db::db_get

source ยท
pub fn db_get(db_handle: DbHandle, key: &[u8]) -> GenericResult<Option<Vec<u8>>>
Expand description

Everyone can call this. Will read a key from the key-value store.

value = db_get(db_handle, key);