# LBTC GMP Mint Tracing

First, you need to get a transaction where LBTC minted or using Etherscan find `MessageDelivered` [event.](https://etherscan.io/advanced-filter?eladd=0x964677F337d6528d659b1892D0045B8B27183fc0\&eltpc=0xb174a65fbe3c90cc24a620623ea3d1702d72ed9960ddf173a437c8f77a62ffac)

![](https://1161095600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl7wTwC5uXA2Yk5tvZMBg%2Fuploads%2FzhtrCZJdYwh7q1BsixeH%2F01-message-delivered-event.png?alt=media\&token=e35c34c6-a242-4948-a084-1cc26342c9e0)

Make sure the caller is the `AssetRouter` address.

Using `nonce` from event find related transaction on Ledger querying:

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

Find `UTXOSpent` event

![](https://1161095600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl7wTwC5uXA2Yk5tvZMBg%2Fuploads%2FZ8wt5G2DvqpRswHXbhyl%2FSCR-20260330-kuaj.png?alt=media\&token=67d1ff75-0d99-4c3d-ba68-ab4c079664e9)

Decode `value` of `tx_id` from [Base64 to Hex.](https://base64.guru/converter/decode/hex)

![](https://1161095600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl7wTwC5uXA2Yk5tvZMBg%2Fuploads%2FWFetPLLh3w75OBdhrX67%2F03-base64-to-hex.png?alt=media\&token=651d7500-752a-4bc4-a2ab-b030b08c9eb5)

[Change the ordering of bytes.](https://blockchain-academy.hs-mittweida.de/litte-big-endian-converter/)

<figure><img src="https://1161095600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl7wTwC5uXA2Yk5tvZMBg%2Fuploads%2FI9YptGxfNPmGYpd243tw%2F04-byte-ordering.png?alt=media&#x26;token=87d951d6-3e68-4d4a-9682-2d1b2eb78eb3" alt=""><figcaption></figcaption></figure>

The big endian result is `txid`. `Vout` from event is number of output.
