solscan logo
Register NowRegister Now

block detail

get

https://pro-api.solscan.io/v2.0/block/detail

Get the details of a block

QUERY PARAMS

block

number

required

The slot index of a block

RESPONSES

200

OK

Response Body (application/json)

success

boolean

Status of Api

fee_rewards

number

The total fee rewards for this block

transactions_count

number

The number of transactions of this block

block_height

number

The number of blocks beneath this block

block_time

number

The Unix time of this block

time

string

The time of this block

blockhash

string

The blockhash of this block

parent_slot

number

The slot index of this block's parent

previous_block_hash

string

The blockhash of this block's parent

400

Bad Request

Response Body (application/json)

401

Authentication failed

Response Body (application/json)

429

Too Many Requests

Response Body (application/json)

500

Internal Server Error

Response Body (application/json)

icon

Javascript

icon

Python

icon

Shell

icon

Go

icon

C#

Authorization

Response

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

Response Examples