arbtrace_block

Returns traces created at given block.

Parameters

  1. Quantity or Tag - Integer of a block number, or the string 'earliest', 'latest' or 'pending'.

Returns

  • Array - Block traces.

Example

Request

curl https://arbitrum-one.blastapi.io/<project-id>
-X POST \
-H "Content-Type: application/json" \
-d '{"method":"arbtrace_block","params":["0x2ed119"],"id":1,"jsonrpc":"2.0"}' 

Result

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": [{
        "action": {
            "callType": "call",
            "from": "0xfcb2229fb2da163b50f09de04cc1980de76f343c",
            "gas": "0x93dec",
            "input": "0x414bf38900000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc80000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000fcb2229fb2da163b50f09de04cc1980de76f343c000000000000000000000000000000000000000000000000000000006192fccd00000000000000000000000000000000000000000000000006f05b59d3b2000000000000000000000000000000000000000000000000000000000000771521680000000000000000000000000000000000000000000000000000000000000000",
            "to": "0xe592427a0aece92de3edee1f18e0157c05861564",
            "value": "0x6f05b59d3b20000"
        },
        "blockHash": "0xb09b5ba679e425e98780d7774e81e2e93a6829fe0cca12c7db17302677837e53",
        "blockNumber": 3068185,
        "result": {
            "gasUsed": "0x59df",
            "output": "0x00000000000000000000000000000000000000000000000000000000855f589e"
        },
        "subtraces": 1,
        "traceAddress": [],
        "transactionHash": "0xd1ac51ad8253cc6e22922b71a49aa76b858712e9db5c9a7fcde0487c6661c621",
        "transactionPosition": 0,
        "type": "call"
    }, {
        "action": {
            "callType": "call",
            "from": "0xe592427a0aece92de3edee1f18e0157c05861564",
            "gas": "0x907e5",
            "input": "0x128acb08000000000000000000000000fcb2229fb2da163b50f09de04cc1980de76f343c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000006f05b59d3b2000000000000000000000000000000000000000000000000000000000001000276a400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000fcb2229fb2da163b50f09de04cc1980de76f343c000000000000000000000000000000000000000000000000000000000000002b82af49447d8a07e3bd95bd0d56f35241523fbab1000bb8ff970a61a04b1ca14834a43f5de4533ebddb5cc8000000000000000000000000000000000000000000",
            "to": "0x17c14d2c404d167802b16c450d3c99f88f2c4f4d",
            "value": "0x0"
        },
        "blockHash": "0xb09b5ba679e425e98780d7774e81e2e93a6829fe0cca12c7db17302677837e53",
        "blockNumber": 3068185,
        "result": {
            "gasUsed": "0x35479",
            "output": "0x00000000000000000000000000000000000000000000000006f05b59d3b20000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff7aa0a762"
        },
        "subtraces": 4,
        "traceAddress": [0],
        "transactionHash": "0xd1ac51ad8253cc6e22922b71a49aa76b858712e9db5c9a7fcde0487c6661c621",
        "transactionPosition": 0,
        "type": "call"
    }, {
        "action": {
            "callType": "call",
            "from": "0x17c14d2c404d167802b16c450d3c99f88f2c4f4d",
            "gas": "0x8ca81",
            "input": "0xa9059cbb000000000000000000000000fcb2229fb2da163b50f09de04cc1980de76f343c00000000000000000000000000000000000000000000000000000000855f589e",
            "to": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
            "value": "0x0"
        },
        "blockHash": "0xb09b5ba679e425e98780d7774e81e2e93a6829fe0cca12c7db17302677837e53",
        "blockNumber": 3068185,
        "result": {
            "gasUsed": "0x7c6",
            "output": "0x0000000000000000000000000000000000000000000000000000000000000001"
        },
        "subtraces": 1,
        "traceAddress": [0, 0],
        "transactionHash": "0xd1ac51ad8253cc6e22922b71a49aa76b858712e9db5c9a7fcde0487c6661c621",
        "transactionPosition": 0,
        "type": "call"
    }, {
        "action": {
            "callType": "delegatecall",
            "from": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
            "gas": "0x8a603",
            "input": "0xa9059cbb000000000000000000000000fcb2229fb2da163b50f09de04cc1980de76f343c00000000000000000000000000000000000000000000000000000000855f589e",
            "to": "0x1efb3f88bc88f03fd1804a5c53b7141bbef5ded8",
            "value": "0x0"
        },
        "blockHash": "0xb09b5ba679e425e98780d7774e81e2e93a6829fe0cca12c7db17302677837e53",
        "blockNumber": 3068185,
        "result": {
            "gasUsed": "0x631",
            "output": "0x0000000000000000000000000000000000000000000000000000000000000001"
        },
        "subtraces": 0,
        "traceAddress": [0, 0, 0],
        "transactionHash": "0xd1ac51ad8253cc6e22922b71a49aa76b858712e9db5c9a7fcde0487c6661c621",
        "transactionPosition": 0,
        "type": "call"
    }, {
        "action": {
            "callType": "staticcall",
            "from": "0x17c14d2c404d167802b16c450d3c99f88f2c4f4d",
            "gas": "0x8c0a7",
            "input": "0x70a0823100000000000000000000000017c14d2c404d167802b16c450d3c99f88f2c4f4d",
            "to": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
            "value": "0x0"
        },
        "blockHash": "0xb09b5ba679e425e98780d7774e81e2e93a6829fe0cca12c7db17302677837e53",
        "blockNumber": 3068185,
        "result": {
            "gasUsed": "0x31d",
            "output": "0x00000000000000000000000000000000000000000000000fda9e2d8a1384d405"
        },
        "subtraces": 1,
        "traceAddress": [0, 1],
        "transactionHash": "0xd1ac51ad8253cc6e22922b71a49aa76b858712e9db5c9a7fcde0487c6661c621",
        "transactionPosition": 0,
        "type": "call"
    }, {
        "action": {
            "callType": "delegatecall",
            "from": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
            "gas": "0x89c56",
            "input": "0x70a0823100000000000000000000000017c14d2c404d167802b16c450d3c99f88f2c4f4d",
            "to": "0x8b194beae1d3e0788a1a35173978001acdfba668",
            "value": "0x0"
        },
        "blockHash": "0xb09b5ba679e425e98780d7774e81e2e93a6829fe0cca12c7db17302677837e53",
        "blockNumber": 3068185,
        "result": {
            "gasUsed": "0x190",
            "output": "0x00000000000000000000000000000000000000000000000fda9e2d8a1384d405"
        },
        "subtraces": 0,
        "traceAddress": [0, 1, 0],
        "transactionHash": "0xd1ac51ad8253cc6e22922b71a49aa76b858712e9db5c9a7fcde0487c6661c621",
        "transactionPosition": 0,
        "type": "call"
    }, {
        "action": {
            "callType": "call",
            "from": "0x17c14d2c404d167802b16c450d3c99f88f2c4f4d",
            "gas": "0x8bb1a",
            "input": "0xfa461e3300000000000000000000000000000000000000000000000006f05b59d3b20000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff7aa0a762000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000fcb2229fb2da163b50f09de04cc1980de76f343c000000000000000000000000000000000000000000000000000000000000002b82af49447d8a07e3bd95bd0d56f35241523fbab1000bb8ff970a61a04b1ca14834a43f5de4533ebddb5cc8000000000000000000000000000000000000000000",
            "to": "0xe592427a0aece92de3edee1f18e0157c05861564",
            "value": "0x0"
        },
        "blockHash": "0xb09b5ba679e425e98780d7774e81e2e93a6829fe0cca12c7db17302677837e53",
        "blockNumber": 3068185,
        "result": {
            "gasUsed": "0x324a3",
            "output": "0x"
        },
        "subtraces": 2,
        "traceAddress": [0, 2],
        "transactionHash": "0xd1ac51ad8253cc6e22922b71a49aa76b858712e9db5c9a7fcde0487c6661c621",
        "transactionPosition": 0,
        "type": "call"
    }, {
        "action": {
            "callType": "call",
            "from": "0xe592427a0aece92de3edee1f18e0157c05861564",
            "gas": "0x88e52",
            "input": "0xd0e30db0",
            "to": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
            "value": "0x6f05b59d3b20000"
        },
        "blockHash": "0xb09b5ba679e425e98780d7774e81e2e93a6829fe0cca12c7db17302677837e53",
        "blockNumber": 3068185,
        "result": {
            "gasUsed": "0x31276",
            "output": "0x"
        },
        "subtraces": 1,
        "traceAddress": [0, 2, 0],
        "transactionHash": "0xd1ac51ad8253cc6e22922b71a49aa76b858712e9db5c9a7fcde0487c6661c621",
        "transactionPosition": 0,
        "type": "call"
    }, {
        "action": {
            "callType": "delegatecall",
            "from": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
            "gas": "0x86acc",
            "input": "0xd0e30db0",
            "to": "0x8b194beae1d3e0788a1a35173978001acdfba668",
            "value": "0x6f05b59d3b20000"
        },
        "blockHash": "0xb09b5ba679e425e98780d7774e81e2e93a6829fe0cca12c7db17302677837e53",
        "blockNumber": 3068185,
        "result": {
            "gasUsed": "0x310fc",
            "output": "0x"
        },
        "subtraces": 0,
        "traceAddress": [0, 2, 0, 0],
        "transactionHash": "0xd1ac51ad8253cc6e22922b71a49aa76b858712e9db5c9a7fcde0487c6661c621",
        "transactionPosition": 0,
        "type": "call"
    }, {
        "action": {
            "callType": "call",
            "from": "0xe592427a0aece92de3edee1f18e0157c05861564",
            "gas": "0x58739",
            "input": "0xa9059cbb00000000000000000000000017c14d2c404d167802b16c450d3c99f88f2c4f4d00000000000000000000000000000000000000000000000006f05b59d3b20000",
            "to": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
            "value": "0x0"
        },
        "blockHash": "0xb09b5ba679e425e98780d7774e81e2e93a6829fe0cca12c7db17302677837e53",
        "blockNumber": 3068185,
        "result": {
            "gasUsed": "0x6c8",
            "output": "0x0000000000000000000000000000000000000000000000000000000000000001"
        },
        "subtraces": 1,
        "traceAddress": [0, 2, 1],
        "transactionHash": "0xd1ac51ad8253cc6e22922b71a49aa76b858712e9db5c9a7fcde0487c6661c621",
        "transactionPosition": 0,
        "type": "call"
    }, {
        "action": {
            "callType": "delegatecall",
            "from": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
            "gas": "0x56fca",
            "input": "0xa9059cbb00000000000000000000000017c14d2c404d167802b16c450d3c99f88f2c4f4d00000000000000000000000000000000000000000000000006f05b59d3b20000",
            "to": "0x8b194beae1d3e0788a1a35173978001acdfba668",
            "value": "0x0"
        },
        "blockHash": "0xb09b5ba679e425e98780d7774e81e2e93a6829fe0cca12c7db17302677837e53",
        "blockNumber": 3068185,
        "result": {
            "gasUsed": "0x537",
            "output": "0x0000000000000000000000000000000000000000000000000000000000000001"
        },
        "subtraces": 0,
        "traceAddress": [0, 2, 1, 0],
        "transactionHash": "0xd1ac51ad8253cc6e22922b71a49aa76b858712e9db5c9a7fcde0487c6661c621",
        "transactionPosition": 0,
        "type": "call"
    }, {
        "action": {
            "callType": "staticcall",
            "from": "0x17c14d2c404d167802b16c450d3c99f88f2c4f4d",
            "gas": "0x5a1e4",
            "input": "0x70a0823100000000000000000000000017c14d2c404d167802b16c450d3c99f88f2c4f4d",
            "to": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
            "value": "0x0"
        },
        "blockHash": "0xb09b5ba679e425e98780d7774e81e2e93a6829fe0cca12c7db17302677837e53",
        "blockNumber": 3068185,
        "result": {
            "gasUsed": "0x31d",
            "output": "0x00000000000000000000000000000000000000000000000fe18e88e3e736d405"
        },
        "subtraces": 1,
        "traceAddress": [0, 3],
        "transactionHash": "0xd1ac51ad8253cc6e22922b71a49aa76b858712e9db5c9a7fcde0487c6661c621",
        "transactionPosition": 0,
        "type": "call"
    }, {
        "action": {
            "callType": "delegatecall",
            "from": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
            "gas": "0x58a0e",
            "input": "0x70a0823100000000000000000000000017c14d2c404d167802b16c450d3c99f88f2c4f4d",
            "to": "0x8b194beae1d3e0788a1a35173978001acdfba668",
            "value": "0x0"
        },
        "blockHash": "0xb09b5ba679e425e98780d7774e81e2e93a6829fe0cca12c7db17302677837e53",
        "blockNumber": 3068185,
        "result": {
            "gasUsed": "0x190",
            "output": "0x00000000000000000000000000000000000000000000000fe18e88e3e736d405"
        },
        "subtraces": 0,
        "traceAddress": [0, 3, 0],
        "transactionHash": "0xd1ac51ad8253cc6e22922b71a49aa76b858712e9db5c9a7fcde0487c6661c621",
        "transactionPosition": 0,
        "type": "call"
    }]
}

Last updated