# Transaction Validation

For transactions submitted and added to a block, ClishaChain validates the transactions, as illustrated in the following diagram.

![Transaction Validation](/files/g163RmIRdOAIFJaklLAz)

ClishaChain repeats the set of transaction pool validations after propagating the transaction. ClishaChain repeats the same set of validations when importing the block that includes the transaction, except the nonce must be exactly right when importing the block.

!!! important

```
Private transactions are not added to the transaction pool. The privacy marker transaction is
submitted to the transaction pool but the private transaction itself is directly distributed
to the transaction participants.
```

When adding the transaction to a block, ClishaChain performs an additional validation to check that the transaction gas limit is less than the remaining block gas limit. After creating a block, the node imports the block and then repeats the transaction pool validations.

!!! important

```
The transaction is only added if the entire transaction gas limit is less than the remaining
gas for the block. The total gas used by the transaction is not relevant to this validation.
That is, if the total gas used by the transaction is less than the remaining block gas, but the
transaction gas limit is more than the remaining block gas, the transaction is not added.
```


---

# Agent Instructions: 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:

```
GET https://docs.clishachain.com/transactions/validation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
