0

I have a database of monero private keys, but I want to be able to scan these keys for an updated balance and insert this balance data back into my database.

What is the best way to rescan a bunch of monero private keys? Do I use moner-wallet-cli or the rpc command? Is there an example somewhere?

Patoshi パトシ
  • 4,608
  • 4
  • 27
  • 69

1 Answers1

1

Use the monero-wallet-rpc https://getmonero.org/resources/developer-guides/wallet-rpc.html.

You would use the methods open_wallet, refresh and get_balance.

jtgrassie
  • 19,601
  • 4
  • 17
  • 54