AbstractAbstracttypeAbstractsignStaticverifyAbstractconnectConnects to the signer.
A promise that resolves when the connection is complete.
Register 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.
AbstractisCheck if the signer is connected.
A promise that resolves the connection status.
AbstractgetGets the internal address associated with the signer.
A promise that resolves to a string representing the internal address.
Gets the identity for verifying signature, usually it's address
A promise that resolves to a string representing the identity
AbstractgetGets an array of Address objects associated with the signer.
A promise that resolves to an array of Address objects.
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: boolean | nullWhether 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: boolean | nullOptionalorder: "asc" | "desc"Optionallimit: numberA async generator that yields all matches cells
Find transactions of this signer
OptionalgroupByTransaction: false | nullOptionalorder: "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: boolean | nullOptionalorder: "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.
Prepares a transaction before signing. This method can be overridden by subclasses to perform any necessary steps, such as adding cell dependencies or witnesses, before the transaction is signed. The default implementation converts the TransactionLike object to a Transaction object without modification.
The transaction to prepare.
A promise that resolves to the prepared Transaction object.
Note that this default implementation does not add any cell dependencies or dummy witnesses.
This may lead to an underestimation of transaction size and fees if used with methods
like Transaction.completeFee. Subclasses for signers that are intended to sign
transactions should override this method to perform necessary preparations.
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.
AbstractgetGet the number of members in the multisig script.
The number of members.
AbstractgetGet the threshold of the multisig script.
The threshold.
AbstractgetGet the count of required member of the multisig script.
The must match count.
AbstractgetGet the number of valid signatures for matching multisig inputs in the transaction.
The transaction.
The matched multisig signature count, or undefined when the transaction is unrelated to any multisig address supported by this signer.
AbstractneedCheck if related multisig inputs in the transaction need more signatures.
A promise that resolves to true when related multisig inputs still need signatures, and false otherwise.
AbstractaggregateAggregate transactions.
The transactions to aggregate.
The aggregated transaction.
Send a transaction.
The transaction to send.
The transaction hash.
This method rejects the transaction only when related multisig inputs still need signatures. It does not verify that the transaction actually contains inputs locked by any multisig address supported by this signer, so transactions unrelated to those multisig addresses are not rejected by this check.
An abstract class representing a multisig signer.