toncenter / ton-indexer

TON Indexer system to store and serve blockchain data using SQL-database
https://toncenter.com/api/v3/
GNU General Public License v3.0
69 stars 33 forks source link

Possible pagination Error #86

Open leoenes opened 2 months ago

leoenes commented 2 months ago

We are trying to fetch the transactions from blocks using the pagination (in our case we used different values between 50 and 200), but we could find a specific transaction hash. But when we tried filtering it using query_param hash, we found the transaction.

CASE: Example is masterblock -> 40642894 + transaction hash -> ZXqZL6ybANPcg0GAEf0SpIW/XQ40/A08Pk7UqHrCbSQ=

QUERY: /api/v3/transactions?workchain=0&mc_seqno=40642894&hash=ZXqZL6ybANPcg0GAEf0SpIW%2FXQ40%2FA08Pk7UqHrCbSQ%3D&limit=100&offset=0&sort=desc