debug_getBadBlocks
Returns a list of the last bad blocks that the client has seen on the network.
Method: POST
Copy https://arbitrum.nownodes.io
Example body (raw )
Copy { "method" : "debug_getBadBlocks" , "params" : [] , "id" : 1 , "jsonrpc" : "2.0" }
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"id" : 1 ,
"result" : []
}
debug_storageRangeAt
Returns the contract storage for the specified range.
Method: POST
Copy https://arbitrum.nownodes.io
Example body (raw )
Copy { "method" : "debug_storageRangeAt" , "params" : [ "0x8d62b772854411691f20b6886776c51d726b1a4650d3f8a2c609d28ba1f021b8" , 0 , "0x9011a47a421440A24F55698ec4F2eF97b5F7757f" , "0x0000000000000000000000000000000000000000000000000000000000000000" , 1 ] , "id" : 1 , "jsonrpc" : "2.0" }
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"id" : 1 ,
"error" : {
"code" : -32603 ,
"message" : "method handler crashed"
}
}
debug_traceBlock
Returns a full stack trace of all invoked opcodes of all transactions that were included in a block.
Method: POST
Copy https://arbitrum.nownodes.io
Example body (raw )
Copy { "method" : "debug_traceBlock" , "params" : [ "rlp_encoded_block" , { "tracer" : "callTracer" }] , "id" : 1 , "jsonrpc" : "2.0" }
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"id" : 1 ,
"error" : {
"code" : -32602 ,
"message" : "invalid argument 0: json: cannot unmarshal hex string without 0x prefix into Go value of type hexutil.Bytes"
}
}
debug_traceBlockByHash
Returns the possible tracing result number by executing all transactions in the block specified by the block hash with a tracer (Trace Mode required).
Method: POST
Copy https://arbitrum.nownodes.io
Example body (raw )
Copy { "method" : "debug_traceBlockByHash" , "params" : [ "0x8d62b772854411691f20b6886776c51d726b1a4650d3f8a2c609d28ba1f021b8" , { "tracer" : "callTracer" }] , "id" : 1 , "jsonrpc" : "2.0" }
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"id" : 1 ,
"error" : {
"code" : -32000 ,
"message" : "required historical state unavailable (reexec=128)"
}
}
debug_traceBlockByNumber
Returns the tracing result by executing all transactions in the block specified by number with a tracer (Trace Mode required).
Method: POST
Copy https://arbitrum.nownodes.io
Example body (raw )
Copy { "method" : "debug_traceBlockByNumber" , "params" : [ "0x95BEE14" , { "tracer" : "callTracer" }] , "id" : 1 , "jsonrpc" : "2.0" }
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"id" : 1 ,
"error" : {
"code" : -32000 ,
"message" : "required historical state unavailable (reexec=128)"
}
}
debug_traceCall
Returns the number of possible tracing result by executing an eth call within the context of the given block execution (Trace Mode required).
Method: POST
Copy https://arbitrum.nownodes.io
Example body (raw )
Copy { "method" : "debug_traceCall" , "params" : [{ "from" : null , "to" : "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b" , "data" : "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07" } , "latest" , { "tracer" : "callTracer" }] , "id" : 1 , "jsonrpc" : "2.0" }
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"id" : 1 ,
"result" : {
"beforeEVMTransfers" : [
{
"purpose" : "feePayment" ,
"from" : "0x0000000000000000000000000000000000000000" ,
"to" : null ,
"value" : "0x0"
}
] ,
"afterEVMTransfers" : [
{
"purpose" : "gasRefund" ,
"from" : null ,
"to" : "0x0000000000000000000000000000000000000000" ,
"value" : "0x0"
} ,
{
"purpose" : "feeCollection" ,
"from" : null ,
"to" : "0xbF5041Fc07E1c866D15c749156657B8eEd0fb649" ,
"value" : "0x321626b400"
} ,
{
"purpose" : "feeCollection" ,
"from" : null ,
"to" : "0xa4B00000000000000000000000000000000000F6" ,
"value" : "0x1c28cf2b700"
}
] ,
"from" : "0x0000000000000000000000000000000000000000" ,
"gas" : "0x2fde466" ,
"gasUsed" : "0x347ee" ,
"to" : "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b" ,
"input" : "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07" ,
"value" : "0x0" ,
"type" : "CALL"
}
}
debug_traceTransaction
Returns all traces of a given transaction (Trace Mode required).
Method: POST
Copy https://arbitrum.nownodes.io
Example body (raw )
Copy { "method" : "debug_traceTransaction" , "params" : [ "0x3c9329b765d88c03d18f87dc1f2b5138c89d9a415d5c73dc7827b87aca176c8e" , { "tracer" : "callTracer" }] , "id" : 1 , "jsonrpc" : "2.0" }
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"id" : 1 ,
"error" : {
"code" : -32000 ,
"message" : "transaction not found"
}
}
Last updated 8 months ago