TxSender class
Allows to easily send a StdTx using the data contained inside the
specified Wallet.
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
Static Methods
-
broadcastStdTx({required Wallet wallet, required StdTx stdTx, String mode = 'sync', Client? client})
→ Future<TransactionResult>
-
Broadcasts the given
stdTx
using the info contained
inside the given wallet
.
Returns the hash of the transaction once it has been send, or throws an
exception if an error is risen during the sending.