Wallet class

Inheritance
Implemented types

Constructors

Wallet({SigningKey? signingKey, Mnemonic? mnemonic, Provider? walletProvider, String? address, String? privateKey, String? publicKey})
Wallet.fromHDNode(HDNode hdNode)
factory
Wallet.fromMnemonic(String mnemonic, {String? path, Wordlist? wordlist})
factory
Wallet.fromPrivateKey(String privateKey)
factory

Properties

address String?
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
hdNode HDNode?
getter/setter pair
mnemonic Mnemonic?
getter/setter pair
privateKey String?
getter/setter pairoverride
provider Provider?
getter/setter pairinherited
publicKey String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signingKey SigningKey?
getter/setter pair
walletPrivateKey String
final
walletProvider Provider?
final

Methods

call(TransactionRequest transaction, {BlockTag? blockTag}) Future<String>
inherited
connect(Provider provider) Signer
override
estimateGas(TransactionRequest transaction) Future<BigInt>
inherited
getAddress() Future<String>
========================================================================== Sub-classes MUST implement these
override
getBalance({BlockTag? blockTag}) Future<BigInt>
========================================================================== Sub-classes MAY override these
inherited
getTransactionCount({BlockTag? blockTag}) Future<int>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signMessage() → dynamic
override
signTransaction() → dynamic
override
toString() String
A string representation of this object.
inherited

Operators

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