Skip to content

Get Txs For Txblock Ex

This API behaves similar to GetTransactionsForTxBlock except it returns the transactions in batches (or pages) of 2,500.

The number of pages available is defined by the NumPages header value in the GetTxBlock or GetLatestTxBlock response. Page indexing is zero-based and indicated in the request after the block number.

For example, to retrieve all the transactions for a block with NumPages=3, one must call GetTransactionsForTxBlockEx three times with page number 0, 1, and 2.

This API is available from Zilliqa V7.2.0 onwards.

Example Request

curl -d '{
    "id": "1",
    "jsonrpc": "2.0",
    "method": "GetTransactionsForTxBlockEx",
    "params": ["1002353", "2"]
}' -H "Content-Type: application/json" -X POST ""

Example Response

  "id": "1",
  "jsonrpc": "2.0",
  "result": {
    "CurrPage": 2,
    "NumPages": 5,
    "Transactions": [

HTTP Request

Chain(s) URL(s)
Zilliqa mainnet
Developer testnet
Local testnet http://localhost:4201/
Isolated server


Parameter Type Required Description
id string Required "1"
jsonrpc string Required "2.0"
method string Required "GetTransactionsForTxBlockEx"
params array Required Block parameters

Block Parameters

Parameter Type Required Description
Block number string Required Specifed TX block number to return. Example: "1002353"
Page number string Required Page number (zero-based). Example: "2"