Skip to main content
Each example subscribes to entries, decodes every transaction in every batch, reconnects with backoff, and exits with the server’s error code when a stream is refused for a reason retrying will not fix.
  • Without an argument, it prints one line per batch: slot, entry count and transaction count.
  • With a program id, it prints every transaction that calls that program, with its signer, version, lookup-table count and each instruction’s program, account count and data size.
All three read SODAE_TOKEN and, optionally, SODAE_PREPLAY_URL.

Run

Output

Core of each client

The complete programs: