Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. client = blocktrail.APIClient(api_key="MY_APIKEY", api_secret="MY_APISECRET", network="BTC", testnet=false)
  2.  
  3. def getLargeTxs():
  4. block = client.block_latest()
  5. transactions = client.block_transactions(block)['data']
  6. over_50btc = [ item for item in transactions if blocktrail.to_btc( item['estimated_value'] ) > 50.0 ]
  7. return over_50btc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement