toncenter / ton-http-api

HTTP API for TON (The Open Network)
https://toncenter.com
GNU General Public License v3.0
164 stars 25 forks source link

/getTransactions request returns errors #90

Open rever273 opened 7 months ago

rever273 commented 7 months ago

Good afternoon.

Recently I've been having constant problems with the /getTransactions request

The query returns the following errors:

LITE_SERVER_UNKNOWN: cannot compute block with specified transaction: lt not in db

LITE_SERVER_UNKNOWN: cannot locate transaction in block with specified logical time

LITE_SERVER_UNKNOWN: cannot compute block with specified transaction: lt not in db

LITE_SERVER_UNKNOWN: unable to load block (0,8000000000000000,39631700):28818F1DB8F330F54D730612F4DB74C3826AEB06AFB3BAB17140B185B7C743B6:F75398712DC7B72025EA32CCCF6DC1513B590CEDC5E046E670485ACF59230BED with specified transaction: not in db

I have tried different archival true/false options, it doesn't help.

I understand that you are busy people, but I want to say that unfortunately there are not many convenient APIs for getting data from blockchain on TON, and I would like the authors not to forget about their product, which is important for us.

Thanks

artmon commented 6 months ago

When I send https://toncenter.com/api/v2/getTransactions?address=EQAPWEN8kYi2B6KaS8di509JgaeIqraeD8%2BqxzKc55%2F3fH%2Bd&limit=41&lt=43110374000018&hash=r1d6hZv5LFaMSNaTtzztjiPX4dkaWNOG7eP4yXuVYfo%3D&to_lt=0&archival=false&api_key=e45c457bce0f08e9a919ef3c7e5172caca07d01afaa1622019a3276f20483e4c limit is 41 - It's Okay,

But when limit is 42 or more - get error:
"LITE_SERVER_UNKNOWN: cannot locate transaction in block with specified logical time"

https://toncenter.com/api/v2/getTransactions?address=EQAPWEN8kYi2B6KaS8di509JgaeIqraeD8%2BqxzKc55%2F3fH%2Bd&limit=42&lt=43110374000018&hash=r1d6hZv5LFaMSNaTtzztjiPX4dkaWNOG7eP4yXuVYfo%3D&to_lt=0&archival=false&api_key=e45c457bce0f08e9a919ef3c7e5172caca07d01afaa1622019a3276f20483e4c