Tracing

Tracing API is only available on Ethereum mainnet.

The transaction network keeps tracing information on transactions for up to 14 days after they are seen by the network.

Tracing lets you know when and where our network saw the transaction first. To trace a transaction, use the following endpoint:

GET https://txs.merkle.io/trace/<hash>

Make sure a X-MBS-Key is passed in the headers. Get a key here.

Here is an example tracing a polygon transaction:

{
    "hash": "0xfdccc024d726b2c3e7131cb75949d4ac8616c36c1ef2bfb18fcd14cb0d0f1a61",
    "chainId": 1,
    "firstSeenAt": "2023-11-05T01:18:52.786145Z",
    "trace": [
        {
            "time": "2023-11-05T01:18:52.880935Z",
            "origin": "eth-ash-3"
        },
        {
            "time": "2023-11-05T01:18:52.786145Z",
            "origin": "eth-nbg-1"
        },
        {
            "time": "2023-11-05T01:18:52.798204Z",
            "origin": "eth-hel-2"
        },
        {
            "time": "2023-11-05T01:18:52.816157Z",
            "origin": "eth-ash-2"
        },
        {
            "time": "2023-11-05T01:18:52.914720Z",
            "origin": "eth-nbg-2"
        },
        {
            "time": "2023-11-05T01:18:52.837198Z",
            "origin": "eth-ash-1"
        }
    ],
    "txData": "02f8b4818981d98506fc23ac00850fbba29e5783038e85941de28cb80428c265e7f40a05066b68c31e8d7d0e80b8446e553f65000000000000000000000000000000000000000000000000d90c7122bf1c000000000000000000000000000058f1101f3632f1d0544197351fbded673f4b43f1c080a04e66285b920f8c6e779fdc4fca6c0ace0d0bedd5f127cebc82792242b8c36f44a04c05942e01d1b0bce437443f555e9652524fba3a10efbb3abf4abb6ca0e0ff38"
}

Last updated