Wallet class
Constructors
- Wallet(LcdClient _lcd, String accAddress, TxBroadcastAPI broadcastTx, TxMnemonic key)
Properties
- accAddress → String
-
final
- broadcastTx → TxBroadcastAPI
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → TxMnemonic
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createTx(
Fee fee, {String optionalNote = ""}) → Future< Map< Tx, SignerOptions> > -
createTxAndSignTx(
Fee fee, List messages, {String optionalNote = ""}) → Future< Tx> -
estimateFeeForTx(
double txAmount, CreateTxOptions options) → Future< Fee> -
estimateGasForTx(
double txAmount, List messages, {double gasAdjustment = 3, String coinTypeForGas = CoinDenoms.ULUNA}) → Future< double> -
getAccountNumber(
) → Future< int> -
getAccountNumberAndSequence(
) → Future< Map< double, double> > -
getSequence(
) → Future< int> -
getWalletOptions(
) → Future< SignerOptions> -
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