pulsechain.box
ots

ots_searchTransactionsBefore

Returns transactions sent or received by an address, searching backwards from a given transaction index.

Returns transactions sent or received by an address, searching backwards from a given transaction index.

Parameters

#TypeDescription
1stringAddress to search transactions for.
2numberBlock number to start searching backwards from. Use 0 to start from the latest block.
3numberPage size (max number of results to return).

Returns

FieldTypeDescription
txsarrayArray of transaction objects matching the address.
receiptsarrayCorresponding transaction receipts.
firstPagebooleanWhether this is the first page (most recent).
lastPagebooleanWhether this is the last page (oldest).

Example

curl -s -X POST https://rpc.pulsechain.box \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"ots_searchTransactionsBefore","params":["0x0000000000000000000000000000000000000000", 0, 5],"id":1}'
TRY IT

Notes

  • Use 0 as the block number to start from the latest block.
  • Pair with ots_searchTransactionsAfter for forward pagination.
  • Requires the OTS address appearance index to be built on the node.
Copyright © 2026 AvecdrA. Made with love.