getting "Method not found" when trying to query a smart contract on main net
moda20 opened this issue · comments
I am trying to fix an issue I had when querying one of the pancakeSwap token pair smart contract. the error is
{'code': -32601, 'message': 'Method not found'}
the issue is that I am using a full node, fully synchronized (catching_up value is false in status page) connected to the main net where I am sure that the contract exists since before running my own node I was using an external provider endpoint.
my question is if there is a service I need to enable to be able to query the smart contract and read data out of it.
for reference, I am using this image to launch my node : https://github.com/varnav/binance-node-docker