We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cad692 commit d0a524dCopy full SHA for d0a524d
snippet.py
@@ -1,5 +1,6 @@
1
+# install with: pip install git+https://github.com/spicehq/spice-py
2
from spicepy import Client
3
4
client = Client('API_KEY')
-reader = client.query('SELECT * FROM eth.blocks ORDER BY number DESC LIMIT 10;')
5
+reader = client.query('SELECT * FROM eth.recent_blocks ORDER BY number DESC;')
6
print(reader.read_pandas())
0 commit comments