forknote/cryptonote-generator

Wallet RPC no Method getaddress

k7c opened this issue · 1 comments

k7c commented

Hello team,
I'm working on a gui wallet and try to get the public wallet address via RPC.

No method found for getadddress on WalletRpcServer.cpp :

{ "getbalance", makeMemberMethod(&wallet_rpc_server::on_getbalance) },
{ "transfer", makeMemberMethod(&wallet_rpc_server::on_transfer) },
{ "store", makeMemberMethod(&wallet_rpc_server::on_store) },
{ "get_payments", makeMemberMethod(&wallet_rpc_server::on_get_payments) },
{ "get_transfers", makeMemberMethod(&wallet_rpc_server::on_get_transfers) },
{ "get_height", makeMemberMethod(&wallet_rpc_server::on_get_height) },
{ "reset", makeMemberMethod(&wallet_rpc_server::on_reset) }

Anyone know a "hack" in order to get the address please ?

k7c commented

My bad I need to create it :) but I think it's needed in order to open a wallet via wallet RPC.
You can change it to a request 👍