Last Block Ago

This API Endpoint, Last Block Ago, retrieves the most recent block details from a specific blockchain.

The endpoint expects one parameter: 'chain_id'. This query parameter represents the ID of a blockchain and it should be included in your request as a string.

The SQL query executes to the blockchain you specify via the 'chain_id' and returns the most recent block's timestamp, the block number, and the seconds that have elapsed since the block was created. The time is calculated by subtracting the timestamp of the block from the current time.

The output of this API Endpoint is a table that provides the number and timestamp of the recently created block, along with the number of seconds passed since the block creation. The table follows the standard SQL table structure and visualization.
Clone, Modify, Create API here at View query

Language
Authorization
Query
Click Try It! to start a request and see the response here!