I want to trace transaction with debug.traceTransaction() in geth, I'm using free archive node from "moralis.io", the url looks like "https://speedy-nodes-nyc.moralis.io/...my_key.../bsc/mainnet/archive".

The url works with Go code client := ethclient.Dial(url), querying data from client works fine.

But when geth attach url, it shows error:

Fatal: Failed to start the JavaScript console: api modules: 401 Unauthorized: Method not allowed

Why is that?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.