KVStoreUtils
Last updated
Last updated
• Docs
/ / KVStoreUtils
Utility class for KVStore-related operations.
Using private key (backend)
Returns
static
getKVStoreData(chainId
,address
):Promise
<IKVStore
[]>
This function returns the KVStore data for a given address.
This uses Subgraph
Input parameters
Parameters
• chainId: ChainId
Network in which the KVStore is deployed
• address: string
Address of the KVStore
Returns
Promise
<IKVStore
[]>
KVStore data
Code example
Defined in
new KVStoreUtils():