Sparkscan API

Transactions WebSocket Channel

Get every new transaction on the Spark network in real time.

Schema

transaction_schema.json

JSONTransactionPayload (excerpt)
{ "id": "01986c7a-6944-75a2-99e1-20ec42c8a72e", "network": "MAINNET", "type": "spark_to_lightning", "status": "confirmed", "amount_sats": "2", "from_identifier": "sp1pg...", "to_identifier": "sp1pg...", "processed_at": "2025-08-02T20:30:22.954Z" }

Channels

  • /transaction/network/:network
  • /transaction/in/:network/:field
  • /transaction/out/:network/:field

Subscribe with your favourite Centrifuge compatible client to receive a message every time a transaction happens or is processed.

Last modified on