Skip to main content

UTXO events

Real-time event stream for UTXO networks. Subscribe by address and receive new blocks and address activity as soon as each block is finalized.

wss://api.chaingate.dev/utxo/{network}/events?api_key=YOUR_API_KEY

Supported networks

Network{network}
Bitcoinbitcoin
Bitcoin Cashbitcoincash
Litecoinlitecoin
Dogecoindogecoin
Bitcoin Testnetbitcointestnet

Channels

ChannelAddress?FlagsWhat you receive
blocksNofullNew block summaries — or full blocks with full: true.
balanceYespendingConfirmed balance — or the pending delta with pending: true.
historyYespendingConfirmed transaction activity — or pending txs with pending: true.
mempoolNoEvery pending transaction, as it is seen. (Optional.)

Subscribe

Pass a normal address for the network (e.g. a bc1q... Bitcoin address):

{ "action": "subscribe", "channel": "balance", "address": "bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4" }
{ "action": "subscribe", "channel": "blocks" }
Amounts

All amounts in UTXO events are integers in the smallest unit (satoshis for Bitcoin, litoshis for Litecoin, and so on). Divide by 100,000,000 to get whole coins.