Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LITE_SERVER_UNKNOWN #895

Open
heziyi opened this issue Dec 17, 2024 · 1 comment
Open

LITE_SERVER_UNKNOWN #895

heziyi opened this issue Dec 17, 2024 · 1 comment

Comments

@heziyi
Copy link

heziyi commented Dec 17, 2024

I have encountered a problem, please help me solve it!

My source code:
`
import { HttpApi, fromNano, toNano, address } from "ton";

async function main() {
const apiKey = "15db77b27d8ddcc452cc3b77685f766d166bd076f94c4b1fceb50e5d5822ef12"
const endpoint = "https://testnet.toncenter.com/api/v2/jsonRPC";
const httpClient = new HttpApi(
endpoint,
{apiKey:apiKey}
);

const txs = await httpClient.getTransactions(address("0QDCXouS5I-cUPdoXD_9CqLxw1BD5DKSpBVnddfHB8MbajpI"), {
    limit: 100,
  });

console.log(txs)

}

main().finally(() => console.log("Exiting..."));
`

The error info:

data: {
ok: false,
error: 'LITE_SERVER_UNKNOWN: cannot compute block with specified transaction: cannot find block (0,c25e8b92e48f9c50) lt=29142750000001: lt not in db',
code: 500
}``

@L-lilian
Copy link

Hi there,

I attempted to reproduce your issue and was unable to do so.

We use GitHub issues as a place to track bugs and other development-related issues. If your issue persists, please write us back using our “Chat Support” icon located on our TON Help Center

You can include a link to this issue in the message content.

Alternatively, you can also search for an answer in our help documentation or get help from other users on our community forums.

The issue here will be closed.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants