Parameters
The number of blocks you want to fetch
Returns
The data object which contains the following fields:
The blocks object which contains the following fields:
An array containing individual block records.
The unique identifier of a block
An array containing the transactions within the block
The unique identifier of a transaction
An array of asset IDs used as inputs in the transaction, or null when the node omits input metadata for that transaction
An array containing the inputs used in the transaction, or null when the node omits input metadata for that transaction
The specific type of input or output in the transaction
(Optional) The address that owned the input in the transaction (InputCoin)
The unique identifier for the unspent transaction output (UTXO) related to the input (InputCoin, InputContract)
(Optional) The amount of the asset involved in the transaction (InputCoin, InputMessage)
(Optional) The unique identifier of the asset involved in the transaction (InputCoin)
(Optional) The contract identifier for a contract input (InputContract)
(Optional) The sender address for a message input (InputMessage)
(Optional) The recipient address for a message input (InputMessage)
(Optional) The payload data for a message input (InputMessage)
An array of outputs, representing where the transaction sends value
The specific type of input or output in the transaction
(Optional) The address which recieved the transaction (coin-style outputs)
(Optional) The amount of the asset involved in the transaction (coin-style outputs)
(Optional) The unique identifier of the asset involved in the transaction (coin-style outputs)
(Optional) The index of the input that this contract output is associated with (ContractOutput)
(Optional) The root hash representing the contracts balance state (ContractOutput)
(Optional) The root hash representing the contracts overall state (ContractOutput, ContractCreated)
(Optional) The contract identifier for a created contract output (ContractCreated)
GraphQL response metadata returned by the Fuel node.
The current consensus parameters version
The current Fuel block height
The current STF version