admin管理员组文章数量:1648348
The method personal_newAccount does not exist/is not available
进行ETC RCP API调用的时候出现以下问题:
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32601,
"message": "The method personal_newAccount does not exist/is not available"
}
}
原因以及解决办法请参考如下链接:
https://github/ethereum/go-ethereum/issues/2723
https://github/ethereum/web3.js/issues/494
我的做法就是参考第二个链接,以下面的指令启动geth:
geth --rpcapi="db,eth,net,web3,personal,web3"
启动之后,连接上geth并打开RPC访问:
之后直接postman调用或者代码里通过web3j调用都是OK的:
这一点想必ETH和ETC是一样的。
本文标签: methodpersonalnewAccountexist
版权声明:本文标题:The method personal_newAccount does not existis not available 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1729497373a1203074.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论