types account.MultisigAccount
@algorandfoundation/algokit-utils / types/account / MultisigAccount
Class: MultisigAccount¶
types/account.MultisigAccount
Account wrapper that supports partial or full multisig signing.
Table of contents¶
Constructors¶
Properties¶
Accessors¶
Methods¶
Constructors¶
constructor¶
• new MultisigAccount(multisigParams
, signingAccounts
): MultisigAccount
Parameters¶
Name | Type |
---|---|
multisigParams |
MultisigMetadata |
signingAccounts |
(default | SigningAccount )[] |
Returns¶
Defined in¶
Properties¶
_addr¶
• _addr: string
Defined in¶
_params¶
• _params: MultisigMetadata
Defined in¶
_signer¶
• _signer: TransactionSigner
Defined in¶
_signingAccounts¶
• _signingAccounts: (default
| SigningAccount
)[]
Defined in¶
Accessors¶
addr¶
• get
addr(): string
The address of the multisig account
Returns¶
string
Defined in¶
params¶
• get
params(): Readonly
\<MultisigMetadata
>
The parameters for the multisig account
Returns¶
Readonly
\<MultisigMetadata
>
Defined in¶
signer¶
• get
signer(): TransactionSigner
Returns¶
TransactionSigner
Defined in¶
signingAccounts¶
• get
signingAccounts(): readonly (default
| SigningAccount
)[]
The list of accounts that are present to sign
Returns¶
readonly (default
| SigningAccount
)[]
Defined in¶
Methods¶
sign¶
▸ sign(transaction
): Uint8Array
Sign the given transaction
Parameters¶
Name | Type | Description |
---|---|---|
transaction |
Transaction | Uint8Array |
Either a transaction object or a raw, partially signed transaction |
Returns¶
Uint8Array
The transaction signed by the present signers