Skip to main content
The SparkReadonlyClient provides read-only access to wallet data on the Spark network. Use it for dashboards, explorers, analytics, or any scenario where you need to query data without full wallet initialization. Three ways to create a client:
FactoryAuthUse case
createPublic()NoneQuery public wallet data
createWithMasterKey()Identity keyQuery private wallets you own
createWithSigner()Custom signerPartner integrations

Installation

npm install @buildonspark/spark-sdk

Method Categories