# Basic Transaction Flow

This guide explains the technical flow of Facet transactions. For conceptual understanding of immutable sequencing, see [Immutable Sequencing](https://docs.facet.org/immutable-sequencing/introduction).

## Transaction Lifecycle

<figure><img src="https://1019327319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fnoy9FLmhyuxmN0z2r9fk%2Fuploads%2Fgit-blob-13512ece28b07875d58e8a06af5361eb839e5653%2Fimage%20(7).png?alt=media" alt=""><figcaption></figcaption></figure>

### 1. Transaction Creation

Users create Facet transactions by:

* Constructing an RLP-encoded Facet transaction
* Wrapping it in an Ethereum L1 transaction
* Sending to the Facet inbox address: `0x00000000000000000000000000000000000face7`

See [Facet Transactions](https://docs.facet.org/immutable-sequencing/transaction-spec) for detailed formatting.

### 2. L1 Submission

The Ethereum transaction containing the Facet payload:

* Gets included in the L1 mempool
* Is sequenced by Ethereum validators
* Becomes part of L1 block history

### 3. Node Processing

Facet nodes:

* Monitor L1 for transactions to the inbox address
* Extract Facet payloads from calldata
* Also monitor for contract-emitted events with Facet topic

### 4. State Computation

Using the ordered transactions from L1:

* Facet nodes execute transactions through facet-geth
* State is computed deterministically
* Results are stored locally by each node

### 5. State Queries

Applications and users:

* Connect to Facet RPC endpoints
* Query current state using standard Ethereum RPC methods
* Receive responses from facet-geth

## Technical Implementation

### Creating Transactions

* [Transaction Specification](https://docs.facet.org/immutable-sequencing/transaction-spec) - Transaction formats and encoding

### Running Infrastructure

* [Running a Facet Node](https://docs.facet.org/guides/running-a-facet-node) - Node setup guide
* [Chain State Derivation](https://docs.facet.org/reference/chain-state-derivation) - How state is computed

### Integration Points

* [Network Information](https://docs.facet.org/reference/network-information) - Query endpoints
* [Facet TypeScript SDK](https://docs.facet.org/developer-tools/facet-typescript-sdk) - Developer tools
