TON
getBlockTransactionsExt34 kredi
Returns the transactions of a block in full (messages, fees, state), page by page.
Parametreler
| Ad | Tür | Açıklama |
|---|---|---|
| workchain | number | Workchain id: -1 for the masterchain, 0 for the basechain. |
| shard | number | Shard id (int64). Pass it as a string, as JSON numbers lose precision beyond 2^53: "-9223372036854775808" is the masterchain shard. |
| seqno | number | Block seqno. |
| root_hash | string | Block root hash (base64), to check the block against. (isteğe bağlı) |
| file_hash | string | Block file hash (base64), to check the block against. (isteğe bağlı) |
| after_lt | number | Logical time of the last transaction of the previous page, to continue after it. (isteğe bağlı) |
| after_hash | string | Hash (base64) of the last transaction of the previous page; goes with after_lt. (isteğe bağlı) |
| count | number | Number of transactions to return. Default 40. (isteğe bağlı) |
Dönüş değeri
Tür
Object
id (the block), req_count, incomplete and transactions: a list of full transactions with in_msg, out_msgs, fees and data.
Kod örnekleri
curl https://holy-burned-sky-ton-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getBlockTransactionsExt",
"params": {
"workchain": -1,
"shard": "-9223372036854775808",
"seqno": 40000000,
"count": 10
}
}'