trace_ call does not exist

Q & A of Denglian community 2022-04-05 20:36:07 阅读数:598

trace_ trace exist

I built a on the server bsc All the nodes , Then want to use rpc Of trace_call Method

curl -X POST -H "Content-Type: application/json" --data '{"method":"trace_call","params":[{"from":null,"to":"0x6b175474e89094c44da98b954eedeac495271d0f","data":"0x70a082310000000000000000000000006E0d01A76C3Cf4288372a29124A26D4353EE51BE"},["trace"], "latest"],"id":1,"jsonrpc":"2.0"}'

Note the following error :

{ "jsonrpc": "2.0", "id": 1, "error": { "code": -32601, "message": "the method trace_call does not exist/is not available" }}

It's startup geth Didn't you set any parameters when you ?

Take the answer 1:

This is parity Client only ,geth Not started

Start parameters enable debug. View link details

版权声明:本文为[Q & A of Denglian community]所创,转载请带上原文链接,感谢。