Skip to main content
Welcome to the Spark API Reference documentation. This comprehensive guide covers all the methods available in the Spark SDKs for building Bitcoin-native applications, including wallet management, Bitcoin operations, Lightning Network integration, and token issuance.

Available SDKs


Getting Started

To get started with the Spark API, follow the steps below.
1

Install the SDK

Install the SDK package using your package manager of choice.For the Wallet SDK:
For the Issuer SDK:
2

Initialize a Wallet

Create a wallet instance to start interacting with the Spark network.For the Wallet SDK:
For the Issuer SDK:
3

Explore Documentation

Browse the method documentation using the sidebar navigation. Each method includes detailed parameters, return values, and code examples.

Error Handling

The SDK throws typed errors that you can catch and handle appropriately:

Use AI Tools with These Docs

Our documentation is optimized for AI coding assistants like Cursor, Claude, and ChatGPT. Paste the llms-full.txt URL into your AI assistant’s context for complete knowledge of Spark’s APIs and best practices.