> For the complete documentation index, see [llms.txt](https://corpus-core.gitbook.io/specification-colibri-stateless/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://corpus-core.gitbook.io/specification-colibri-stateless/specifications/op-stack/transaction-proof.md).

# Transaction Proof

Represents the proof for a single transaction, verifying its inclusion in a block. For preconfirmation blocks, the transaction proof may be empty since the full execution payload is available.

This Proof is used for the following RPC-Methods:

* [eth\_getTransactionByHash](https://www.alchemy.com/docs/node/op-mainnet/op-mainnet-api-endpoints/eth-get-transaction-by-hash)
* [eth\_getTransactionByBlockHashAndIndex](https://www.alchemy.com/docs/node/op-mainnet/op-mainnet-api-endpoints/eth-get-transaction-by-block-hash-and-index)
* [eth\_getTransactionByBlockNumberAndIndex](https://www.alchemy.com/docs/node/op-mainnet/op-mainnet-api-endpoints/eth-get-transaction-by-block-number-and-index)

## OpTransactionProof

Container type for a block containing multiple transaction log proofs The main proof data for a single transaction.

The Type is defined in [src/chains/op/ssz/op\_proof\_types.h](https://github.com/corpus-core/colibri-stateless/blob/v1.1.30/src/chains/op/ssz/op_proof_types.h#L118).

```python
class OpTransactionProof(Container):
    tx_proof         : List [bytes_1024, 64] # the Merkle Patricia Proof of the transaction (empty for preconf blocks since full execution payload is available)
    transactionIndex : Uint32                # the index of the transaction in the block
    block_proof      : Union [               # proof for the right block hash
        OpPreconf,                           # preconfirmation proof (sequencer-signed execution payload)
        Bytes32]                             # blockhash hint identifying the cached execution payload
```

**Referenced Types**

* [OpPreconf](/specification-colibri-stateless/specifications/op-stack.md#oppreconf)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://corpus-core.gitbook.io/specification-colibri-stateless/specifications/op-stack/transaction-proof.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
