No project description provided
Project description
hypersync-fuel-client-python
Python package for Envio's Hypersync-Fuel client written in Rust.
More information about Envio's Hypersync support of Fuel at https://github.com/enviodev/hypersync-fuel-docs
quickstart example
# 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 hypersync_fuel
import asyncio
async def main():
client = hypersync_fuel.HypersyncClient()
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hypersync_fuel-0.1.2.tar.gz
(40.8 kB
view hashes)
Built Distributions
Close
Hashes for hypersync_fuel-0.1.2-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65ef808abcf299b74b1f72fa4bb44a3f0f4084594ed6fe38e4b56a84670df5d2 |
|
MD5 | 1617dbcd0c4f9eac91d14ba09d1fef99 |
|
BLAKE2b-256 | 1efd3b15de417abb2d20d0a0b77e995e9dc965e2ab558eb2b5ca8a91ab70ee19 |
Close
Hashes for hypersync_fuel-0.1.2-cp312-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cad0d0bf6bae02da97302708c4f080b9a2db589ec18db7ecd05c3567e0995f8c |
|
MD5 | fcf9b7bd4eb28ce1b381251f32654b3f |
|
BLAKE2b-256 | 01d6b74cb69780fb026eba8a7dcc68f85eccfe20a8c74e7e492d28d528066a64 |
Close
Hashes for hypersync_fuel-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60751dac132e4d99f04b35b514fd4676a5b43981822f6f5840393c49bd9f2eff |
|
MD5 | cc47fdd334c46bd25213fb7b45883f8c |
|
BLAKE2b-256 | 8000da3b0a0e6526228a257be16249dd8c7a35908db7165673a0621a6e53941c |
Close
Hashes for hypersync_fuel-0.1.2-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e983a9344fb294b308b13240712c227fa36226e638acb76fd48e07c7d21c6f3 |
|
MD5 | b1e3cd438c2712afa56a446ff48b668c |
|
BLAKE2b-256 | da2f7122f6b50c044ffcd2a4784a12b3a80d20487507fda76ff72e94ced1a1b4 |
Close
Hashes for hypersync_fuel-0.1.2-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3835233c362159a49ae134f6accbd02a639ef8bdcbaf91bf73db56efe675d62b |
|
MD5 | 01b5595c5415b59c80a63d2b6dca7fd2 |
|
BLAKE2b-256 | 1cadf417c369b4b01580b846665f346803d95c65d7db5841ffe3afa2da3f8f8d |
Close
Hashes for hypersync_fuel-0.1.2-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 128a7bd80af53eb6ef2cfb7d58ee95e8360fb047dd35e5ab781e7c29925dc390 |
|
MD5 | ec752eda649ff63d04ce003c7c0c8c36 |
|
BLAKE2b-256 | 0d3cb6adc016db9369d7578624efa62b790364187905673c53d7722f88b73a4f |
Close
Hashes for hypersync_fuel-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fa394935e550c822e01475dc2e68930e27b9ffb526311b5aec7515053f207a4 |
|
MD5 | 987beb717cbf2e45451ab56e27d49bb5 |
|
BLAKE2b-256 | bba71ad38241bf655383cc80daff88e2ae92c8f7f4192045b5159695b8ad5fa5 |
Close
Hashes for hypersync_fuel-0.1.2-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e46a2ded91c5f26a351a66a8e005c1b91f33f05b0546bdbe92160d43c32f6f33 |
|
MD5 | 45ac50c510c400e841d3a1b9660b87c5 |
|
BLAKE2b-256 | 0050429eb8619209596904d2c38514964323befafc8440d2c228afa02b201828 |
Close
Hashes for hypersync_fuel-0.1.2-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c745fba4e6603134d9d5ea1e1ceafcd1590f63e3c5263cd2e19c19a9bd9f86b9 |
|
MD5 | f8c3dda82f539965788faae40a505f70 |
|
BLAKE2b-256 | c835bdc94255d9d0b482cd1f8337eb46e3552851b6e87435502953bb3f45a1cf |
Close
Hashes for hypersync_fuel-0.1.2-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0abae9c850545141a747ff26e9032f39f7c35abaef4d1849e7d2515da2f4eb3b |
|
MD5 | 56479b02945023fb9173ec0cb1ec8fdb |
|
BLAKE2b-256 | 0329987e9256a5f25a274743096f248f62ee2093029ecbb474f89658537167ed |
Close
Hashes for hypersync_fuel-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b0729e2c792bb62f1ce9142b1e124ebaa8045ee3264ef5d9f91bbd5a20ec709 |
|
MD5 | 0893dcc9c5de330d44d39b3acdb8fff1 |
|
BLAKE2b-256 | 55fabdea98d23dce9d5e67a327eed8301e227f7cb338fdc5e3d46859b990e11e |
Close
Hashes for hypersync_fuel-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25711226c2bc7add1623aa9f0db085b8ea4289bfc5685ee7dea02d1e8fead2d5 |
|
MD5 | 26afbb385da0a1142fabc90978060860 |
|
BLAKE2b-256 | 0f4755fd4bb078a9611a79a92e5b2b73f5e5aa0fccf1161c2db8c99896985fe8 |
Close
Hashes for hypersync_fuel-0.1.2-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de8a43a020738b9c92db53642ce0acddd7a8433c268882373d02b8a18471cb95 |
|
MD5 | 6b863dd6b51bf5dedd326e1770d415ae |
|
BLAKE2b-256 | 71ca7ca92267d696043ec213800b6e829bf6ddebec29a0330023e09c0bbaa1aa |
Close
Hashes for hypersync_fuel-0.1.2-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11ff1b865c00ac2c7839012dc78bf7043b345b9d0450248a86ecf58c7b88c25d |
|
MD5 | 2890d5a703b1cf38dab7f2b03c00dc20 |
|
BLAKE2b-256 | b89dc106b489fde6ae540e17f3639bcbe0e4b519fef972737fbf6ac04fc5786f |
Close
Hashes for hypersync_fuel-0.1.2-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3885c94069b4f0c33003af8906699b2aa5e74184b7853f41f6e296e6051a30e9 |
|
MD5 | 47b570d36d1bb68b361709f7d7e5ae97 |
|
BLAKE2b-256 | 032a76ff04da5c6092cb2547165a75b5d18aca8b3f14d9fd9221921a8ca69a17 |