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

Function SignStdTx

client/utils/utils.go:111–143  ·  view source on GitHub ↗

SignStdTx appends a signature to a StdTx and returns a copy of a it. If appendSig is false, it replaces the signatures already attached with the new signature. Don't perform online validation or lookups if offline is true.

(txBldr authtxb.TxBuilder, cliCtx context.CLIContext, name string, stdTx auth.StdTx, appendSig bool, offline bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

isTxSignerFunction · 0.85
GetAccountSequenceMethod · 0.80
WithSequenceMethod · 0.80
SignStdTxMethod · 0.80
GetMethod · 0.65
GetPubKeyMethod · 0.65
GetSignersMethod · 0.65

Tested by

no test coverage detected