Comment on page
trace_block
Returns traces created at given block.
Quantity |Tag - Integer of a block number, or the string 'earliest', 'latest' or 'pending'.
Array - Block traces
// Request
curl https://ethereum.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" -d '{"method":"trace_block","params":["latest"],"id":1,"jsonrpc":"2.0"}'
// Result
{
"jsonrpc":"2.0",
"id":1,
"result":{as described above}
}
Last modified 1yr ago