Skip to main content

getLastBlock Query

Get the most recent block on the blockchain.

Updated on
Oct 16, 2024

Parameters

This method does not accept any parameters

Returns

data
object

The data object which contains the following fields:

chain
object

The object that holds information about the blockchain network

latestBlock
object

The object containing details of the latest block in the blockchain

id
string

The unique identifier (hash) of the latest block

height
string

The block height of the latest block

extensions
object

GraphQL response metadata returned by the Fuel node.

current_consensus_parameters_version
integer

The current consensus parameters version

current_fuel_block_height
integer

The current Fuel block height

current_stf_version
integer

The current STF version

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free