DEV Community

Jerome Barton
Jerome Barton

Posted on

Why Two Bridge Transaction Hashes for Returning Users

A Berachain bridge transfer shows two transaction hashes because Ethereum records the source deposit or burn, while Berachain records a separate destination transaction that delivers the assets.

What Happens Between the Two Transactions?

A cross-chain transfer starts with a transaction on the chain where your assets are held. That source transaction locks or burns the assets and emits a message describing the transfer, including the destination address and amount.

Because Ethereum and Berachain keep separate ledgers, Ethereum cannot write the delivery into Berachain’s transaction history. The message must be verified and acted on there. On LayerZero routes, Decentralized Verifier Networks (DVNs) verify the message, then an executor submits a new transaction on the destination chain. That transaction credits your address.

The Berachain bridge is one way assets reach Berachain’s DeFi ecosystem. Your wallet submits the source transaction, but the executor usually submits the destination transaction, so the two hashes belong to different transactions and different chains.

The two hashes have distinct roles:

  • Source transaction hash: Identifies your deposit or burn on the chain you sent from, such as Ethereum.
  • Destination transaction hash: Identifies the delivery transaction on Berachain, submitted by the executor or relayer.
  • LayerZero message GUID: Identifies the cross-chain message and links the source and destination transactions.

The destination transaction’s “from” field is typically the executor or relayer, not your wallet. So it may not appear in your wallet’s list of sent transactions. Your address can still appear as the recipient in the transaction’s token transfers, where you can see the credited assets.

How Do I Match the Hashes?

LayerZero Scan can find the message and its related transactions when you search by the source transaction hash. Open the source transaction on Etherscan, copy its hash, and paste it into LayerZero Scan. The message details show its GUID and, once delivery is submitted, the destination transaction hash.

Say you bridge ETH from Ethereum to Berachain. In this illustrative case, 0xabc… is the Ethereum source hash: it records the transaction that locks or burns the ETH and emits the message. Minutes later, 0xdef… is the Berachain destination hash: it records the executor’s transaction crediting your address.

Before delivery, your wallet shows the source transaction as successful, but there is no Berachain credit yet. After the executor submits the destination transaction, your Berachain balance includes the bridged assets and the token transfer shows your address as recipient. The address and intended amount stay the same; what changes is that the message has been delivered and Berachain now records the credit.

Use the source hash to look up the message, then use the destination hash to inspect the Berachain delivery. If you contact support, provide the source hash and the message GUID together. They identify the transaction you initiated and the exact cross-chain message to trace; the destination hash alone may not identify how the transfer began.

How Do I Use Each Hash?

Use the source hash to confirm what you sent and start tracking the message. Use the destination hash to confirm that Berachain recorded delivery and inspect the credited token transfer. The GUID connects those records, which is especially useful when several transfers have similar amounts or happened close together.

When the source transaction succeeds but LayerZero Scan has no destination hash yet, the delivery is still pending. The source transaction has emitted a message, but the destination transaction has not been submitted. A successful source transaction therefore answers what happened on Ethereum; it does not by itself show that Berachain has recorded delivery.

Once delivery appears, open the destination hash on Berachain’s explorer to see the transaction and token transfer to your address. This is the record to use when checking whether the assets arrived, while the source hash remains the record of your original deposit or burn.

Related

How long until the destination transaction appears?

The destination transaction appears after the message is verified and an executor submits delivery. The time can vary by route and network conditions, so use the message status in LayerZero Scan to see whether it is still being verified or awaiting delivery.

Can I see the bridged tokens on Berascan?

Yes. Search the destination hash on Berascan and inspect its token transfers for your address. The executor may be listed as the transaction sender even though the tokens were credited to you.

What if only the source transaction shows success?

Look up the source hash in LayerZero Scan and check the message status and GUID. If there is no destination hash, delivery has not yet been recorded on Berachain; give support the source hash and GUID so they can trace that message.

Top comments (0)