solscan logo
Register NowRegister Now

block transactions

get

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

Get the list of transactions of a block

QUERY PARAMS

block

number

required

The slot index of a block

page

number

Page number for pagination

page_size

number

Number of items per page

exclude_vote

boolean

Excludes vote transactions from the results

program

string

The program used to filter transactions that interact with it

RESPONSES

200

OK

Response Body

success

boolean

Status of Api

total

number

The total number of transactions in this block

slot

number

Slot number of the transaction

fee

number

The fee of the transaction

status

string

The status of the transaction: Success or Fail

signer

string

block_time

number

The Unix time of the slot

tx_hash

string

Transaction signature

parsed_instructions

program_ids

string

time

string

The time of the slot

400

Bad Request

Response Body

401

Authentication failed

Response Body

429

Too Many Requests

Response Body

500

Internal Server Error

Response Body

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