Skip to content

Create Publication

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

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

MultisigAccount

Defined in

src/types/account.ts:38

Properties

_addr

_addr: string

Defined in

src/types/account.ts:16


_params

_params: MultisigMetadata

Defined in

src/types/account.ts:14


_signer

_signer: TransactionSigner

Defined in

src/types/account.ts:17


_signingAccounts

_signingAccounts: (default | SigningAccount)[]

Defined in

src/types/account.ts:15

Accessors

addr

get addr(): string

The address of the multisig account

Returns

string

Defined in

src/types/account.ts:30


params

get params(): Readonly\<MultisigMetadata>

The parameters for the multisig account

Returns

Readonly\<MultisigMetadata>

Defined in

src/types/account.ts:20


signer

get signer(): TransactionSigner

Returns

TransactionSigner

Defined in

src/types/account.ts:34


signingAccounts

get signingAccounts(): readonly (default | SigningAccount)[]

The list of accounts that are present to sign

Returns

readonly (default | SigningAccount)[]

Defined in

src/types/account.ts:25

Methods

sign

sign(transaction): Uint8Array

Sign the given transaction

Parameters
Name Type Description
transaction Uint8Array | Transaction Either a transaction object or a raw, partially signed transaction
Returns

Uint8Array

The transaction signed by the present signers

Defined in

src/types/account.ts:53