Path Parameters
The height of the block to retrieve, starting from the genesis block as 0
Query Parameters
When set to true, all transactions are included in the block; otherwise, if not provided or set to false, no transactions will be retrieved
Returns
The height of the block
The hash of the block at the specified height
The time at which the block was created/added to the chain
The version number of the first transaction in the block
The version number of the last transaction in the block
An array containing the details of the transactions included in the block:
The type of the change
The hash of the transaction
Hash of the state checkpoint encoded in hex; null for some user transactions
(Optional) The account from which the transaction was sent
(Optional) The sequence of a transaction sent by the specific sender
(Optional) The maximum amount of gas allocated for the execution of a transaction
(Optional) The cost per unit of gas, determining the transaction fee paid by the sender for each unit of computational resource consumed
(Optional) The timestamp indicating the expiration period of a transaction, specifying the time until which the transaction can be included in a block
(Optional) The data that is being carried by a transaction. It contains the following fields:
The type of payload indicating the purpose of the data contained
The function associated with the payload
An array specifying the types of arguments provided to the function
An array containing the actual arguments passed to the function
(Optional) An array with the following fields:
The type of signature used to verify the authenticity of the function
The public key associated with the account that generated the signature, used for verifying the signature's validity
The actual signature generated using the private key corresponding to the public key provided