A
A
asinco2021-12-13 16:37:04
Python
asinco, 2021-12-13 16:37:04

What is the best way to view BTC wallet balance?

I wrote a program to view the BTC balance, but the implementation is not at all optimized. Now there are two options:

  • Leave the program as it is, but you need to add a proxy all the time due to error 429 (such as protection from DDos)
  • Or advise some API or library for checking balances

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rPman, 2021-12-13
@Meoniz

You can use public electrum servers , but if you need mass analysis, then collect the data yourself using the official wallet and analysis script.
The simplest thing is to request a utxo dump once, and then for each block collect information on transactions and update balances in your database

A
Andrey Gavrilov, 2021-12-13
@thexaver

We raise our btc node

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question