stream.mts in the same directory. These examples use the same environment variables and dependencies.
Subscribe by program or account
transactions.mts
Combine transaction filters
accountInclude: match at least one listed account.accountRequired: require every listed account.accountExclude: reject transactions that reference any listed account.vote: false: exclude validator votes.failed: false: successful executions only. Usetruefor failures, or omit it for both.signature: select one transaction signature.
Interpret the result
The signature is binary; convert it with base58. The slot is onupdate.transaction, while execution details are on update.transaction.transaction.meta. A balance difference can include fees, rent, or several instructions, so it is not automatically a transfer amount.