Skip to main content
GET
/
api
/
v2
/
getBlockTransactions
Get Block Transactions
curl --request GET \
  --url https://toncenter.com/api/v2/getBlockTransactions
{
  "ok": true,
  "result": {
    "@type": "blocks.transactions",
    "id": {
      "@type": "ton.blockIdExt",
      "workchain": 123,
      "shard": "<string>",
      "seqno": 123,
      "root_hash": "<string>",
      "file_hash": "<string>"
    },
    "req_count": 123,
    "incomplete": true,
    "transactions": [
      {
        "@type": "blocks.shortTxId",
        "mode": 123,
        "account": "<string>",
        "lt": "<string>",
        "hash": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://toncenter.ness.su/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

workchain
integer<int32>
required

Workchain ID

shard
string
required

Shard ID

seqno
integer<int32>
required

Seqno of a block

root_hash
string

Root hash of a block

file_hash
string

File hash of a block

after_lt
string

Logical time of transaction to read after

after_hash
string

Hash of account in this block in hex or base64 representation, which indicates transaction to read after

count
integer<int64>
default:40

Maximum number of items in response

Response

OK

ok
boolean
required
Example:

true

result
BlockTransactions · object
required

Block transactions information