Once you're comfortable with basic requests, streaming transactions gives you a live view of XRP Ledger activity.
TypeScriptimport { Client } from 'xrpl' const client = new Client('wss://honeycluster.io') await client.connect() client.on('transaction', (tx) => { console.log(tx.transaction?.TransactionType, tx.transaction?.hash) }) await client.request({ command: 'subscribe', streams: ['transactions'] })
TypeScriptawait client.request({ command: 'subscribe', accounts: ['rXRPLClusterExampleAccountAddressXXXXX'], })
Honeycluster streams are backed by full-history nodes, so you can combine real-time subscriptions with historical queries without switching endpoints.