MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / CompleteAndBroadcastTxCli

Function CompleteAndBroadcastTxCli

client/utils/utils.go:25–60  ·  view source on GitHub ↗

CompleteAndBroadcastTxCli implements a utility function that facilitates sending a series of messages in a signed transaction given a TxBuilder and a QueryContext. It ensures that the account exists, has a proper number and sequence set. In addition, it builds and signs a transaction with the suppli

(txBldr authtxb.TxBuilder, cliCtx context.CLIContext, msgs []sdk.Msg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

prepareTxBuilderFunction · 0.85
EnrichCtxWithGasFunction · 0.85
GetFromNameMethod · 0.80
BuildAndSignMethod · 0.80
BroadcastTxMethod · 0.80

Tested by

no test coverage detected