Transaction

5b7850c73e21e247f62aa1e12e2b361abcc09b9c9f02afa5a2f5c93e98d08b90
2020-10-07 16:13:32
0.00000773 BSV
(
0.00089478 BSV
-
0.00088705 BSV
)
501.2 sat/KB
1
258,322
1,542 B

4 Outputs

Total Output:
0.00088705 BSV
  • j"1NF7i6ZoMDXaJ2Q5M9QFriH74ya6r6vP8u9Use one of the Blockchain APIs to get the address balanceM–You can get balance of an address from most of the blockchain APIs. On [WhatsOnChain](https://whatsonchain.com/) you could rely on [address balance](https://developers.whatsonchain.com/#get-balance) endpoint to do this. Assuming that the website knows the address and the funding goal you can get the balance and display the progress bar based on that. There are also exchange rate APIs should you prefer to display the progress in fiat terms (most exchanges have some kind of price API and so does [WhatsOnChain](https://developers.whatsonchain.com/#exchange-rate)). Limitation here is that you are only using a single address for the funding campaign. If you'd decide to use separate address for every contribution you could use HD keys to generate addresses. When using HD keys it is possible to extract only the information needed to derive public keys (without sharing private key info). Your website could use that to derive list of possible addresses and check their balances using the API and sum them up. [MoneyButton docs have some good info on HD keys](https://docs.moneybutton.com/docs/bsv-hd-public-key.html). This is the simplest solution in my opinion.
    https://whatsonchain.com/tx/5b7850c73e21e247f62aa1e12e2b361abcc09b9c9f02afa5a2f5c93e98d08b90