No project description provided
Project description
hyperfuel-client-python
Python package for Envio's hyperfuel client written in Rust.
More information about Envio's Hyperfuel support of Fuel at https://github.com/enviodev/hyperfuel-docs
quickstart example
$ pip install hyperfuel
# This example will simply fetch the logs from the given contracts over a block range
# returns all log data necessary for fuel's decoder
import hyperfuel
import asyncio
async def main():
client = hyperfuel.HyperfuelClient()
contracts = ["0xff63ad3cdb5fde197dfa2d248330d458bffe631bda65938aa7ab7e37efa561d0"]
from_block = 8076516
to_block = 8076517
logs = await client.preset_query_get_logs(contracts, from_block, to_block)
print("number of logs: " + str(len(logs.data)))
print("logs: " + str(logs.data))
asyncio.run(main())
More examples in examples/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hyperfuel-0.1.2.tar.gz
(40.8 kB
view hashes)
Built Distributions
Close
Hashes for hyperfuel-0.1.2-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e27b7a8da75b85846e4097c335ef03018fce06473516e8d59b56efa68d6bb6bc |
|
MD5 | c6264126388fee0b1c1b19b47992d006 |
|
BLAKE2b-256 | 0c3a23850220f4c884fa2c40534f5bc875b975d46d636694e7899b3e8c1e169c |
Close
Hashes for hyperfuel-0.1.2-cp312-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4290816ee983245a52fcda78b2422ff0b7df48a9d0ecbe14abf736ae584c1f1 |
|
MD5 | 364f17210d00ade439e0dc45dfeb8693 |
|
BLAKE2b-256 | f0bf8ac9331acaf0dc6b10ae1c7e46ccd17f703647825dfb6575a75fe1d24967 |
Close
Hashes for hyperfuel-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02dff605494fb877f237ec87a51c68baf1311db2545cc6b02a9e333fd3471527 |
|
MD5 | b2a54d261cd119d3bb1c201fa3fc33ef |
|
BLAKE2b-256 | e2ad494227aecea35caed80593be75ccec95edefa4eb4d12e641e9fd5c8bfe9b |
Close
Hashes for hyperfuel-0.1.2-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf5fb036099631d390f559db035443f4905911ac50e970facf65b885723cfea7 |
|
MD5 | 4d349909c5869a02e2a60b7c7c040468 |
|
BLAKE2b-256 | c2c1057026404ec19918d0ff7f6b5cba6b1e44b829b542169f31395d79b97c30 |
Close
Hashes for hyperfuel-0.1.2-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46fa1df83a14c4c4aced805477fbc19adba8d18152e3c535abf6aec27e12bbc3 |
|
MD5 | 88af8e71097a1bf60477a2d9df09fa88 |
|
BLAKE2b-256 | e89d4b34ac4736f41fd34429e5fe0adfb276e9fb75846f2cd21746920d9e12d0 |
Close
Hashes for hyperfuel-0.1.2-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1300a6fc22c19b3ade43113aafe3f3b7deca22c9cbc7098a88037c1830da016f |
|
MD5 | 7c262f0da775da33172855ff1e4e9916 |
|
BLAKE2b-256 | 83549ee900694e39b21fd2aaf379edd2ee661786398950acbe928b85aae92815 |
Close
Hashes for hyperfuel-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 626a4111c571ad77cc343df7a4a919844742ffd539366388ffe8bf85bbb7f6b2 |
|
MD5 | 2610db54e7071d78fde82bcbd245d6cb |
|
BLAKE2b-256 | 6099060a26f79ff5df10cec80383522d68540094f82339f9ba49b133bc788935 |
Close
Hashes for hyperfuel-0.1.2-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3951b223c6bc053e05c414b00e25eb7a19a129e96df6e7be0ca3f5868c9fcbc |
|
MD5 | 5366535d3bc23142f8ad99bde80cb294 |
|
BLAKE2b-256 | e94eee85561ac1eea6466119cbd7b62dba78aaeb88e1e2822443d0e839ec8fe7 |
Close
Hashes for hyperfuel-0.1.2-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb2e80ec35965fc6f0b9e605d4417c10e0f9c5ceb1fdc996de5ddc8e68a9e8a6 |
|
MD5 | ee98c1fe43ee584f54b7660d65862c88 |
|
BLAKE2b-256 | 7d5eb87b3ee846a69e90316547a1d1b174671f1daf683885fe601afda3238c6e |
Close
Hashes for hyperfuel-0.1.2-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc9825d04ae327601cc1598703f97c73fb8752889d38eddcabb29de9f18f9c80 |
|
MD5 | 74a9204876668a257b7884c1a83144fb |
|
BLAKE2b-256 | 12782b38527b55d1bdee6efd5d17e0cc94174d5d18fc00ce2e68a53bb917f551 |
Close
Hashes for hyperfuel-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1805f0670b8c51b0a25f4f59d5c013a3a14be445e7aaa8e4c497e78fdda60b3 |
|
MD5 | b8e925cf75cac289c5a545611c30d41e |
|
BLAKE2b-256 | 73dd2fa5c9749ee8166ef2d6985f8f5a79cefaf29d8d521b3ada08f978ed2531 |
Close
Hashes for hyperfuel-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 461a697c1d5e0d3d7143e67fbba772889a1abf11d4adc4c9d28614cc30e0c9c9 |
|
MD5 | 72d3d697a62e2b2a37bcb1e07a4d0b04 |
|
BLAKE2b-256 | 8eae6b5ef5d39ffa6c24a41cd44ff96ba48b856c6519b79ad2e9ec44b07664f5 |
Close
Hashes for hyperfuel-0.1.2-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b53bf94021f62ef9dd6dc5efbdd92923af9a232020529da0a97eba954b356d61 |
|
MD5 | b7f51d8080c37807922a2344127f5326 |
|
BLAKE2b-256 | 0cb8a291472771a3a55e9c37d1611a4b5d13988ba30d29abb0f68e7abc37d9d3 |
Close
Hashes for hyperfuel-0.1.2-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bfa8cfd3d00a80874e99755bbe807b455832fc0c272bfab8ed9450b1faf84c5 |
|
MD5 | 67ed9b33e1c8a1169240c241356ab288 |
|
BLAKE2b-256 | 5fb8ff3d639ea59aa327aca9d679fe6fe3e34918717d9d81a9f4fe2a12e66c17 |
Close
Hashes for hyperfuel-0.1.2-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32e6864110c5fa4ba315c3c8339eeab2d027b7667ac8bfffa7299553dc84b79a |
|
MD5 | 94058513e784ed5d0b5d640548de21b4 |
|
BLAKE2b-256 | 4c55c9b5c54591785a26ec5a3a9b15364d9013795581095da5927d157095aebb |