Transaction finality
Stages
Xsolla ZK transactions reach finality in stages, starting with sequencer confirmation and progressing to batch commitment, proof, and execution on Ethereum. The table below shows the stages a transaction goes through.
| Stage | Description | Block tag |
|---|---|---|
| Confirmed. | The sequencer includes the transaction in an L2 block and returns a receipt. | latest |
| Committed. | The batch’s data is published to Ethereum. | safe |
| Proven. | A zero-knowledge proof of the batch is verified on Ethereum. | — |
| Executed. | The final stage. The batch is executed on Ethereum. | finalized |
Choice of confirmation level
Follow these guidelines to choose the stage your application waits for before treating the transaction as complete, based on the value of the action:
- In-game actions and UI updates: wait for
latest. The receipt is enough to show the result to the player. - Actions that depend on Ethereum: wait for
safeto be sure the transaction data is on Ethereum. - High-value transfers, exchange deposits, and withdrawals: wait for
finalized. In this case, the batch is proven and executed on Ethereum and can’t be reverted.
Example of waiting for the final stage:
- ts
1const block = await client.getBlock({ blockTag: "finalized" });
2const isFinal = receipt.blockNumber <= block.number;
latest stage as final only for actions you can reverse or retry.Withdrawals
Finality and withdrawal time are linked. A withdrawal to Ethereum can be finalized once its batch reaches the finalized stage. Refer to the Bridging section for detailed information.
Useful links
Last updated: October 23, 2026Found a typo or other text error? Select the text and press Ctrl+Enter.