Get/Reset HiveMultisig instance
Get Instance
To make sure you always use a single instance of HiveMultisig,
you can make use of getInstance
static method, using the same parameters as in Quick Start.
const multisig = HiveMultisig.getInstance(window: Window,options?:MultisigOptions);
Reset Instance
To stop the current instance of HiveMultisig
and create a new one, you can make use of theresetInstance
static method, using the same parameters.
const multisig = HiveMultisig.resetInstance(window: Window,options?:MultisigOptions);
Parameters
Field
Description
Type
options
Contains the definitions of the backend api address, socket address, and the client RPC address.
{apiAddress: string socketAddress: string clientAddress: string} object
Last updated