Skip to main content

Fast, Flexible & Fiercly Efficient Data Access: Envio HyperSync Now Supports Fuel Network

· 7 min read
Envio Fuel Partnership Cover Image

Come on baby light my fire! 🔥

We’re thrilled to announce that Envio has recently fully integrated its Hypersync service on Fuel Network, the Rollup Operating System purpose-built for Ethereum.

Envio is now the go-to solution on Fuel Network for efficient access to real-time and historical data on Fuel. Developers can sync large data sets within seconds! ⚡

What Envio Supports on Fuel?

Envio HyperSync’s hyper-performant data infrastructure serves as an accelerated data query layer on top of the Fuel Network that allows application developers and data analysts to easily parse, query, and analyse Fuel data.

With its flexible API, developers and data analysts can interact with the Hypersync API using either JavaScript, Python or Rust clients and can choose to query their data in JSON, Arrow, and Parquet data formats.

With support for real-time data analysis and the ability to extract large volumes of historical data within seconds, Hypersync is a perfect solution for building dApps, block explorers, wallets, analytics, and any other data-related activities on Fuel Network.

Spark Finance, the world's fastest on-chain order book built on Fuel VM, is a great case study for utilising Hypersync to present near-instant access to order book information to their traders.

Envio Fuel Partnership Cover Image

Using Envio’s HyperSync, application developers do not need to worry about RPC URLs, rate-limiting, or managing infrastructure. Developers can easily sync large datasets in a few minutes, something that would usually take hours or days via RPC.

Learn more here.

HyperSync on Fuel

⭐ Hypersync supports Fuel's beta-5 network and will support any future public testnets and Fuel mainnet.

HyperSync is a real-time indexed layer of the Fuel Network and is exposed as a low-level API for developers and data analysts to create niche, flexible, high-speed queries for all on-chain data. Using Envio’s HyperSync, application developers can easily sync large datasets in a few minutes, something that would usually take hours via standard Fuel node GraphQL queries without worrying about managing infrastructure (e.g. hosting archive nodes) or being rate-limited on a public node.

Fuel Developers can interact with the HyperSync API using the JavaScript API (format shown below) and query for specific data with incredible speed.  Some examples of data you can retrieve with HyperSync queries: all transactions from an address, all logs and receipts from a contract, transactions of an asset, or outputs generated by a predicate.

A Rust and Python client for Hypersync will be released soon.

{

// The block to start the query from

"from_block": Number,

// The block to end the query at. If not specified, the query will go until the

//  end of data. Exclusive, the returned range will be [from_block..to_block).

//

// The query will return before it reaches this target block if it hits the time limit

//  configured on the server. The user should continue their query by putting the

//  next_block field in the response into from_block field of their next query. This implements

//  pagination.

"to_block": Number, // Optional, defaults to latest block

/// List of receipt selections, the query will return receipts that match any of these selections and

///  it will return receipts that are related to the returned objects.

"receipts": [{ReceiptSelection}], // Optional

/// List of input selections, the query will return inputs that match any of these selections and

///  it will return inputs that are related to the returned objects.

"inputs": [{InputSelection}], // Optional

/// List of output selections, the query will return outputs that match any of these selections and

///  it will return outputs that are related to the returned objects.

"outputs": [{OutputSelection}], // Optional

// Weather to include all blocks regardless of if they are related to a returned transaction or log Normally

//  the server will return only the blocks that are related to the transaction or logs in the response. But if this

//  is set to true, the server will return data for all blocks in the requested range [from_block, to_block).

"include_all_blocks": bool, // Optional, defaults to false

// The user selects which fields they want returned. Requesting less fields will improve

//  query execution time and reduce the payload size so the user should always use a minimal number of fields.

"field_selection": {FieldSelection},

// Maximum number of blocks that should be returned, the server might return more blocks than this number but

//  it won't overshoot by too much.

"max_num_blocks": Number, // Optional, defaults to no maximum

// Maximum number of transactions that should be returned, the server might return more transactions than this number but

//  it won't overshoot by too much.

"max_num_transactions": Number, // Optional, defaults to no maximum

}

For more information and examples, visit the Fuel’s HyperSync documentation here.

What’s Next?

Envio is a purpose-built, modern blockchain indexing solution and data provider that natively supports indexing any EVM blockchain including Polygon, Linea, Arbitrum, Base, Metis, and many more. Envio has recently extended support for its hyper-performant data infrastructure to the Fuel VM.

As part of the next evolution in the Envio x Fuel partnership, Envio will be looking to add support for its HyperIndex product to the Fuel ecosystem, a graph-like indexer that equips developers with the necessary tools to easily create custom GraphQL APIs and Web3 backends for their applications.

HyperIndex is a developer-first, feature-rich data indexing framework that allows indexed data to be easily accessed through GraphQL queries, empowering developers with the ability to retrieve specific information.

HyperIndex is currently only available on EVM networks and offers application developers developers automatic code generation, flexible language support, quickstart templates, and a reliable cost-effective hosted service, overcoming challenges often associated with managing your own infrastructure.

Here are some HyperIndex features Fuel developers can expect:

  • HyperSync: To ensure blazing-fast retrieval of historical on-chain data and a seamless developer experience, Envio’s HyperSync automatically powers HyperIndex for 100 x sync times than standard RPC (use of RPC is optional).
  • No-code Quickstart: Autogenerate the key boilerplate for an entire Indexer project off single or multiple smart contracts. Deploy within minutes.
  • Multi-chain Support: Aggregate data across multiple networks into a single database. Query all your data with a unified GraphQL API.
  • Asynchronous Mode: Fetch data from off-chain storage such as IPFS, or contract state (e.g. smart contract view functions).
  • Factory Contracts: Automatically process events emitted by all child contracts that are created by the specified factory.
  • Hosted Service: A managed service platform for building, hosting and querying Envio's Indexers with guaranteed uptime and performance service level agreements.

About Fuel

Fuel is an operating system purpose-built for Ethereum rollups. Fuel's unique architecture allows rollups to solve for PSI (parallelization, state minimized execution, interoperability). Powered by the FuelVM, Fuel aims to expand Ethereum's capability set without compromising security or decentralization.

Website | X | Discord

About Envio

Envio is a dev-friendly, speed-optimized, modern blockchain indexing solution that addresses the limitations of traditional blockchain indexing approaches and gives developers peace of mind. By harnessing the power of Envio, developers can overcome the challenges posed by latency, reliability, and costs across various sources. Envio is the front door for any application’s need to access, transform, and save real-time or historical data, from any EVM-compatible smart contracts. If you're a blockchain developer looking to enhance your development process and unlock the true potential of Web3 infrastructure, look no further.

Join our growing community of Web3 developers, check out our docs, and let's work together to revolutionize the blockchain world and propel your project to the next level.

Website | X | Discord | Hey | Medium | YouTube | Reddit