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

OPENTONAPI query returns "not found tx" while TON node is actually catch up with newest blocks. #598

Open
NoFeeding opened this issue Feb 21, 2025 · 3 comments

Comments

@NoFeeding
Copy link

hi I am running a TON node installed with mytonctrl.
Within the node there are ton-http-api running with docker-compose and opentonapi.

While querying masterchaininfo everything looks alright like below:

{"ok":true,"result":{"@type":"blocks.masterchainInfo","last":{"@type":"ton.blockIdExt","workchain":-1,"shard":"-9223372036854775808","seqno":45157808,"root_hash":"QPo78/yIKohFkEmUWKMm3x/SI+dbsl83kwwYggktikw=","file_hash":"IxwxFPfoYiRt4tDAnaon9LiQ7EVkB65bwYmNbx6v/sU="},"state_root_hash":"gj3maIuLqhw5lC++6Mmx4eLIAwkt9qq5jnIYPjJ3dqo=","init":{"@type":"ton.blockIdExt","workchain":-1,"shard":"0","seqno":0,"root_hash":"F6OpKZKqvqeFp6CQmFomXNMfMj2EnaUSOXN+Mh+wVWk=","file_hash":"XplPz01CXAps5qeSWUtxcyBfdAo5zVb1N979KLSKD24="},"@extra":"1740132465.9559088:0:0.20264424210960053"}}%

querying opentonapi for transaction in the same TON node always return "error":"not found tx as below:

{"error":"not found tx c56e086805a59ab395a8f0b16efd21a92e5b894cc9771c9108fd26b5c1e4b2ff"}%

the way I query with localhost is listed below:

curl --location --request GET 'http://localhost:8081/v2/blockchain/transactions/c56e086805a59ab395a8f0b16efd21a92e5b894cc9771c9108fd26b5c1e4b2ff'

Please suggest where I might have missed or any setting I have install incorrectly.
Thanks for helping in advance!

@Marazalii
Copy link

#598

@Shahin623
Copy link

npm create cloudflare@latest -- my-first-workernpm create cloudflare@latest -- my-first-worker

@Shahin623
Copy link

npm create cloudflare@latest -- my-first-npm create cloudflare@latest -- my-first-workernpm create cloudflare@latest -- my-first-npm create cloudflare@latest -- my-first-worker

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

3 participants