Creates an instance of SignerCkbScriptReadonly.
The client instance used for communication.
Rest
...scripts: (ScriptLike | ScriptLike[])[]The scripts associated with the signer. Can be a single script, an array of scripts, or multiple script arguments.
The type of the signer.
The sign type of the signer. As this is a read-only signer, the sign type is SignerSignType.Unknown.
Static
verifyFind cells of this signer
The filter for the search key.
Optional
withData: null | booleanWhether to include cell data in the response.
Optional
order: "asc" | "desc"The order of the returned cells, can be "asc" or "desc".
Optional
limit: numberThe maximum number of cells for every querying chunk.
A async generator that yields all matching cells
Find cells of this signer
Optional
withData: null | booleanOptional
order: "asc" | "desc"Optional
limit: numberA async generator that yields all matches cells
Find transactions of this signer
Optional
groupByTransaction: null | falseOptional
order: "asc" | "desc"Optional
limit: numberA async generator that yields all matches transactions
Find transactions of this signer
Optional
order: "asc" | "desc"Optional
limit: numberA async generator that yields all matches transactions
Find transactions of this signer
Optional
groupByTransaction: null | booleanOptional
order: "asc" | "desc"Optional
limit: numberA async generator that yields all matches transactions
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.
Sends a transaction after signing it.
The transaction to send, represented as a TransactionLike object.
A promise that resolves to the transaction hash as a Hex string.
Signs a transaction.
The transaction to sign, represented as a TransactionLike object.
A promise that resolves to the signed Transaction object.
prepare a transaction before signing. This method is not implemented and should be overridden by subclasses.
The transaction to prepare, represented as a TransactionLike object.
A promise that resolves to the prepared 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.
A read-only signer for a CKB script. It can be used to get addresses, but not to sign transactions. This is useful when you want to watch an address without having the private key.