Skip to main content
Spark Addresses are Bech32m-encoded wrappers that combine two elements: the network identifier and the wallet’s identity public key.
spark1pgssyuuuhnrrdjswal5c3s3rafw9w3y5dd4cjy3duxlf7hjzkp0rqx6dj6mrhu

Network Identifiers

  • Mainnet: spark
  • Regtest: sparkrt
  • Testnet: sparkt
  • Signet: sparks
  • Local: sparkl

Getting Your Spark Address

To get your Spark Address, use the getSparkAddress() method:
const sparkAddress = await wallet.getSparkAddress();
console.log("My Spark Address:", sparkAddress);

Important Notes

  • A Spark Address is derived from your wallet’s network and identity public key
  • The same wallet will always generate the same Spark Address
  • Spark Addresses are network-specific (mainnet/testnet/regtest)