package
0.1.0
Repository: https://github.com/corestario/cosmos-utils.git
Documentation: pkg.go.dev

# Functions

CalculateGas simulates the execution of a transaction and returns both the estimate obtained by the query and the adjusted amount.
CompleteAndBroadcastTx implements a utility function that facilitates sending a series of messages in a signed transaction given a TxBuilder and a QueryContext.
EnrichWithGas calculates the gas estimate that would be consumed by the transaction and set the transaction's respective value accordingly.
GenerateOrBroadcastMsgs respects flags and outputs a message.
GetTxEncoder return tx encoder from global sdk configuration if ones is defined.
PrepareTxBuilder populates a TxBuilder in preparation for the build of a Tx.
PrintUnsignedStdTx builds an unsigned StdTx and prints it to os.Stdout.

# Structs

GasEstimateResponse defines a response definition for tx gas estimation.