Canonical: https://nitride.xyz/blog/what-shreds-cannot-tell-you

# What a shred feed cannot tell you

Shreds show transactions as the leader packs them, and nothing about what happened next. Seven gaps, and where to fill each one.

A shred feed shows you transactions as the leader packs them into a block, with no record of how they ran. It cannot tell you whether a transaction succeeded, what it changed, which programs it called internally, what it logged, or whether its block will be kept. Those answers come from replayed data such as RPC or Geyser, later.

## Seven things shreds do not carry

A shred is a fragment of a block on its way out of the leader. Our [shreds explainer](https://nitride.xyz/learn/solana-shreds) shows its layout. Put enough of them together and you get entries, and inside the entries, signed transactions exactly as their senders built them. That is a lot, and it is early. It is also all there is.

**1. Whether the transaction succeeded.** The leader executes each transaction as it packs it, but the shred carries the transaction, not its result. Everyone else learns the result when they replay the block. A transaction can sit in a block and fail: a slippage check trips, an account is missing, a balance is short. The shred looks the same either way.

**2. What changed.** Balances, token amounts and account data after the transaction are results of execution. Shreds carry the instructions that will cause the change, not the change itself.

**3. Logs and events.** Program logs are produced while the transaction runs. Any strategy that keys on log lines has nothing to key on in a shred.

**4. Inner instructions.** When a program calls another program, the inner call happens during execution. You see the top level instructions the sender wrote; what they expand into is only visible in execution results, which shreds do not carry.

**5. Accounts behind lookup tables.** Versioned transactions can reference accounts through address lookup tables. The transaction names the table and an index, not the account. You need the table's contents, from your own cache or an RPC call, to know which account is meant.

**6. Fees actually charged.** The transaction states its compute budget and priority fee, but what was charged depends on execution. Tips paid inside a program call, common in [Jito bundles](https://nitride.xyz/blog/bundles-in-the-shred-stream), are likewise only visible in execution results.

**7. Whether the block survives.** The cluster can still skip the slot. Until then, every transaction in it is provisional. Our post on [why a shred is not a confirmation](https://nitride.xyz/blog/shreds-are-not-confirmations) covers what to do about that.

There is one more thing a shred feed does not show, because Solana does not have it: a public queue of pending transactions. Shreds show what a leader has already chosen to include, not what it was offered.

## Where to get each one

| Missing from shreds | Where it comes from |
| --- | --- |
| Success or failure | Transaction status from RPC, or a Geyser transaction stream |
| Account state after the transaction | accountSubscribe, a Geyser account stream, or an RPC read |
| Logs | logsSubscribe, or transaction details from RPC |
| Inner instructions | Transaction details from RPC or Geyser after execution |
| Lookup table accounts | Your own cache of lookup tables, refreshed from RPC |
| Fees charged | Transaction metadata from RPC or Geyser |
| Whether the block was kept | Commitment status from RPC or Geyser |

## Designing around the gaps

None of this is a reason to skip shreds; the [Solana trading data stack](https://nitride.xyz/blog/solana-trading-data-stack) shows which layer answers what. It is a reason to know which questions each feed answers, and to give each question to the feed that answers it first. A design that mixes them up either waits for data it already had or acts on data that cannot support the decision.

**Use shreds for what is about to happen.** A swap is coming to this pool. A wallet you follow just signed something. A token is being created. A liquidation is being attempted. Those are questions shreds answer first, which is the reason to buy them.

**Use replayed data for what did happen.** Did the swap fill? What is the pool's price now? Did our own transaction land? Those answers come from the replayed view, and no amount of speed on the shred side changes that.

**Join the two on the signature.** Every transaction you see in shreds carries its signature. When the replayed view reports the same signature, you can attach its result to the early sighting and close the loop.

**Budget the round trips.** Every question you send to an RPC node from the fast path costs time you bought shreds to save. Decide in advance which questions the fast path may ask, keep them few, and push the rest to the settling side.

**Test with real failures.** Most decoders are tested on transactions that succeeded, because those are the ones people look at. Pull a day of failed transactions and skipped slots from your logs and run them through your fast path. If it acts on them as confidently as on the rest, it is not using the gaps listed above.

**Guard the input.** A decoder that trusts every packet can be fed transactions that never existed; [keeping your receiver private](https://nitride.xyz/blog/keeping-your-receiver-private) covers the checks.

**Cache what you can.** Lookup tables change rarely. Keeping your own copy fresh removes the most common reason a shred decoder has to stop and ask an RPC node something.

Our comparison of [shreds vs Geyser streams](https://nitride.xyz/compare/shreds-vs-geyser-grpc) shows where each feed fires within a slot, and the [UDP wire contract](https://nitride.xyz/docs/udp) lists what our datagrams carry.

Each plan has a free 2-hour trial, once per person. Email support@nitride.xyz with the IPv4 address and UDP port you want to test. We verify you receive on that address, then your 2 hours start.
