Documentation
¶
Index ¶
- func GenTx(ctx sdk.Context, gen client.TxConfig, msgs []sdk.Msg, feeAmt sdk.Coins, ...) (sdk.Tx, error)
- func MakeTxBuilder(ctx sdk.Context, gen client.TxConfig, msgs []sdk.Msg, feeAmt sdk.Coins, ...) (client.TxBuilder, error)
- func MustGetOnlySignerAddress(cdc codec.Codec, msg sdk.Msg) string
- func MustGetTxBytes(msgs ...sdk.Msg) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenTx ¶
func GenTx( ctx sdk.Context, gen client.TxConfig, msgs []sdk.Msg, feeAmt sdk.Coins, gas uint64, chainID string, accNums, accSeqs []uint64, signers, signatures []cryptotypes.PrivKey, selectedAuthenticators []uint64, ) (sdk.Tx, error)
GenTx generates a signed mock transaction.
func MakeTxBuilder ¶
func MustGetOnlySignerAddress ¶
Returns the account address that should sign the msg. Will panic if it is an unsupported message type.
func MustGetTxBytes ¶
Returns the encoded msg as transaction. Will panic if encoding fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.