Skip to main content

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​

ConstructorModifiersDescription
(constructor)(config)Constructs a new instance of the Eniblock class

Properties​

PropertyModifiersTypeDescription
accessTokenProviderreadonly() => Promise<string>
appIdreadonlystring
indexerreadonlyIndexer
storage?readonlyStorageService(Optional)
tssConfigreadonlyTssConfig
utilsreadonlyUtilsNamespace
walletreadonlyWalletNamespace

Methods​

MethodModifiersDescription
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