pulsechain.box
ots

ots_getBlockTransactions

Returns paginated transactions for a block along with their receipts. Designed for block explorer UIs that display transactions with status and gas information.

Returns paginated transactions for a block along with their receipts. Designed for block explorer UIs that display transactions with status and gas information.

Parameters

#TypeDescription
1stringBlock number as hex string.
2numberPage number (0-indexed).
3numberPage size (number of transactions per page).

Returns

FieldTypeDescription
fullblockobjectBlock object with the requested page of full transaction objects.
receiptsarrayArray of transaction receipt objects corresponding to the transactions.

Example

curl -s -X POST https://rpc.pulsechain.box \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "ots_getBlockTransactions",
    "params": ["0x100", 0, 25],
    "id": 1
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "fullblock": {
      "number": "0x100",
      "hash": "0x...",
      "transactions": []
    },
    "receipts": []
  }
}
TRY IT

Notes

  • Use page size of 25 for best results (matches the API's internal page size limit).
  • Page numbers are 0-indexed: page 0 returns the first batch, page 1 returns the second, etc.
  • Receipts are returned alongside transactions so you can display status, gas used, and logs without additional RPC calls.
  • For blocks with many transactions, iterate through pages until you receive fewer transactions than the page size.
Copyright © 2026 AvecdrA. Made with love.