Skip to main content
Creates a SparkReadonlyClient with no authentication. Can query any wallet that hasn’t enabled privacy mode.

Method Signature

Parameters

ConfigOptions
Configuration options including network selection.

Returns

SparkReadonlyClient
required
A wallet viewer instance with no authentication. Requests are made without an identity key.

Example

Private wallets return empty results (zero balances, empty arrays) to unauthenticated clients, not errors. Use createWithMasterKey() to query private wallets you own.