KVStoreUtils
@human-protocol/sdk • Docs
@human-protocol/sdk / kvstore / KVStoreUtils
Class: KVStoreUtils
Introduction
Utility class for KVStore-related operations.
Installation
npm
yarn
Code example
Signer
Using private key (backend)
Constructors
new KVStoreUtils()
new KVStoreUtils():
KVStoreUtils
Returns
Methods
getKVStoreData()
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
Last updated