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?