/getBlockTransactions REST API Endpoint
Query Parameters
workchain
integer
REQUIRED
Identifies the workchain
shard
string
REQUIRED
The shard identifier
seqno
integer
REQUIRED
The sequence number of the block
root_hash
string
The root hash of the block
file_hash
string
The file hash of the block
after_lt
string
Specifies the logical time (LT) of the last transaction from which to continue fetching the next set of transactions
after_hash
string
Specifies the hash of the block that contains the last transaction from which to continue fetching transactions
count
string
Defines the number of transactions to retrieve in the response
Returns
ok
boolean
Indicates whether the response was successful
result
object
The result object which contains the following fields:
@type
string
Specifies the type of result
id
object
The id object which contains the following fields:
@type
string
Specifies the type of block ID
workchain
integer
Identifies the workchain
shard
string
The shard identifier
seqno
integer
The sequence number of the block
root_hash
string
The root hash of the block
file_hash
string
The file hash of the block
req_count
integer
The number of transactions requested
incomplete
boolean
Indicates whether the transaction list is incomplete (false means it's complete)
transactions
array
The transaction array which contains the following fields:
@type
string
Specifies the type of object representing a short transaction ID
mode
integer
A mode flag describing the transactions properties
account
string
The address of the account involved in the transaction
lt
string
Logical time (LT) of the transaction, a unique identifier in the blockchain
hash
string
The hash of the transaction
@extra
string
Extra information for internal processing or tracking
Request
1curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/getBlockTransactions?workchain=-1&shard=-9223372036854775808&seqno=40921420&count=40' \2--header 'accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free