get item
{string}
get all items
Optional
query: string{string}
Optional
maxCount: number{number}
get the first item
Protected
initput a value by key
{string}
{ChainEntityItem}
get storage key by item object
{ChainEntityItem} ChainEntityItem object
Check if the input object is a valid item
{any} the object to be checked
Optional
callback: CallbackModels{CallbackModels} a callback function address to receive error information
Get the default data by the this.getDefault() method and flush the data into the database
Data is stored in a key-value structure. If a key with the same name already exists, the original data will be overwritten instead of inserting a new record.
get ChainEntityItem object by chainId
{number} the chainId number
Get the default list of ChainEntityItem object
Check if the input object is a valid Rpc Item
{any} the object to be checked
Optional
callback: CallbackModels{CallbackModels} a callback function address to receive error information
get the default supported chain list, get the specified chain information, add, delete and update chain information
Example
get the current chain/network list: