Creates an instance of SignerMultisigOmniLockReadonly.
The client instance.
The multisig information (public keys, threshold, mustMatch).
Optionaloptions: null | OmniLockMultisigOptionsOmnilock-specific options (flags, ACP minimums, script override).
StaticEmptyReadonlymultisigReadonlyscriptReadonlyomniReadonlyacpReadonlyacpProtectedclient_Get the number of members in the multisig script.
The number of members.
Get the threshold of the multisig script.
The threshold.
Connects to the signer.
A promise that resolves when the connection is complete.
Check if the signer is connected.
A promise that resolves the connection status.
Gets the internal address associated with the signer.
A promise that resolves to a string representing the internal address.
Gets an array of Address objects associated with the signer.
A promise that resolves to an array of Address objects.
Decode the witness args at a specific index.
Decode the witness args.
OptionalwitnessLike: null | WitnessArgsLikePrepare the witness args at a specific index.
Optionaltransformer: Prepare multisig witness for a single script variant.
Prepare transaction for multisig witness and adding related cell deps.
Get the number of signatures in the transaction.
Check if the transaction needs more signatures.
Get the sign info for a script.
ProtectedencodeEncode a MultisigCkbWitness into the bytes stored in WitnessArgs.lock. CKB multisig: raw multisig hex. OmniLock: wrapped in OmniLockWitnessLock.
ProtecteddecodeDecode WitnessArgs.lock bytes back into a MultisigCkbWitness. Returns undefined if the data does not match this signer's format.
StaticverifyRegister a listener to be called when this signer is replaced.
A function for unregister
Disconnects to the signer.
A promise that resolves when the signer is disconnected.
Gets the identity for verifying signature, usually it's address
A promise that resolves to a string representing the identity
Gets the recommended Address object for the signer.
Optional_preference: unknownOptional preference parameter.
A promise that resolves to the recommended Address object.
Gets the recommended address for the signer as a string.
Optionalpreference: unknownOptional preference parameter.
A promise that resolves to the recommended address as a string.
Gets an array of addresses associated with the signer as strings.
A promise that resolves to an array of addresses as strings.
Find cells of this signer
The filter for the search key.
OptionalwithData: null | booleanWhether to include cell data in the response.
Optionalorder: "asc" | "desc"The order of the returned cells, can be "asc" or "desc".
Optionallimit: numberThe maximum number of cells for every querying chunk.
A async generator that yields all matching cells
Find cells of this signer
OptionalwithData: null | booleanOptionalorder: "asc" | "desc"Optionallimit: numberA async generator that yields all matches cells
Find transactions of this signer
OptionalgroupByTransaction: null | falseOptionalorder: "asc" | "desc"Optionallimit: numberA async generator that yields all matches transactions
Find transactions of this signer
Optionalorder: "asc" | "desc"Optionallimit: numberA async generator that yields all matches transactions
Find transactions of this signer
OptionalgroupByTransaction: null | booleanOptionalorder: "asc" | "desc"Optionallimit: numberA async generator that yields all matches transactions
Gets balance of all addresses
A promise that resolves to the balance
Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.
The message to sign, as a string or BytesLike object.
A promise that resolves to the signature as a string.
Signs a transaction.
The transaction to sign, represented as a TransactionLike object.
A promise that resolves to the signed Transaction object.
Signs a transaction without preparing information for it. This method is not implemented and should be overridden by subclasses.
The transaction to sign, represented as a TransactionLike object.
A promise that resolves to the signed Transaction object.
Send a transaction.
The transaction to send.
The transaction hash.
A read-only signer for Omnilock cells using CKB multisig auth (flag 0x06).
Omnilock with auth flag 0x06 uses the same M-of-N secp256k1 multisig verification as the standalone multisig system script. The multisig witness bytes (S|R|M|N|pubkey_hashes|signatures) are placed inside the OmniLockWitnessLock.signature field rather than directly in WitnessArgs.lock.
When ACP mode is enabled (omniLockFlags & 0x02), the cell can also be unlocked without a signature (ACP deposit path), following RFC 0026 rules.