transactionsByMasterchainBlock - Ton

transactionsByMasterchainBlock. Retrieves all transactions contained within a specified masterchain block

transactionsByMasterchainBlock - ton [Value: 100CU]
Retrieves all transactions contained within a specified masterchain block
Use cases

Use cases

  • Retrieve transactions in a masterchain block
  • Analyze transactions by block
  • Audit block-specific transaction data
Constraints

Constraints

  • Needs valid masterchain block ID
  • Supports Transactions V3 only
  • Depends on 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/api/v3/transactionsByMasterchainBlock?seqno=40467413&limit=128&offset=0&sort=desc' \
     --header 'accept: application/json'
Copy
Response
200
{
    "ok": true,
    "result": [
        {
            "transaction_id": "0:abcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdef",
            "from": "EQD1Lp1KcmGHFpE8eIvL1mnHT83b4HdB8HJxuSfq6Rq4zGyN",
            "to": "EQDzSp9Qc6KcJXGJc7NkSVxj2pzLsmM4NdFpc8i2dZqjU9i9",
            "amount": "2500000000",
            "lt": 47597573000002,
            "fee": "100000",
            "timestamp": 1693527600,
            "status": "completed",
            "block_id": "0:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
            "message": "Payment for services"
        },
        {
            "transaction_id": "0:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
            "from": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",
            "to": "EQC7VpEHw2DA9hxkdx_WXv9NSkb_v_KVQMY2Le4a4Fk9DUqQ",
            "amount": "1000000000",
            "lt": 47597573000001,
            "fee": "75000",
            "timestamp": 1693527500,
            "status": "completed",
            "block_id": "0:abcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdef",
            "message": "Monthly subscription payment"
        }
    ]
}

Copy

Request params

Parametersobject
object
limitinteger
The maximum number of blocks to return. Default is 128.
offsetinteger
The number of blocks to skip before starting to return results. Default is 0.
sortstring
The sorting order of the blocks. Possible values are 'asc' for ascending or 'desc' for descending. Default is 'desc'.
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.
messagestring
Additional message associated with the transaction.