hyperfuel 1.1.1

Creator: bradpython12

Last updated:

Add to Cart

Description:

hyperfuel 1.1.1

hyperfuel-client-python
Python package for Envio's Hyperfuel client written in Rust.
More information about Envio's support of Fuel at docs.envio.dev/docs/hyperfuel.
quickstart example
$ pip install hyperfuel

# This example will simply fetch the logs from a vector of contracts over a specified block range
import hyperfuel
import asyncio

async def main():
client = hyperfuel.HyperfuelClient()

contracts = ["0x4a2ce054e3e94155f7092f7365b212f7f45105b74819c623744ebcc5d065c6ac"]

logs = await client.preset_query_get_logs(contracts, 0, to_block=None)

print("number of logs: " + str(len(logs.data)))
print("logs: " + str(logs.data))

asyncio.run(main())

More examples in examples/

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.