curl --request GET \
--url https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v3/transactionsByMasterchainBlock{
"transactions": [
{
"hash": "<string>",
"lt": "<string>",
"account": "<string>",
"now": 123,
"origStatus": "<string>",
"endStatus": "<string>",
"totalFees": "<string>"
}
]
}Retrieves a list of transactions for a specific masterchain block
curl --request GET \
--url https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v3/transactionsByMasterchainBlock{
"transactions": [
{
"hash": "<string>",
"lt": "<string>",
"account": "<string>",
"now": 123,
"origStatus": "<string>",
"endStatus": "<string>",
"totalFees": "<string>"
}
]
}transactionsByMasterchainBlock endpoint retrieves a list of transactions for a specific masterchain block in the TON blockchain. This endpoint allows you to fetch transactions associated with a particular block and provides options for pagination and sorting.
seqno (integer, required) — The sequence number of the masterchain block. Example: 40467413.limit (integer, optional) — The maximum number of transactions to return. Default: 128.offset (integer, optional) — The number of transactions to skip before starting to return results. Default: 0.sort (string, optional) — The sorting order of the transactions. Possible values: asc (ascending) or desc (descending). Default: desc.transactions (array) — An array of transaction objects, each containing:
hash (string) — The transaction hash.lt (string) — The logical time of the transaction.account (string) — The account address involved in the transaction.now (integer) — The timestamp of the transaction.origStatus (string) — The original status of the account.endStatus (string) — The end status of the account.totalFees (string) — The total fees for the transaction.transactionsByMasterchainBlock endpoint is useful for various applications that need to analyze or display transaction data for specific blocks:
The sequence number of the masterchain block
The maximum number of transactions to return
The number of transactions to skip before starting to return results
The sorting order of the transactions
asc, desc Successful response
Show child attributes
The transaction hash
The logical time of the transaction
The account address involved in the transaction
The timestamp of the transaction
The original status of the account
The end status of the account
The total fees for the transaction
Was this page helpful?