* Call RPC getnewaddress. * @returns getnewaddress response as a UniValue object. */
| 1527 | * @returns getnewaddress response as a UniValue object. |
| 1528 | */ |
| 1529 | static UniValue GetNewAddress() |
| 1530 | { |
| 1531 | DefaultRequestHandler rh; |
| 1532 | return ConnectAndCallRPC(&rh, "getnewaddress", /* args=*/{}, RpcWalletName(gArgs)); |
| 1533 | } |
| 1534 | |
| 1535 | /** |
| 1536 | * Check bounds and set up args for RPC generatetoaddress params: nblocks, address, maxtries. |
no test coverage detected