GETGet block transactions (extended)
https://ton-mainnet.nodit.io/api/v2/getBlockTransactionsExtReturns full transaction objects for transactions in a specific block. Each transaction includes complete data: inbound and outbound messages, fees, and BoC-encoded raw data. Use count to limit results and after_lt/after_hash for pagination when incomplete is true.
The workchain to query. Use -1 for masterchain (validators, system contracts, config) or 0 for basechain (regular accounts and contracts). Most user transactions happen on workchain 0.
The shard identifier. Masterchain always uses -9223372036854775808. For basechain, shards split and merge dynamically. Use the shards endpoint to discover current shard configuration.
Block sequence number within the specified workchain and shard.
The block's root hash. Together with file_hash, uniquely identifies a block.
The block's file hash. Together with root_hash, uniquely identifies a block.
Pagination cursor. Pass the lt value from the last item in the previous response to get the next page. Transactions and messages are ordered by logical time.
Account ID in hex or base64 for block transaction pagination. Use together with after_lt from the last transaction in the previous page.
Maximum number of items to return. The default is 40. Use smaller values for faster responses or larger values to reduce the number of API calls.
Returns true if the request succeeded; otherwise false. See the error field for details.
TonLib type identifier for extended block transaction listings. Refer to the TonLib type reference for a full list.
Full block identifier for the queried block.
TonLib type identifier for full block identifiers. Refer to the TonLib type reference for a full list.
Workchain ID: -1 for masterchain, 0 for basechain.
Shard identifier as a signed 64-bit integer string. Masterchain uses -9223372036854775808.
Block sequence number within its workchain and shard. For the masterchain (workchain -1), this equals the global block height. For basechain shards (workchain 0), this is the sequence number local to that specific shard, not a global height.
The block's root hash. Together with file_hash, uniquely identifies a block.
Hash of the serialized block file. Together with root_hash, uniquely identifies a block.
The maximum number of transactions requested, as specified by the count request parameter. If incomplete is true, more transactions exist beyond this limit.
Returns true if there are more transactions in this block; otherwise false. Use the last transaction as cursor for pagination.
Array of full transaction objects. Each entry contains the account address, timestamps, inbound/outbound messages, fees (in nanograms), and the raw transaction BoC (base64).
Object type identifier.
Account address object for this transaction.
TonLib type identifier for account address objects. Refer to the TonLib type reference for a full list.
The account address in raw format (workchain:hex), e.g. 0:abc123.... Use the pack address endpoint to convert to user-friendly base64 format.
Unix timestamp when this transaction was executed.
Full transaction data serialized as BoC, base64 encoded.
The transaction identifier, represented by logical time and transaction hash.
TonLib type identifier for transaction ID references. Refer to the TonLib type reference for a full list.
Logical time of the transaction. Use together with its hash for pagination and lookups.
SHA-256 hash of this transaction, encoded in base64.
Total fees paid for this transaction, in nanograms.
Storage fees in nanograms deducted from the account balance during the storage phase of this transaction. Covers the cost of storing the contract state on-chain since the last transaction.
Fees in nanograms deducted from the account balance during the computation and action phases of this transaction. Covers the cost of TVM execution and processing outgoing messages.
The inbound message that triggered this transaction.
TonLib type identifier for raw message objects. Refer to the TonLib type reference for a full list.
SHA-256 hash of this message, encoded in base64.
Sender account address. Empty for external inbound messages.
TonLib type identifier for account address objects. Refer to the TonLib type reference for a full list.
The account address in raw format (workchain:hex), e.g. 0:abc123.... Use the pack address endpoint to convert to user-friendly base64 format.
Recipient account address.
TonLib type identifier for account address objects. Refer to the TonLib type reference for a full list.
The account address in raw format (workchain:hex), e.g. 0:abc123.... Use the pack address endpoint to convert to user-friendly base64 format.
GRAM amount transferred with this message, in nanograms.
Array of extra currencies (native blockchain-level tokens, distinct from Jettons) transferred in this message. Each entry contains a currency ID (integer) and amount (decimal string). Empty array if no extra currencies were transferred.
TonLib type identifier for extra currency balance entries. Refer to the TonLib type reference for a full list.
A 32-bit integer identifying the extra currency. Currency IDs are defined at the blockchain configuration level and stored in ConfigParam 7 of the masterchain. The extra-currency minting documentation describes the process.
Currency balance amount as a decimal string.
Forwarding fee deducted from the message value, in nanograms.
Instant Hypercube Routing (IHR) fee in nanograms.
Logical time when this message was created.
Hash of the message body.
Message body payload (raw, text comment, or encrypted).
TonLib type identifier for raw (binary) message bodies. Refer to the TonLib type reference for a full list.
Raw message body in BoC format, base64 encoded.
Contract init state (code + data) attached to this message, base64 encoded. Present only for deploy messages.
TonLib type identifier for plain text comment message bodies. Refer to the TonLib type reference for a full list.
UTF-8 text comment, base64 encoded.
TonLib type identifier for decrypted text message bodies. Refer to the TonLib type reference for a full list.
Decrypted UTF-8 text content, base64 encoded.
TonLib type identifier for encrypted text message bodies. Refer to the TonLib type reference for a full list.
Encrypted message payload, base64 encoded.
Array of outbound messages produced by this transaction. Each message contains sender and recipient address objects, GRAM amount (nanograms as string), forwarding fee, and raw message body.
TonLib type identifier for raw message objects. Refer to the TonLib type reference for a full list.
SHA-256 hash of this message, encoded in base64.
Sender account address. Empty for external inbound messages.
TonLib type identifier for account address objects. Refer to the TonLib type reference for a full list.
The account address in raw format (workchain:hex), e.g. 0:abc123.... Use the pack address endpoint to convert to user-friendly base64 format.
Recipient account address.
TonLib type identifier for account address objects. Refer to the TonLib type reference for a full list.
The account address in raw format (workchain:hex), e.g. 0:abc123.... Use the pack address endpoint to convert to user-friendly base64 format.
GRAM amount transferred with this message, in nanograms.
Array of extra currencies (native blockchain-level tokens, distinct from Jettons) transferred in this message. Each entry contains a currency ID (integer) and amount (decimal string). Empty array if no extra currencies were transferred.
TonLib type identifier for extra currency balance entries. Refer to the TonLib type reference for a full list.
A 32-bit integer identifying the extra currency. Currency IDs are defined at the blockchain configuration level and stored in ConfigParam 7 of the masterchain. The extra-currency minting documentation describes the process.
Currency balance amount as a decimal string.
Forwarding fee deducted from the message value, in nanograms.
Instant Hypercube Routing (IHR) fee in nanograms.
Logical time when this message was created.
Hash of the message body.
Message body payload (raw, text comment, or encrypted).
TonLib type identifier for raw (binary) message bodies. Refer to the TonLib type reference for a full list.
Raw message body in BoC format, base64 encoded.
Contract init state (code + data) attached to this message, base64 encoded. Present only for deploy messages.
TonLib type identifier for plain text comment message bodies. Refer to the TonLib type reference for a full list.
UTF-8 text comment, base64 encoded.
TonLib type identifier for decrypted text message bodies. Refer to the TonLib type reference for a full list.
Decrypted UTF-8 text content, base64 encoded.
TonLib type identifier for encrypted text message bodies. Refer to the TonLib type reference for a full list.
Encrypted message payload, base64 encoded.
The account address that this transaction belongs to.
Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.