Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client = blocktrail.APIClient(api_key="MY_APIKEY", api_secret="MY_APISECRET", network="BTC", testnet=false)
- def getLargeTxs():
- block = client.block_latest()
- transactions = client.block_transactions(block)['data']
- over_50btc = [ item for item in transactions if blocktrail.to_btc( item['estimated_value'] ) > 50.0 ]
- return over_50btc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement