TxHelper class
Allows to easily perform common transaction operations.
Constructors
- TxHelper()
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 Methods
-
createSignAndSendTx(
List< StdMsg> msgs, Wallet wallet, {StdFee? fee, BroadcastingMode? mode, Client? client}) → Future<TransactionResult> -
Creates a transaction having the given
msgs, signs it with the given Wallet and sends it to the blockchain. Optional parameters can befeeand broadcastingmode, that can be of type "sync", "async" or "block".
Constants
- defaultAmount → const int
- defaultDenom → const String
- defaultGas → const int