Huckleberry Exchange Trade Data

Huckleberry API Logo

Huckleberry API

Information
Network
Moonriver
Source type
DEX
Volume 24h
$ 10,993.262
Pairs available
112
Trades 24h
59
Exchange Information

What is Huckleberry?

Huckleberry is a blockchain oracle that provides verified external data to smart contracts. It was founded in 2021 by an anonymous team. The purpose of Huckleberry is to bridge the gap between on-chain and off-chain information by securely fetching and delivering real-world data to blockchain applications. The name Huckleberry is derived from the concept of an oracle being a guide or companion in the blockchain ecosystem.

What are the benefits of using Huckleberry?

Huckleberry offers several benefits compared to its direct competitors. One of the key advantages is its robust and secure blockchain infrastructure. Huckleberry leverages blockchain technology to ensure data integrity, transparency, and immutability. This means that the information provided by Huckleberry is reliable and cannot be tampered with, enhancing trust and credibility.

Another benefit of using Huckleberry is its extensive network of reputable and verified data providers. Huckleberry partners with a wide range of trusted sources to gather accurate and up-to-date information. This allows users to access high-quality data without having to rely on a single source, mitigating the risk of data manipulation or inaccuracies.

Furthermore, Huckleberry offers a user-friendly interface and comprehensive documentation, making it easy for developers and users to integrate and leverage the platform's functionalities. The platform provides well-documented APIs and supports multiple programming languages, ensuring compatibility and ease of use.

Compared to its direct competitors, Huckleberry distinguishes itself by its scalability and flexibility. The platform is designed to handle a high volume of data requests, catering to the needs of various industries and use cases. Additionally, Huckleberry allows for customization and adaptation to specific requirements, enabling users to tailor the platform to their unique needs.

Overall, Huckleberry stands out due to its secure infrastructure, extensive network of data providers, user-friendly interface, and scalability. These benefits position Huckleberry as a reliable and versatile option for accessing verified external data in blockchain applications.

How does Huckleberry work?

Huckleberry is a blockchain oracle solution that leverages decentralized technology to provide external data to smart contracts. The underlying technology behind Huckleberry is based on a blockchain network, which ensures transparency, immutability, and security of the data provided.

Huckleberry utilizes a specific blockchain, such as Ethereum, to store and validate the data. Ethereum is a popular choice for its robust smart contract functionality. The oracle acts as a bridge between this blockchain and external data sources, such as APIs, to fetch and deliver verified information to the smart contracts.

The functioning of Huckleberry involves a two-step process. Firstly, the oracle retrieves data from trusted sources using APIs or other relevant methods. The data could include real-time cryptocurrency prices, weather updates, stock market data, and more. It ensures that the data is obtained from reliable sources to prevent tampering or manipulation.

Secondly, the fetched data is then validated and securely transmitted to the blockchain network. This is done through cryptographic techniques that ensure the integrity of the data and prevent unauthorized modifications. The smart contracts on the blockchain can now access the verified data provided by Huckleberry.

Overall, Huckleberry acts as a decentralized intermediary that verifies and supplies external data to smart contracts, enabling them to execute actions based on real-world information. This ensures the trustworthiness and accuracy of the data used within blockchain applications, creating a more reliable and secure environment for decentralized applications.

How does DIA fetch Huckleberry trade data?

DIA employs a comprehensive approach to fetching trade data from Huckleberry, as well as other DeFi and NFT exchanges. The specific process varies depending on the type of exchange being referred to.

For centralized exchanges like Huckleberry, DIA utilizes scrapers that directly collect trades from the exchange databases. This is done using either Rest APIs or WebSocket APIs. The frequency at which data is collected differs from exchange to exchange, ranging from 1 to 7 seconds. By retrieving data as close to the source as possible, DIA ensures high precision and real-time availability of trade information.

On the other hand, for decentralized exchanges, DIA adopts a different approach. It collects trade data from various blockchains by subscribing to swap events in liquidity pools. This allows DIA to directly access and retrieve trading data from the blockchain itself, enhancing data accuracy.

When it comes to NFT marketplaces like Huckleberry, DIA captures live trading data by monitoring and retrieving information from the marketplace's smart contracts. The retrieval period typically ranges from 20 seconds to 1 minute, ensuring that all NFT transactions happening in real-time are accounted for. By focusing on the actual transactions rather than relying on unreliable bid and offer data, DIA is able to provide highly accurate and customizable price feeds for the broader NFT market.

In summary, DIA employs a diverse range of strategies to fetch trade data from Huckleberry and other exchanges. These methods, whether scraping centralized exchange databases or retrieving data directly from blockchains and smart contracts, enable DIA to provide accurate and timely price feeds for various types of trading platforms.

How build oracles with Huckleberry data?

DIA has a specific process for computing trade data from Huckleberry to build price feed oracles for both DeFi exchanges and NFT collections.

For DeFi exchanges, the process involves two steps: data cleaning and outlier detection, and price determination methodology application. In the first step, DIA ensures the price estimation process is resilient against trades with prices diverting from the current market price. They clean the data and remove outliers to avoid using data that is significantly different from the median. This is done using an Interquartile Range (IR) filter, which excludes data points and sets that fall outside an acceptable range relative to the interquartile range.

Once clean data is obtained, DIA applies various price determination methodologies to compute the final price. One example is the Volume Weighted Average Price (VWAP), where trades are weighted by their volume and the weighted average is calculated. Another example is the Moving Average with Interquartile Range Filter (MAIR), where trades are ordered by timestamp, weighted against volume, and an average price is determined for each second.

On the other hand, for NFT collections, the process is different. The data is first passed through cleansing filters to exclude market outliers and manipulation techniques. Then, a pricing methodology is applied to determine the final price point. The simplest methodology is the Floor Price, which provides the lowest sale price recorded on the blockchain within a given time window. However, this method is susceptible to manipulation.

To provide more realistic and reliable NFT floor prices, DIA offers advanced methodologies such as the Moving Average of Floor Price. This methodology calculates the moving average of a collection's floor price, taking into account customizable parameters like the length of the average and the size of the floor window. DIA also applies an interquartile range outlier detection filter to filter out malicious behavior like wash trading.

In addition to these methodologies, DIA is open to discussing custom filters and methodologies tailored to specific use cases.

How does DIA source price oracle data?

Instead of distributing pre-calculated data feeds, DIA covers the whole data journey from individual trade collection, and computation to the last mile of the feed delivery.

Granular trade data collection
DIA retrieves token and NFT tradign data from 100+ exchanges. This enables DIA to build the most precise and customizable price feed oracles.
Instant, direct sourcing
DIA utilizes RPCs and WebSockets to subscribe to swap events and gather trading data from both DEX liquidity pools and CEX databases, allowing for real-time data collection.
Learn more about data sourcing