I am using message as one way to differentiate type of transaction, for example I used “sales”, “transfer”, etc., so it is easier for me to filter the transaction history by type.
Using the SDK provided, I can do the paging through QueryParams
:
new QueryParams(pageSize, transactionId, ordered)
The problem is, for example if I select 10 records from TransferTransaction
, but only 5 of it is ‘sales’, and I am expecting 10 ‘sales’ records.
Is there any good way to do it?