Eniblock class
The Eniblock class represents an Eniblock SDK instance. It provides methods for interacting with the Eniblock platform.
Signature:
export declare class Eniblock
Constructors​
Constructor | Modifiers | Description |
---|---|---|
(constructor)(config) | Constructs a new instance of the Eniblock class |
Properties​
Property | Modifiers | Type | Description |
---|---|---|---|
accessTokenProvider | readonly | () => Promise<string> | |
appId | readonly | string | |
indexer | readonly | Indexer | |
storage? | readonly | StorageService | (Optional) |
tssConfig | readonly | TssConfig | |
utils | readonly | UtilsNamespace | |
wallet | readonly | WalletNamespace |
Methods​
Method | Modifiers | Description |
---|---|---|
getNetwork() | Get the current blockchain Network from the provider | |
getProvider() | Get the current blockchain Provider | |
setNetwork(network) | Set the current blockchain Network from the provider |