Skip to Content
BuildDirect IntegrationsLBTC GMP Mint Tracing

LBTC GMP Mint Tracing

Step-by-step guide for tracing LBTC minting transactions through multiple blockchain systems.


Step 1: Identify MessageDelivered Event

Locate an LBTC minting transaction on Etherscan. Find the MessageDelivered event and confirm that the caller is the AssetRouter address.


Step 2: Query the Ledger

Use the nonce value from the event to search the Ledger blockchain:

https://mainnet-rpc.lombard-fi.com/tx_search?query="ledger.gmp.MessageSent.nonce='\"77\"'"&prove=true

Replace 77 with your actual nonce value.


Step 3: Find UTXOSpent Event

Locate the UTXOSpent event in the Ledger transaction results.


Step 4: Decode the Transaction ID

  1. Take the tx_id value from the UTXOSpent event
  2. Convert from Base64 to hexadecimal format
  3. Reverse the byte ordering (little-endian to big-endian conversion)
  4. The resulting big-endian value is your Bitcoin transaction ID (txid)

Step 5: Get the Output Reference

The vout number from the UTXOSpent event identifies the specific output in the Bitcoin transaction.

This complete process enables transaction tracing from Ethereum through the Lombard Ledger to the originating Bitcoin transaction.

Last updated on