2

I have followed this answer.

So, you just need to add the --rpcapi "eth,net,web3,debug" command line option.

The way I run my geth:

geth --datadir /home/user/POA/private --rpcaddr 127.0.0.1 --rpc --rpcport
8545 --rpccorsdomain="*" --networkid 32224 --rpcapi eth,net,web3,personal,debug
--port 3000

But on remix or remix-alpha when I try to debug the function call I have face with the following error: The method debug_traceTransaction does not exist/is not available.

enter image description here

[Q] How could I fix this error? What might be the reason of this?

0

I think you need to open txpool rpc api.

Can you add --rpcapi="db,eth,net,web3,personal,txpool,miner"?

It can help.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.