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.3.tar.gz
(40.8 kB
view hashes)
Built Distributions
Close
Hashes for hyperfuel-0.1.3-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90b6ac85ff1c959f920eb4ac39e54eea14b5a92ca43a3adc167dff04dbe6993d |
|
MD5 | 3b45517e4c895af78d8c2173dec6ebfe |
|
BLAKE2b-256 | c506bc261ea97f5d602342314a1fa07430918a056081a824fef34077ffa6667e |
Close
Hashes for hyperfuel-0.1.3-cp312-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86366b8228af56570cbbc88f210617c99373b82aff2b3e54a43218d99859f372 |
|
MD5 | ab84a7888e96d2dea53ecc3c52eefc76 |
|
BLAKE2b-256 | 43d94ef6f416fdb6cd0979c7f170a406c54c39fbf294aa8f71a6d22fb61c9fce |
Close
Hashes for hyperfuel-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 909782c25c873fa15a1afe134c1ed769f40dc524ea9afb64123989aee7354cf7 |
|
MD5 | c44c6596ceeb7d176efb66f85be43c56 |
|
BLAKE2b-256 | d32ce12f4dba9851a87093d22651123961307fa154f41d62cf5c4a45def27f80 |
Close
Hashes for hyperfuel-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6808296750cf5049724cef223a7960e3c590650e94d9446fd742d9e66a61754e |
|
MD5 | af66607b71ddc3e671e508c1f2fe9a14 |
|
BLAKE2b-256 | acf950f5c575704046bb8334a1e360ebed95ded477a50bfece034ad3212d5a4a |
Close
Hashes for hyperfuel-0.1.3-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49ef665d8af4a7bc4ac582f6238cf57a7960d4ebb0d95b272b33c9a43023a2bf |
|
MD5 | eb858a1b1604356e4353acf169f97a4f |
|
BLAKE2b-256 | 210fbc0c1dccd466ac03049819757e19307429c3cad1a9740de2d75f8a7cc0b9 |
Close
Hashes for hyperfuel-0.1.3-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67f01d31f9cab0f869881b4b314c6a49668402a0f2118ea7f399eeb90dba6609 |
|
MD5 | 802879da2e6dc77e16a7a84061772f44 |
|
BLAKE2b-256 | 0fc510262ccecad4390578a1a21ab56f1a2744aeb9ecad832153086a7de74b18 |
Close
Hashes for hyperfuel-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e51175b8a6d6087dd17f6ab33e349f7d2e3be5916f60fa004a9307c642540b6d |
|
MD5 | 5e0f59e6ab02b4de002d33a5b5a4792f |
|
BLAKE2b-256 | 5b51993d35d43ed22bdfe32b46cf70f89e14cefe584ed0905590a3ef96158c6a |
Close
Hashes for hyperfuel-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7537016af91ee916576da553222cf70fdac06841733c34d7cc25288e04624911 |
|
MD5 | e453092a3b7b8d43059323e54f9b559e |
|
BLAKE2b-256 | c67c111a64e86e11f536e677c0256a8d012d2f1fdbd4e0d3218cda2b9cced9df |
Close
Hashes for hyperfuel-0.1.3-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58dbae5d96af623ef8ff19d8550c597678f97764097345805ec5c720872dfeac |
|
MD5 | 186053d3a9740e4a1257bc6a2406b9b5 |
|
BLAKE2b-256 | 9db71b059c9a671b3daa7a118989d942fa75098a0fc44e05df7135d3ecf077f0 |
Close
Hashes for hyperfuel-0.1.3-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e19bd0485201f6c71ae0784a61f699ee6073229625bba9e3cb2bd7db0759aaa2 |
|
MD5 | f71c0e92a29da84d769749cfbad6eba2 |
|
BLAKE2b-256 | 60f434688b2872c4148b7047f4cce908bd6497e340433a34761a9fe8da27c3b0 |
Close
Hashes for hyperfuel-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab8be0d03c8e16abf3f7d733f882adc502a687d29e5564a1d8cdbddb76c50436 |
|
MD5 | 83b4ac3b9d505cf0cc8fec70741f360c |
|
BLAKE2b-256 | 351e911f78bc35f04f8d1638c8b93c4dc59a0fd9e404bfa7d9400e3ba1a0e593 |
Close
Hashes for hyperfuel-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfdc05c135cc650519e394dff06dbecbe639746a2a66a0c88099ac31931d446a |
|
MD5 | 560ec7366ad9b9ec2525fb24ca7541ea |
|
BLAKE2b-256 | eb37e640c5179d8aaa3dc1af1d11d30eb48124ee10aaa6fe2cb0dd1b809936a8 |
Close
Hashes for hyperfuel-0.1.3-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d04c9875825243640a0b2a203efce9cb927d62bbd9952470d7716624456b82f |
|
MD5 | d84c23021369955daf5ae68cbe2b2e1a |
|
BLAKE2b-256 | 411f394e02086acd7bfeec1e37bf5ca001e336ef1bb162f5558b04fb30e5605d |
Close
Hashes for hyperfuel-0.1.3-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b35f6cc0b65aa19a6c75c77a6c64bfbb7031b6ce6c7debb6f995d55f9242a27b |
|
MD5 | c68b21e0b650c2f20729a993c3b3bb6e |
|
BLAKE2b-256 | 2251b60b79d99be67be1483c5557235a34f2d8113bcb1c2e4c83a91ff0ce4ea8 |
Close
Hashes for hyperfuel-0.1.3-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2416542690fc6178a97ce2a7ac95f1ad5510ad707e36229ce5c556b11e47b65 |
|
MD5 | 73efd66f2736056fc29ee00576976d21 |
|
BLAKE2b-256 | 7a970d5501f75b8619255405ca903b80811c7c13937355949919200c949da2d8 |