Finality and confirmations
Settle against finalized canonical execution blocks using Ethereum block tags.
MCN uses Ethereum-style Proof of Stake finality. Transaction inclusion and finality are separate states. For settlement, read the execution client's finalized block and check the candidate's canonical block identity.
Block views
| Tag | Use |
|---|---|
latest | Current canonical head; suitable for early discovery |
safe | Intermediate consensus-backed view |
finalized | Finalized execution history for settlement |
Slots are 12 seconds, with 32 slots per epoch. Slot duration is not transaction-finality time. Finality depends on checkpoint processing and validator participation; do not credit on a fixed wall-clock deadline.
Read the finalized block
curl --fail-with-body -sS https://rpc.mcnblockchain.com \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByNumber","params":["finalized",false]}' \
| jq '.result | {number, hash, timestamp}'number and timestamp are hexadecimal quantities. Check them as integers. Monitor advancement over time; an HTTP 200 response does not prove that finality is progressing.
Settlement check
For a direct native deposit, require:
- A successful receipt (
status: 0x1). - Correct recipient and native
valuein the transaction. - Receipt height no greater than the trusted finalized height.
- A canonical block at the receipt's height whose hash equals
receipt.blockHash. - No prior credit under the same chain ID and transaction hash.
An exchange may compare finalized block hashes at the same height across independent nodes. Compare equal heights, not two endpoints' possibly different head heights.
Reorganizations and stalls
Unfinalized blocks can be reorganized. Finalized blocks are the protocol settlement boundary under normal consensus assumptions; no unconditional guarantee applies to catastrophic consensus failures or exceptional network recovery.
If finality stalls, investigate the local node against other trusted nodes and the Beacon Explorer. Pause automatic settlement when finalized state is unavailable or inconsistent. Preserve cursors and signed withdrawal records for recovery.