Bitcoin wallet balance api
All bitcoin values are in Satoshi i. The Base URL for all requests: By posting your answer, you agree to the privacy policy and terms of service. Email Sign Up or sign in with Google. I don't know if you are still interested in this question but I will answer anyway. From the link you posted: Getting the balance of an address Retrieve the balance of a bitcoin address.
Making Outgoing Payments Send bitcoin from your wallet to another bitcoin address. Higher rates can lead to banning of your IP. Bitcoin blocks only arrive at an average rate of once in 10 minutes.
So querying multiple times a second won't return you any new data. For realtime transaction updates on address, use our websocket API. All wallet watcher api requests require apikey for access. To use apikey set the Authorization header of the https request. Use this to get balances of bitcoin addresses you are monitoring. Example Request curl -H 'Authorization: It enables you to quickly start accepting bitcoin payments on your website.
To get started add your xpub into wallet watcher and also generate api key from settings. Feel free to copy code from our open source shopping cart. Infographic of payments API Click to expand New Address This will return a new address from your wallet to which the payer must send the payment. This call will increment index on server, so that each time you get a new address. This will reset index to last unused address before generating new address, and is useful for testing purposes.
This will match given string within your xpub to find matching account. Example Request curl -d '' -H 'Authorization: Fetch the balance of a wallet. This should be used as an estimate only and will include unconfirmed transactions and possibly double spends. List all active addresses in a wallet. Also includes a 0 confirmation balance which should be used as an estimate only and will include unconfirmed transactions and possibly double spends.
Retrieve the balance of a bitcoin address. Querying the balance of an address by label is depreciated. To improve wallet performance addresses which have not been used recently should be moved to an archived state. They will still be held in the wallet but will no longer be included in the "list" or "list-transactions" calls. For example if an invoice is generated for a user once that invoice is paid the address should be archived.