HermezSDK class

Constructors

HermezSDK()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

currentEnvironment EnvParams?
Returns the current environment @returns {EnvParams} Contains contract addresses, Hermez API and Batch Explorer urls
no setter
currentWeb3Client → Web3Client?
Returns the current web3 client @returns {Object} Contains contract addresses, Hermez API and Batch Explorer urls and the Etherscan URL por the provider
no setter
isInitialized bool
no setter

Static Methods

init(String environment, {String? web3ApiKey, EnvParams? envParams}) → void
Sets an environment from a supported environment configuration or from a custom environment object @param {String} env - Supported environment name @param optional {EnvParams} envParams - Custom environment object, only used when env value is 'custom'