Link Search Menu Expand Document

Signing

In general, there are two different methods that can be used to sign transactions:

Method Description Params
.signAndBroadcast() Signs the given message and broadcasts it to the blockchain. signerAddress: string, messages: readonly EncodeObject[], fee: StdFee / “auto” / number, memo = ““
.sign() Signs the given message without broadcasting it. signerAddress: string, messages: readonly EncodeObject[], fee: StdFee, memo: string, explicitSignerData?: SignerData