Skip to content
This repository was archived by the owner on Aug 2, 2020. It is now read-only.

API Reference

Preston Skupinski edited this page May 5, 2013 · 1 revision

Blockchain.info wallet api reference.

balance(callback)

Calls the balance api endpoint.

list(callback)

Calls the list api endpoint.

addressBalance(address, confirmations, callback)

Calls the address_balance api endpoint.

Address is the address to check. Confirmations is the number of confirmations.

payment(to, amount, params, callback)

Calls the payment api endpoint.

to is the wallet address to send the amount to. amount is the amount in satoshi to send. params is an object that contains optional parameters.

sendMany(recipients, params, callback)

Calls the sendmany api endpoint.

recipients is an object containing a mapping of address and the amount in satoshi to send to them. params is an object that contains optional parameters.

newAddress(params, callback)

Calls the new_address api endpoint.

params is an object that contains optional parameters.

archiveAddress(address, callback)

Calls the archive_address api endpoint.

address is the address to archive.

unarchiveAddress(address, callback)

Calls the unarchive_address api endpoint.

address is the address to unarchive.

autoConsolidate(days, callback)

Calls the auto_consolidate api endpoint.

days is the number of days where if an address has not received a transaction they will be consolidated.