Blockchain is the world’s leading software platform for digital assets. Offering the largest production blockchain platform in the world, we are using new technology to build a radically better financial system.
Datatype | Description | Example |
---|---|---|
Datepicker | String which includes date and time | |
Map | String which includes latitude and longitude coma separated | |
List | Simple array | |
Select | String with predefined values | |
Array | Array of objects |
Return a single block
Field | Type | Description |
---|---|---|
hash | String | Block hash |
Return a single transaction
Field | Type | Description |
---|---|---|
transactionHash | String | Transaction hash |
Return a data for charts
Field | Type | Description |
---|---|---|
chartType | String | Chart type. Example: transactions-per-second |
Return a block for specified height
Field | Type | Description |
---|---|---|
blockHeight | Number | Height of block |
Return data for single address
Field | Type | Description |
---|---|---|
address | String | Address can be base58 or hash160 |
limit | Number | Limit parameter to show n transactions. (Default: 50, Max: 50) |
offset | Number | Offset parameter to skip the first n transactions. (Page 2 for limit 50) |
Return data for multi address
Field | Type | Description |
---|---|---|
address | List | Address can be base58 or xpub |
limit | Number | Limit parameter to show n transactions. (Default: 50, Max: 100). This parameter does not work stably. |
offset | Number | Offset parameter to skip the first n transactions. (Page 2 for limit 50) |
Return unspent outputs
Field | Type | Description |
---|---|---|
address | List | Address can be base58 or xpub |
limit | Number | Limit parameter to show n transactions. (Default: 250, Max: 1000) |
confirmations | Number | Confirmations parameter to limit the minimum confirmations. (Page 2 for limit 50) |
List the balance summary of each address listed.
Field | Type | Description |
---|---|---|
address | List | Address can be base58 or xpub |
Return latest block data
No arguments.
Return unconfirmed transactions
No arguments.
Get blocks for one day
Field | Type | Description |
---|---|---|
date | DatePicker | Required date. |
Get blocks for specific pool
Field | Type | Description |
---|---|---|
pool | String | Pool name |
Current block height in the longest chain
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
Current block reward in BTC
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
Get the total number of bitcoins received by an address (in satoshi).
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
address | String | Address can be base58 or hash160 |
Get the total number of bitcoins send by an address
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
address | String | Address can be base58 or hash160 |
Get the balance of an address (in satoshi).
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
address | String | Address can be base58 or hash160 |
Timestamp of the block an address was first confirmed in.
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
address | String | Address can be base58 or hash160 |
Get total output value of a transaction (in satoshi)
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
txHash | String | Tx hash string |
Get total input value of a transaction (in satoshi)
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
txHash | String | Tx hash string |
Get fee included in a transaction (in satoshi).
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
txHash | String | Tx hash string |
Converts a bitcoin address to a hash 160.
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
address | String | Address can be base58 or hash160 |
Converts a hash 160 to a bitcoin address.
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
txHash | String | Tx hash string |
Converts a public key to a hash 160
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
pubKey | String | Public key string |
Converts a public key to an Address
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
pubKey | String | Public key string |
Converts an address to public key (if available)
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
address | String | Address can be base58 or hash160 |
Returns a JSON object with the currency codes as keys. 15m
is the 15 minutes delayed market price, last
is the most recent market price, symbol
is the currency symbol.
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
Convert x value in the provided currency to btc.
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
currency | Select | A currency code. Must be: USD,JPY,CNY,SGD,HKD,CAD,NZD,AUD,CLP,GBP,DKK,SEK,ISK,CHF,BRL,EUR,RUB,PLN,THB,KRW,TWD |
value | String | Value to convert. |
Get the data behind Blockchain’s charts.
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
chartName | String | Chart name. Example: transactions-per-second |
timespan | String | Duration of the chart, default is 1 year for most charts, 1 week for mempool charts. Example: 5weeks |
rollingAverage | String | Duration over which the data should be averaged. Example: 8hours |
start | DatePicker | Datetime at which to start the chart. |
sampled | Select | Boolean set to ‘true’ or ‘false’ (default ‘true’). If true, limits the number of datapoints returned to ~1.5k for performance reasons. |
Get the data behind Blockchain’s stats
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
Get the data behind Blockchain’s pools information
Field | Type | Description |
---|---|---|
key | credentials | Your blockchain.info api key. |
timespan | String | Duration over which the data is computed, maximum 10 days, default is 4 days. Example: 5days |