parity_phraseToAddress - 将助记词转换为以太坊地址
parity_phraseToAddress
调用可以将一个安全助记词转换为对应的以太坊地址。
调用参数
- 要转化的安全助记词
返回结果
parity_phraseToAddress
调用返回转换得到的对应地址。
示例代码
请求:
~$ curl --data '{"method":"parity_phraseToAddress","params":["stylus outing overhand dime radial seducing harmless uselessly evasive tastiness eradicate imperfect"],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
响应:
{
"id": 1,
"jsonrpc": "2.0",
"result": "0x004385d8be6140e6f889833f68b51e17b6eacb29"
}