TxBuilder class
Allows to easily build and sign a Tx that can later be sent over the network.
Constructors
- TxBuilder.create()
-
factory
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
-
getTx(
) → Tx - Returns the built Tx
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFeeAmount(
List< CosmosCoin> ? coins) → void -
Sets the given
coinsas the transaction fees. -
setFeeGranter(
String? granter) → void -
Sets the given
granteras the transaction fee granter. -
setFeePayer(
String? payer) → void -
Sets the given
payeras the transaction fee payer. -
setGasLimit(
Int64? limit) → void -
Sets the given
limitas the gas limit to be used to execute the transaction. -
setMemo(
String? memo) → void -
Sets the given
memoinside the transactions. -
setMsgs(
List< GeneratedMessage> messages) → void -
Sets the given
messagesas the transaction messages. -
setSignatures(
List< SignatureV2> signatures) → void -
Sets the given
signaturesas the transaction sigantures. -
setTimeoutHeight(
int? timeout) → void -
Sets the given
timeoutto be the number of blocks in which to execute the transaction. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited