Skip to main content

/getBlockTransactionsExt REST API Endpoint

Get transactions of the given block.

Updated on
Oct 23, 2024

/getBlockTransactionsExt 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
address
object
The address object which contains the following fields:
@type
string
Type that holds the account address information
account_address
string
The account address for this transaction
utime
integer
The Unix timestamp when the transaction occurred
data
string
The raw transaction data in base64 format
transaction_id
object
The transaction_id object which contains the following fields:
@type
string
The type of transaction
lt
string
The logical time of the transaction
hash
string
The hash of the transaction
fee
string
Total fee paid for the transaction
storage_fee
string
The storage fee paid for this transaction
other_fee
string
Any other fees associated with this transaction
in_msg
object
(Optional) The in_msg object which contains the following fields:
@type
string
Specifies the message type as raw
source
object
The source object which contains the following fields:
@type
string
Type of the source account
account_address
string
The source account address sending the message
destination
object
The destination object which contains the following fields:
@type
string
Type of the destination account
account_address
string
The destination account receiving the message
value
string
The value transferred in this message, expressed in nanotons
fwd_fee
string
The forwarding fe
ihr_fee
string
The Instant Hypercube Routing (IHR) fee
created_lt
string
Logical time when the message was created
body_hash
string
The hash of the message body
msg_data
object
The msg_data object which contains the following fields:
@type
string
Indicates that the message data is in raw format
body
string
The body of the message, encoded in base64
init_state
string
The initial state of the message
out_msgs
array
(Optional) An outgoing messages associated with the transaction
account
string
The account involved in the transaction
@extra
string
Extra information for internal processing or tracking
Request
1
curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/getBlockTransactionsExt?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