buildStdTx static method

StdTx buildStdTx({
  1. required List<StdMsg> stdMsgs,
  2. String memo = '',
  3. StdFee fee = const StdFee(gas: '200000', amount: []),
})

Builds a StdTx object containing the given stdMsgs and having the optional memo and fee specified.

Implementation

static StdTx buildStdTx({
  required List<StdMsg> stdMsgs,
  String memo = '',
  StdFee fee = const StdFee(gas: '200000', amount: []),
}) {
  return StdTx(
    messages: stdMsgs,
    memo: memo,
    fee: fee,
    signatures: null,
  );
}