AddressService class

Constructors

AddressService(String? endpoint)

Properties

endpoint String?
endpoint is the HTTP URL to a ArchEthic node (acting as welcome node)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deriveAddress(String seed, int index, {String curve = 'P256', String hashAlgo = 'sha256'}) String
Derive an address @param {String} seed TransactionChain seed @param {int} index Number of transaction in the chain @param {String} curve Elliptic curve to use ("ed25519", "P256", "secp256k1") @param {String} hashAlgo Hash algorithm ("sha256", "sha512", "sha3-256", "sha3-512", "blake2b")
lastAddressFromAddress(String address) Future<String>
Get the last address @param {String} address TransactionChain address
lastAddressFromSeed(String seed) Future<String>
Get the last address @param {String} seed TransactionChain seed
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