TxSigner class

Allows to create and sign a Tx object so that it can later be sent to the chain.

Constructors

TxSigner({required AuthQuerier authQuerier, required NodeQuerier nodeQuerier})
TxSigner.build(GrpcOrGrpcWebClientChannel clientChannel, Client httpClient)
Builds a new TxSigner from a given gRPC client channel and HTTP client.
factory
TxSigner.fromNetworkInfo(NetworkInfo info)
Builds a new TxSigner from the given NetworkInfo.
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

createAndSign(Wallet wallet, List<GeneratedMessage> msgs, {TxConfig? config, String? memo, Fee? fee}) Future<Tx>
Creates a new Tx object containing the given msgs and signs it using the provided wallet. Optional TxConfig, memo, gas and fees can be supplied as well.
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