Parameters
- heightstring
The height of the block, or the string final and sealed are also supported. This parameter is incompatible with start_height and end_height
- start_heightstring
The starting height of the block range. It must be used with end_height. This parameter is incompatible with height
- end_heightstring
The ending height of the block range. It must be used with start_height. This parameter is incompatible with height
- expandstring
A comma-separated list indicating which properties of the content to expand
- selectstring
A comma-separated list indicating which properties of the content to return
Returns
- arrayarray
An array of block objects for the requested height range or heights
- headerobject
The block header which contains the following fields:
- idstring
A 32-byte unique identifier for an entity
- parent_idstring
The id of the parent block that preceded the current block
- heightstring
The height of the current block
- timestampstring
The timestamp of when the current block was created
- parent_voter_signaturestring
The signature of the validator node that voted for the parent block
- payloadobject
The block payload which contains the following fields:
- collection_guaranteesarray
It provides additional security and reliability guarantees for collections of transactions or blocks on the Flow blockchain
- collection_idstring
A 32-byte unique id of a collection
- signer_indicesarray
It represents the indices of the accounts that signed the collection
- signaturestring
A cryptographic signature of the collection guarantees
- block_sealsarray
It refers to the cryptographic signatures and approvals that validate and secure a specific block of transactions
- block_idstring
The unique id of the block that the block seals are associated with
- result_idstring
The unique id of the result
- final_statestring
The root hash of the state tree
- aggregated_approval_signaturesarray
It refers to the combined cryptographic signatures of multiple nodes that approved a specific block of transactions
- verifier_signaturesarray
The cryptographic signatures of the nodes that acted as verifiers for the block
- signer_idsarray
The list of signer ids
- execution_resultobject
The execution result object which contains the following fields:
- idstring
The unique id of the execution result
- block_idstring
The unique id of the block that contains the transactions that generated the execution result
- eventsarray
An array of events that were emitted during the execution of the transactions. It contains the following fields:
- typestring
The type of the event, which is typically a string that identifies the purpose or function of the event
- transaction_idstring
The unique id of the transaction that emitted the event
- transaction_indexstring
The index of the transaction that emitted the event
- event_indexstring
The index of the event within the transaction
- payloadstring
The data payload associated with the event, which can be used to provide additional information about the event
- chunksarray
An array of data chunks generated during the execution of the transaction. It contains the following fields:
- collection_indexstring
The index of the collection that the chunk belongs to
- start_statestring
The state of the blockchain before the execution of the chunk
- event_collectionstring
The collection of events that were emitted during the execution of the chunk
- block_idstring
The ID of the block that the chunk belongs to
- total_computation_usedstring
The total amount of computation resources that were consumed during the execution of the chunk
- number_of_transactionsstring
The number of transactions that were included in the chunk
- indexstring
The index of the chunk within the block
- end_statestring
The state of the blockchain after the execution of the chunk
- previous_result_idstring
The unique id of the previous execution result
- _linksobject
An object that contains links to related resources or endpoints
- _selfstring
It is a link that refers to the current resource itself. In this case, it is the block resource requested
- _expandableobject
The items inside the _expandable object can be expanded by passing as the query parameter in the request. For this method, the parameters payload and execution_result have been added to the request
- _linksobject
An object that contains links to related resources or endpoints
- _selfstring
It is a link that refers to the current resource itself. In this case, it is the block resource requested