pubkey.get: obtain data from wallet file, or RPC