constructor for MultiKeyAccount
MultiKeyAccount
Readonly
accountAccount address associated with the account
Readonly
publicPublic key associated with the account
Readonly
signaturesReadonly
signerAn array of indicies where for signer[i], signerIndicies[i] is the index of the corresponding public key in publicKey.publicKeys. Used to derive the right public key to use for verification.
Readonly
signersThe signers used to sign messages. These signers should correspond to public keys in the MultiKeyAccount's public key. The number of signers should be equal or greater than this.publicKey.signaturesRequired
Readonly
signingSigning scheme used to sign transactions
Sign the given message using the MultiKeyAccount's signers
MultiKeySignature
Sign the given transaction using the MultiKeyAccount's signers
the transaction to be signed
MultiKeySignature
Sign a transaction using the account's signers.
the raw transaction
the AccountAuthenticator containing the signature of the transaction, together with the account's public key
Sign a message using the account's signers.
the signing message, as binary input
the AccountAuthenticator containing the signature, together with the account's public key
Static
fromStatic constructor for MultiKeyAccount
MultiKeyAccount
Static
is
Signer implementation for the MultiKey authentication scheme.
This accounts to use a M of N signing scheme. M and N are specified in the MultiKey It signs messages via the array of M number of Accounts that individually correspond to a public key in the MultiKey.
Note: Generating a signer instance does not create the account on-chain.