> ## Documentation Index
> Fetch the complete documentation index at: https://docs.solanatracker.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Read Solana Entry Metadata with Yellowstone gRPC

> Stream entry hashes, indexes, and transaction counts. Use transaction or block subscriptions when you need transaction payloads.

The entry stream exposes Proof of History entry metadata: hashes, indexes, and transaction counts. It does not contain transaction bodies, execution logs, or per-transaction success flags.

Save the [quickstart helper](https://docs.solanatracker.io/yellowstone-grpc/quickstart.md) as `stream.mts` in the same directory. These examples use the same environment variables and dependencies.

## Subscribe to entry metadata

```typescript entries.mts theme={null}
import { subscribe } from "./stream.mts";

for await (const update of subscribe({ entry: { entries: {} } })) {
  const entry = update.entry;
  if (!entry) continue;
  console.log({
    slot: entry.slot,
    index: entry.index,
    hash: Buffer.from(entry.hash).toString("hex"),
    numHashes: entry.numHashes,
    transactionCount: entry.executedTransactionCount,
    startingTransactionIndex: entry.startingTransactionIndex,
  });
}
```

```bash theme={null}
npx tsx entries.mts
```

## Read entry fields

* `slot` and `index` locate the entry within a slot.
* `hash` is binary; the example displays it as hex.
* `numHashes` records the hash count for the entry.
* `executedTransactionCount` is a count, not a transaction array.
* `startingTransactionIndex` locates its first transaction within the block.

Keep 64-bit values as strings or `BigInt`. A zero transaction count is valid.

## Filter and correlate

The entry filter has no account or program fields. Filter by slot or sample updates in your consumer. For instruction parsing, vote filtering, or execution results, join transaction or block data by slot and transaction index. Do not infer those details from entry counts.

## Related guides

> [card] [Transactions](https://docs.solanatracker.io/yellowstone-grpc/transaction-monitoring.md)

> [card] [Slots and blocks](https://docs.solanatracker.io/yellowstone-grpc/slot-block-monitoring.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.