SparkReadonlyClient authenticated with a custom SparkSigner. Designed for partners (e.g., Privy) who provide their own signer implementation without exposing a mnemonic.
Method Signature
Parameters
Configuration options including network selection. Pass
undefined for defaults.A pre-initialized
SparkSigner implementation. The signer’s identity key is used for authentication.Returns
An authenticated wallet viewer using the provided signer for identity verification.
Example
See the Spark Signer Interface docs for implementing a custom
SparkSigner.