Creates a new address.
- Install the plugin RpcServer
- Call the RPC method
openwallet
to open the wallet first.
Request body:
{
"jsonrpc": "2.0",
"method": "getnewaddress",
"params": [],
"id": 1
}
Response body:
{
"jsonrpc": "2.0",
"id": 1,
"result": "AVHcdW3FGKbPWGHNhkPjgVgi4GGndiCxdo"
}
Response Description:
Returns the newly created address.