Saturday, 2 October 2021

Cant use get_chart function in blockchain python client

Trying to run

import blockchain
from blockchain import statistics

get_chart(chart_type="mempool-size", time_span="1year")

Gives a function not defined error, despite get_chart being defined in the statistics.py file for the blockchain.info client. How can I run the get_chart function?

Does anyone have any troubleshooting ideas? Question has been up for a couple days and I'm stuck. I've checked the GitHub repo for issues and can't find any, haven't tried anything else yet as I'm unsure where to start.

I'm happy with any python solution that can get chart data from https://blockchain.info



from Cant use get_chart function in blockchain python client

No comments:

Post a Comment