嘿,我正在使用 monero 的最新命令行工具:
莫内罗德:
Monero 'Lithium Luna' (v0.12.3.0-release)
Started using: ./monerod
Running on: 127.0.0.1:18081
monero-wallet-rpc:
Monero 'Lithium Luna' (v0.12.3.0-release)
Started using: ./monero-wallet-rpc --wallet-dir /path/to/wallets/ --rpc-bind-port 28081 --disable-rpc-login
Running on: 127.0.0.1:28081
我目前正在测试来自以下的 rpc 调用:
https://getmonero.org/resources/developer-guides/wallet-rpc.html
它们中的大多数都可以工作,但是有很多 rpc 调用似乎不起作用......
例如:
curl -X POST http://localhost:28081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"refresh"}' -H 'Content-Type: application/json'
回报:
{
"error": {
"code": -32601,
"message": "Method not found"
},
"id": "0",
"jsonrpc": "2.0"
}
任何人都可以参考这个吗?
我使用的是最新版本,文档也是最新的。
谢谢和问候!