debug_traceBlockByNumber

Returns the receipt of a transaction by transaction hash.

Method: POST

https://lukso.nownodes.io

Example body (raw)

{
    "method": "debug_traceBlockByNumber",
    "params": [
        "0x2B0E09",
        {
            "tracer": "callTracer"
        }
    ],
    "id": 1,
    "jsonrpc": "2.0"
}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": [
        {
            "txHash": "0x23644498b6487fdb16e6897bf8500ef087fd8d5cc06687ffecb0ef39b45e5260",
            "result": {
                "from": "0xeff85d6f71a235ad4716d68ad1201573129c2a7a",
                "gas": "0x5f370",
                "gasUsed": "0x207f1",
                "to": "0xbbde8294116abe5305d031f6300f6aa34a622205",
                "input": "0x44c028fe000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016f371bc554c38e4bb8f5e6d2617c9ae3dd5dcbf0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000244dbf27cc0000000000000000000000003b38cdfa45fb8514bc148743a7f4b0f9a771793700000000000000000000000000000000000000000000000000000000",
                "output": "0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000",
                "calls": [
                    {
                        "from": "0xbbde8294116abe5305d031f6300f6aa34a622205",
                        "gas": "0x57acc",
                        "gasUsed": "0x1f326",
                        "to": "0x3024d38ea2434ba6635003dc1bdc0dab5882ed4f",
                        "input": "0x44c028fe000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016f371bc554c38e4bb8f5e6d2617c9ae3dd5dcbf0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000244dbf27cc0000000000000000000000003b38cdfa45fb8514bc148743a7f4b0f9a771793700000000000000000000000000000000000000000000000000000000",
                        "output": "0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000",
                        "calls": [
                            {
                                "from": "0xbbde8294116abe5305d031f6300f6aa34a622205",
                                "gas": "0x54d22",
                                "gasUsed": "0x91d4",
                                "to": "0xb4ed5937ca0dbe86ba42cb8f3fe26361ef816f7c",
                                "input": "0xde928f14000000000000000000000000eff85d6f71a235ad4716d68ad1201573129c2a7a000000000000000000000000bbde8294116abe5305d031f6300f6aa34a622205000000000000000000000000eff85d6f71a235ad4716d68ad1201573129c2a7a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e444c028fe000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016f371bc554c38e4bb8f5e6d2617c9ae3dd5dcbf0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000244dbf27cc0000000000000000000000003b38cdfa45fb8514bc148743a7f4b0f9a77179370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
                                "output": "0xde928f0100000000000000000000000000000000000000000000000000000000",
                                "calls": [
                                    {
                                        "from": "0xb4ed5937ca0dbe86ba42cb8f3fe26361ef816f7c",
                                        "gas": "0x52d7e",
                                        "gasUsed": "0x8716",
                                        "to": "0x2fe3aed98684e7351ad2d408a43ce09a738bf8a4",
                                        "input": "0xde928f14000000000000000000000000eff85d6f71a235ad4716d68ad1201573129c2a7a000000000000000000000000bbde8294116abe5305d031f6300f6aa34a622205000000000000000000000000eff85d6f71a235ad4716d68ad1201573129c2a7a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e444c028fe000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016f371bc554c38e4bb8f5e6d2617c9ae3dd5dcbf0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000244dbf27cc0000000000000000000000003b38cdfa45fb8514bc148743a7f4b0f9a77179370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
                                        "output": "0xde928f0100000000000000000000000000000000000000000000000000000000",
                                        "calls": [
                                            {
                                                "from": "0xb4ed5937ca0dbe86ba42cb8f3fe26361ef816f7c",
                                                "gas": "0x4bbba",
                                                "gasUsed": "0x1670",
                                                "to": "0xbbde8294116abe5305d031f6300f6aa34a622205",
                                                "input": "0x54f6127f4b80742de2bf82acb3630000eff85d6f71a235ad4716d68ad1201573129c2a7a",
                                                "output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000007f3f06",
                                                "calls": [
                                                    {
                                                        "from": "0xbbde8294116abe5305d031f6300f6aa34a622205",
                                                        "gas": "0x4a846",
                                                        "gasUsed": "0x15bb",
                                                        "to": "0x3024d38ea2434ba6635003dc1bdc0dab5882ed4f",
                                                        "input": "0x54f6127f4b80742de2bf82acb3630000eff85d6f71a235ad4716d68ad1201573129c2a7a",
                                                        "output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000007f3f06",
                                                        "value": "0x0",
                                                        "type": "DELEGATECALL"
                                                    }
...

Last updated