getBlockTransactionsExt - Ton

getBlockTransactionsExt. Retrieves extended information about the transactions within a specified block on the TON blockchain, including detailed metadata and transaction status.

getBlockTransactionsExt - ton [Value: 100CU]
Retrieves a list of transactions included in a specified block on the TON blockchain, providing insights into the activities within that block.
Use cases

Use cases

  • Retrieve transactions in a TON block
  • Analyze block transaction data
  • Audit transactions within a block
Constraints

Constraints

  • Requires a valid block ID
  • Only accesses existing block data
  • Depends on node sync
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request GET \
     --url  'https://ton.drpc.org/rest/getBlockTransactionsExt?workchain=0&shard=-9223372036854775808&seqno=1000000' \
     --header 'accept: application/json'
Copy
Response
200
{
    "ok": true,
    "result": [
        {
            "transaction_id": "0:abcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdef",
            "from": "EQD1Lp1KcmGHFpE8eIvL1mnHT83b4HdB8HJxuSfq6Rq4zGyN",
            "to": "EQDzSp9Qc6KcJXGJc7NkSVxj2pzLsmM4NdFpc8i2dZqjU9i9",
            "amount": "3000000000",
            "lt": 47597573000002,
            "fee": "100000",
            "timestamp": 1693527600,
            "status": "completed",
            "block_id": "0:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
            "in_msg": {
                "src": "EQD1Lp1KcmGHFpE8eIvL1mnHT83b4HdB8HJxuSfq6Rq4zGyN",
                "dest": "EQDzSp9Qc6KcJXGJc7NkSVxj2pzLsmM4NdFpc8i2dZqjU9i9",
                "value": "3000000000",
                "message": "Payment for goods"
            },
            "out_msgs": [
                {
                    "dest": "EQDzSp9Qc6KcJXGJc7NkSVxj2pzLsmM4NdFpc8i2dZqjU9i9",
                    "value": "2999000000",
                    "fee": "100000",
                    "status": "completed",
                    "message": "Processed"
                }
            ]
        },
        {
            "transaction_id": "0:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
            "from": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",
            "to": "EQC7VpEHw2DA9hxkdx_WXv9NSkb_v_KVQMY2Le4a4Fk9DUqQ",
            "amount": "1500000000",
            "lt": 47597573000001,
            "fee": "75000",
            "timestamp": 1693527500,
            "status": "completed",
            "block_id": "0:abcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdef",
            "in_msg": {
                "src": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",
                "dest": "EQC7VpEHw2DA9hxkdx_WXv9NSkb_v_KVQMY2Le4a4Fk9DUqQ",
                "value": "1500000000",
                "message": "Subscription payment"
            },
            "out_msgs": [
                {
                    "dest": "EQC7VpEHw2DA9hxkdx_WXv9NSkb_v_KVQMY2Le4a4Fk9DUqQ",
                    "value": "1499250000",
                    "fee": "75000",
                    "status": "completed",
                    "message": "Processed"
                }
            ]
        }
    ]
}

Copy

Request params

Parametersobject
object
workchaininteger
Represents the workchain ID; 0 denotes the masterchain (TON's main chain).
shardinteger
Denotes the shard ID; -9223372036854775808 represents the leftmost shard.
seqnointeger
The sequence number of the block.

Response

200

Response params

object
okboolean
Indicates if the request was successful.
resultarray
List of transaction details.
object
transaction_idstring
Unique identifier of the transaction.
fromstring
Address of the sender.
tostring
Address of the recipient.
amountstring
Amount transferred in the transaction, in the smallest units.
ltinteger
Logical time associated with the transaction.
feestring
Fee paid for the transaction.
timestampinteger
Unix timestamp when the transaction occurred.
statusstring
Current status of the transaction (e.g., completed).
block_idstring
Identifier of the block containing the transaction.
in_msgobject
Details of the incoming message for the transaction.
object
srcstring
Source address of the incoming message.
deststring
Destination address of the incoming message.
valuestring
Value transferred in the incoming message.
messagestring
Message associated with the incoming transaction.
out_msgsarray
List of outgoing messages associated with the transaction.
object
deststring
Destination address of the outgoing message.
valuestring
Value transferred in the outgoing message.
feestring
Fee associated with the outgoing message.
statusstring
Status of the outgoing message.
messagestring
Message associated with the outgoing transaction.