Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateGas ¶ added in v3.2.3
func CalculateGas( clientCtx gogogrpc.ClientConn, txf clienttx.Factory, msgs ...sdk.Msg, ) (*tx.SimulateResponse, uint64, error)
CalculateGas simulates the execution of a transaction and returns the simulation response obtained by the query and the adjusted gas amount.
Types ¶
type ComputeReqParams ¶
type EstimateFeeResp ¶
EstimateFeeResp defines a tx fee estimation response
Click to show internal directories.
Click to hide internal directories.