merkle-trie / net.consensys.cava.trie.experimental / MerkleTrie / get

get

abstract suspend fun get(key: K): V? (source)

Returns the value that corresponds to the specified key, or an empty byte array if no such value exists.

Parameters

key - The key of the value to be returned.

Exceptions

MerkleStorageException - If there is an error while accessing or decoding data from storage.

Return
The value that corresponds to the specified key, or null if no such value exists.