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!
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!