Optional lmsigOptional msigOptional pqsigOptional sigStatic Readonly encodingPrivate clearSecret key to sign with
Optional msig: MultisigMetadataMultisig account as {version, threshold, addrs}
Use signWithSigner instead
Creates signature (if no msig provided) or multi signature otherwise
Signs arbitrary data for use with the ed25519verify opcode from within
this LogicSig's program.
The signer to sign the data with
The data to sign
Use signWithSigner followed by .sig instead
Signs this LogicSig for delegation using the given signer.
The signer to delegate to
Optional msig: MultisigMetadataOptional multisig account the signer is a subsigner of
The address the signer signed as. When msig is omitted this is
the delegating account. When msig is given it is the individual
subsigner, not the multisig, so the delegating account is
multisigAddress(msig). Either way it is an authorizing address, which
is not necessarily the address a signer sends transactions from.
Re-signing an already-signed LogicSig is allowed, and replaces the previous
delegation signature. At most one of sig, msig, lmsig and pqsig may
be set, so any signature left over from an earlier call is cleared.
Use signWithSigner followed by .sig instead
Verification key (derived from sender address or escrow address)
This function does not perform full verification and should not be fully trusted on its own. For example, it does not evaluate programs and does not have the ability to validate PQ signatures.
Performs signature verification
Static fromStatic fromGenerated using TypeDoc
LogicSig implementation
LogicSig cannot sign transactions in all cases. Instead, use LogicSigAccount as a safe, general purpose signing mechanism. Since LogicSig does not track the provided signature's public key, LogicSig cannot sign transactions when delegated to a non-multisig account and the sender is not the delegating account.