Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1011 Bytes

statistics.md

File metadata and controls

60 lines (47 loc) · 1011 Bytes

statistics module

get

Get network statistics. Returns a Stats object.

Params:

api_code : str (optional)

Usage:

from blockchain import statistics

stats = statistics.get()

get_number_of_transactions_last_day

Get number of transactions in the last 24 hours. Returns a String object.

Params:

api_code : str (optional)

Usage:

from blockchain import statistics

stats = statistics.get_number_of_transactions_last_day()

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