program in TEAL file
Optional
programArgs: null | (Uint8Array | Buffer)[]An optional array of arguments for the program.
Optional
sigkeyGet the address of this LogicSigAccount.
If the LogicSig is delegated to another account, this will return the address of that account.
If the LogicSig is not delegated to another account, this will return an escrow address that is the hash of the LogicSig's program code.
Turns this LogicSigAccount into a delegated LogicSig. This type of LogicSig
has the authority to sign transactions on behalf of another account, called
the delegating account. If the delegating account is a multisig account,
use signMultisig
instead.
The secret key of the delegating account.
Turns this LogicSigAccount into a delegated LogicSig. This type of LogicSig has the authority to sign transactions on behalf of another account, called the delegating account. Use this function if the delegating account is a multisig account.
The multisig delegating account
The secret key of one of the members of the delegating
multisig account. Use appendToMultisig
to add additional signatures
from other members.
Static
fromStatic
from_Generated using TypeDoc
Create a new LogicSigAccount. By default this will create an escrow LogicSig account. Call
sign
orsignMultisig
on the newly created LogicSigAccount to make it a delegated account.