Giter Club home page Giter Club logo

check-bitcoin-balance's Introduction

Check bitcoin balance

Bitcoin balance checker using blockchain API.

This repository contains useful code to check the balance of a single or a collection of BTC addresses in satoshis, bitcoin or fiat.

Getting the data

It is possible to access any individual bitcoin address using the get_address_balance function.

To access the total balance of a group of accounts, add them to address.txt manually or use the add_address function and then use the get_total_balance function.

By default, get_total_balance returns the sum of all the balance in address.txt. To get individual information for each address in the form of a dictionary, set return_sum to False.

Output format

By default, the output format of the balance is given in satoshis. Using the booleans return_btc and return_eur (which are set to False by default) alter this output:

  • If return_eur is set to True: The output will be given in euros. Conversion rate is imported using yfinance.
  • If return_btc is set to True: The output will be given in bitcoins (1 BTC = 1e8 satoshis).

check-bitcoin-balance's People

Contributors

aridaibordon avatar

Stargazers

 avatar

Watchers

 avatar

check-bitcoin-balance's Issues

BTC private key to address and balance check

Hello sir
I just stumbled on these your GitHub repo I was looking for a program that will help me convert my compressed private key to address and check the balance. Could you please help me update or create a python program that will help me convert my compressed private key to address and check the balance. The reason I needed this was to scan through a massive private key txt file and see if I can find my missing 10 characters private key. Please help me if I recover the wallet I will donate some BTC to you. Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.