Versions in this module Expand all Collapse all v1 v1.0.1 Sep 1, 2023 Changes in this version + func BroadcastTx(clientCtx client.Context, txf Factory, msgs ...sdk.Msg) error + func CalculateGas(clientCtx gogogrpc.ClientConn, txf Factory, msgs ...sdk.Msg) (*tx.SimulateResponse, uint64, error) + func ConvertTxToStdTx(codec *codec.LegacyAmino, tx signing.Tx) (legacytx.StdTx, error) + func CopyTx(tx signing.Tx, builder client.TxBuilder, ignoreSignatureError bool) error + func GenerateOrBroadcastTxCLI(clientCtx client.Context, flagSet *pflag.FlagSet, msgs ...sdk.Msg) error + func GenerateOrBroadcastTxWithFactory(clientCtx client.Context, txf Factory, msgs ...sdk.Msg) error + func Sign(txf Factory, name string, txBuilder client.TxBuilder, overwriteSig bool) error + func SignWithPrivKey(signMode signing.SignMode, signerData authsigning.SignerData, ...) (signing.SignatureV2, error) + type AuxTxBuilder struct + func NewAuxTxBuilder() AuxTxBuilder + func (b *AuxTxBuilder) GetAuxSignerData() (tx.AuxSignerData, error) + func (b *AuxTxBuilder) GetSignBytes() ([]byte, error) + func (b *AuxTxBuilder) SetAccountNumber(accNum uint64) + func (b *AuxTxBuilder) SetAddress(addr string) + func (b *AuxTxBuilder) SetChainID(chainID string) + func (b *AuxTxBuilder) SetExtensionOptions(extOpts ...*codectypes.Any) + func (b *AuxTxBuilder) SetMemo(memo string) + func (b *AuxTxBuilder) SetMsgs(msgs ...sdk.Msg) error + func (b *AuxTxBuilder) SetNonCriticalExtensionOptions(extOpts ...*codectypes.Any) + func (b *AuxTxBuilder) SetPubKey(pk cryptotypes.PubKey) error + func (b *AuxTxBuilder) SetSequence(accSeq uint64) + func (b *AuxTxBuilder) SetSignMode(mode signing.SignMode) error + func (b *AuxTxBuilder) SetSignature(sig []byte) + func (b *AuxTxBuilder) SetTimeoutHeight(height uint64) + func (b *AuxTxBuilder) SetTip(tip *tx.Tip) + type Factory struct + func NewFactoryCLI(clientCtx client.Context, flagSet *pflag.FlagSet) Factory + func (f Factory) AccountNumber() uint64 + func (f Factory) AccountRetriever() client.AccountRetriever + func (f Factory) BuildSimTx(msgs ...sdk.Msg) ([]byte, error) + func (f Factory) BuildUnsignedTx(msgs ...sdk.Msg) (client.TxBuilder, error) + func (f Factory) ChainID() string + func (f Factory) Fees() sdk.Coins + func (f Factory) Gas() uint64 + func (f Factory) GasAdjustment() float64 + func (f Factory) GasPrices() sdk.DecCoins + func (f Factory) Keybase() keyring.Keyring + func (f Factory) Memo() string + func (f Factory) Prepare(clientCtx client.Context) (Factory, error) + func (f Factory) PrintUnsignedTx(clientCtx client.Context, msgs ...sdk.Msg) error + func (f Factory) Sequence() uint64 + func (f Factory) SignMode() signing.SignMode + func (f Factory) SimulateAndExecute() bool + func (f Factory) TimeoutHeight() uint64 + func (f Factory) WithAccountNumber(accnum uint64) Factory + func (f Factory) WithAccountRetriever(ar client.AccountRetriever) Factory + func (f Factory) WithChainID(chainID string) Factory + func (f Factory) WithFeeGranter(fg sdk.AccAddress) Factory + func (f Factory) WithFeePayer(fp sdk.AccAddress) Factory + func (f Factory) WithFees(fees string) Factory + func (f Factory) WithGas(gas uint64) Factory + func (f Factory) WithGasAdjustment(gasAdj float64) Factory + func (f Factory) WithGasPrices(gasPrices string) Factory + func (f Factory) WithKeybase(keybase keyring.Keyring) Factory + func (f Factory) WithMemo(memo string) Factory + func (f Factory) WithSequence(sequence uint64) Factory + func (f Factory) WithSignMode(mode signing.SignMode) Factory + func (f Factory) WithSimulateAndExecute(sim bool) Factory + func (f Factory) WithTimeoutHeight(height uint64) Factory + func (f Factory) WithTips(tip string, tipper string) Factory + func (f Factory) WithTxConfig(g client.TxConfig) Factory + type GasEstimateResponse struct + GasEstimate uint64 + func (gr GasEstimateResponse) String() string