curl --request POST \
--url https://starknet-mainnet.core.chainstack.com/365cf697a3ad6d950b4c4a911e2e4f4d \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "starknet_traceBlockTransactions",
"params": {
"block_id": {
"block_number": 456600
}
}
}
'{}starknet_traceBlockTransactions
curl --request POST \
--url https://starknet-mainnet.core.chainstack.com/365cf697a3ad6d950b4c4a911e2e4f4d \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "starknet_traceBlockTransactions",
"params": {
"block_id": {
"block_number": 456600
}
}
}
'{}block_id — the hash of the requested block, or number (height) of the requested block, or a block tag:
block_hash — hash of the block.block_number — block number, accept integer.block_tag — latest for the latest one added to the chain or pending for the pending one.result — the execution trace of all transactions in the block, represented as a list of transaction traces.starknet_traceBlockTransactions is to analyze the execution of transactions in a specific block. This can be useful for debugging purposes, as it allows developers to understand the sequence of operations that were performed during the execution of each transaction.
curl 'https://alpha-mainnet.starknet.io/feeder_gateway/get_block_traces?blockNumber=456600'
Was this page helpful?