A customer sees one inventory or account balance, while the product may rely on a blockchain, an indexer, a database and several asynchronous services. These systems can temporarily disagree. Reconciliation is the discipline that detects those differences and brings the application's view back into alignment with its authoritative records. It is essential for a credible user experience and for support investigations. The design should make every important state transition traceable, with clear rules for which evidence wins and which actions require human review.

Give every business action a durable identity

Create an application-level reference for the user's intended action, then connect it to relevant transaction and event references. One request may have several attempts before it reaches a final state. The business record should preserve that relationship instead of treating every attempt as a new customer intention.

This approach helps when users retry, providers return late responses or a browser closes during submission. Support can inspect the original action and follow its history. Engineering can identify incomplete transitions. The reference should contain enough context for diagnosis without storing unnecessary personal information. A clear identity model is the foundation for reliable automation and understandable operational reporting.

Define authority and acceptable delay

For each field, decide which system is authoritative and how quickly other systems should reflect it. An onchain ownership change and an internal game achievement may have different sources of truth. Reconciliation cannot work reliably if the team has not agreed on that distinction.

Set practical expectations for temporary delay. A recently submitted transfer may not yet appear in the indexed inventory, while an older mismatch may indicate a defect. The interface should show pending or synchronising states when appropriate. Do not hide every discrepancy until a nightly job runs, and do not alarm users about ordinary propagation time. Match the response to the age and consequence of the disagreement.

Build checks around meaningful invariants

Choose comparisons that reflect the product's promises. Examples include ensuring an issued entitlement is represented once, confirming that an external transfer updates the correct inventory and verifying that a completed operation has the expected application record.

Run checks after important events and periodically across the broader system. Preserve the evidence used in each investigation, including relevant network and contract identifiers. A dashboard that reports only total counts may miss a serious mismatch affecting one user. Combine aggregate checks with targeted record-level validation so the team can detect both widespread processing failures and isolated inconsistencies that would otherwise remain invisible.

Separate automated correction from judgement

Some discrepancies can be resolved by replaying events or refreshing a cached view. Others involve conflicting evidence, unexpected contract behaviour or a consequential external fulfilment. Define which categories are safe to correct automatically and which require review.

Keep correction actions auditable and avoid destructive updates that erase the history of the problem. After an incident, examine why the mismatch occurred and whether the user-facing status made it worse. Reconciliation is not merely a repair job for a flawed integration. It is a normal capability of a distributed product, allowing the team to operate with clear evidence even when individual components are delayed, restarted or temporarily unavailable.

TAKE IT FORWARD

The key decisions.

  • Connect user intentions to all transaction attempts and resulting records.
  • Assign a source of truth and delay expectation to each important field.
  • Automate safe corrections while preserving evidence and human review paths.

Sources & further reading

Primary references for the concepts discussed. Check the applicable documentation when planning implementation.

  1. The Graph: subgraphs overview
  2. Ethereum: nodes and clients