block
Description
Returns details of a specific block from Aleo blockchain.
Method Parameters
params
-Object
:block
-number
: Height of desired block.
Returns
result
-Array<Object>
: An array of one object containing details of the requested block, empty if not found.The requested block -
Object
:id
-number
: Unique identifier for the block.height
-string
: The height of the block in the blockchain.block_hash
-string
: The hash of the block.previous_hash
-string
: The hash of the previous block.previous_state_root
-string
: The root hash of the previous state.transactions_root
-string
: The root hash of the transactions in the block.round
-string
: The round number of the block.coinbase_target
-string
: The target for coinbase.proof_target
-string
: The proof target.last_coinbase_target
-string
: The target for the last coinbase.last_coinbase_timestamp
-string
: The timestamp of the last coinbase.timestamp
-string
: The timestamp of the block.scoinbase_reward
-null | string
: The reward for the coinbase.finalize_root
-string
: The finalize root hash.network
-number
: The network identifier.ratifications_root
-string
: The root hash of ratifications.solutions_root
-string
: The root hash of solutions.subdag_root
-string
: The subdag root hash.cumulative_weight
-string
: The cumulative weight of the block.cumulative_proof_target
-string
: The cumulative proof target.
Example
Request
Response
Last updated