Permalink
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (36 sloc) 733 Bytes

statistics module

get

Get network statistics. Returns a Stats object.

Params:

api_code : str (optional)

Usage:

from blockchain import statistics

stats = statistics.get()

Response object field definitions

Stats

trade_volume_btc : float
miners_revenue_usd : float
btc_mined : long
trade_volume_usd : float
difficulty : float
minutes_between_blocks : float
number_of_transactions : int
hash_rate : float
timestamp : long
mined_blocks : int
blocks_size : int
total_fees_btc : int
total_btc_sent : long
estimated_btc_sent : long
total_btc : long
total_blocks :int
next_retarget : int
estimated_transaction_volume_usd : float
miners_revenue_btc : int
market_price_usd : float