THORChain (RUNE) API and Price Oracle

THORChain API Logo


Contract address
Smart contract address of the asset
Blockchain network where the asset is deployed
Pricing methodology used to determine the price of the token in USD. By default, all price feeds on the DIA App are calculated with a MAIR methodology. This parameter is customisable.Learn more about methodologies.
Update frequency
120 seconds is the default update frequency. This parameter is customisable.Learn more about oracle updates.
Next update
24h Volume
The total volume captured by DIA across all the integrated sources.
Customize price oracle for THORChain
Customize this feed's parameters including sources, pricing methodology, update frequency and more.
Customize this feed on xstream

What is THORChain (RUNE)?

THORChain (RUNE) is a decentralized liquidity protocol built on the blockchain. It aims to enable seamless cross-chain swaps of digital assets. Founded in 2018 by an anonymous team, THORChain allows users to exchange cryptocurrencies across different blockchains without the need for intermediaries. The name "THOR" originates from Norse mythology, representing strength and durability. It has gained popularity for its ability to provide liquidity and foster interoperability between various blockchain networks.

How does THORChain work?

THORChain is a decentralized liquidity protocol that enables trustless and non-custodial token exchanges across different blockchain networks. It operates on the basis of a cross-chain information flow, which allows seamless asset swaps between different blockchains.

The underlying technology behind THORChain is built upon the Tendermint consensus algorithm, a Byzantine Fault-Tolerant (BFT) consensus engine. Tendermint ensures the security and consensus of the THORChain network by validating and agreeing upon state changes across all participating nodes. It also leverages the Cosmos SDK framework, which facilitates the development of interoperable blockchain applications.

THORChain currently operates on the native THORChain blockchain, but it plans to be blockchain-agnostic in the future, supporting various networks such as Ethereum, Binance Smart Chain, and Bitcoin. This will enable users to swap assets across different blockchains without relying on centralized exchanges or custodial services.

The functioning of THORChain relies on a dual-pool liquidity model. Users can contribute their assets as liquidity providers to pools, which are used to facilitate token swaps. When a user wants to trade a particular token, THORChain automatically routes the transaction through a liquidity pool that holds the desired token, ensuring efficient and cost-effective exchanges.

To maintain the stability and security of the protocol, THORChain implements an economic model that incentivizes users to provide liquidity and secure the network. By doing so, THORChain ensures a robust and decentralized ecosystem for seamless cross-chain token exchanges.

What are the benefits of THORChain?

THORChain offers several benefits compared to its direct competitors. One major advantage is its ability to provide a decentralized cross-chain interoperability solution. Unlike some of its competitors, THORChain allows for seamless token swaps across different blockchain networks without the need for a centralized intermediary. This means that users can easily transfer assets between various blockchain ecosystems, enabling increased liquidity and accessibility.

Another benefit of THORChain is its focus on security. The platform utilizes a distributed network of nodes to secure transactions and ensure the integrity of the system. This decentralized approach reduces the risk of single point failures and potential attacks, making THORChain a more resilient and trustworthy option compared to centralized alternatives.

Additionally, THORChain offers competitive transaction fees. With its automated market maker (AMM) design, the platform eliminates the need for order books and traditional trading fees. This can result in cost savings for users, enabling efficient and low-cost transactions.

When compared to its direct competitors, THORChain stands out for its unique combination of decentralized cross-chain interoperability, enhanced security measures, and competitive transaction fees. While other platforms may offer similar functionalities, THORChain's strong emphasis on decentralization and its innovative AMM model set it apart in the market.

What is THORChain used for?

THORChain is a decentralized liquidity protocol built on the blockchain that allows for cross-chain cryptocurrency swaps. It aims to solve the problem of liquidity fragmentation across different blockchains by enabling seamless asset transfers and swaps.

THORChain is primarily used for two common cases: liquidity provision and cross-chain token swaps.

In the case of liquidity provision, THORChain allows users to provide liquidity to the protocol by locking up their assets in liquidity pools. Liquidity providers earn fees from swaps made on the protocol and are incentivized to do so with the potential for high returns. This helps ensure that there is sufficient liquidity available for users to make swaps between different cryptocurrencies.

Now, let's elaborate on a specific use case. One example is a user who wants to swap Bitcoin (BTC) for Ethereum (ETH). Without a platform like THORChain, this would typically involve multiple steps and potentially high fees. However, with THORChain, the user can initiate a cross-chain swap by depositing their BTC into the THORChain liquidity pool and specifying that they want to receive ETH. The protocol then uses its decentralized network of nodes to facilitate the swap, ensuring the transaction is secure and transparent. The user receives their ETH directly into their designated wallet address, all done in a trustless and efficient manner.

In summary, THORChain is used to provide liquidity and enable cross-chain swaps, offering users a convenient and efficient way to exchange cryptocurrencies across different blockchains.

What is DIA's THORChain API?

DIA's THORChain API is part of their comprehensive suite of API endpoints that provide real-time price feeds for various crypto assets, including THORChain. These price feeds are constructed using raw data from over 85 on-chain and off-chain cryptocurrency and NFT exchanges, ensuring accuracy and reliability.

DIA offers both free API endpoints for developers to test and fully customizable, custom feeds. The free API endpoints can be accessed on the DIA App's asset detail page and are made public for informational purposes. They come in a standardized format and serve as a convenient testing tool for developers.

However, DIA's custom feeds are where the true value lies. These feeds can be tailored according to specific requirements, allowing users to customize data sources, methodologies, update mechanisms, and more. To request a custom feed, users can reach out to DIA via Discord or Telegram.

The use cases for DIA's API are extensive and span across the blockchain ecosystem. In DeFi, the price information from DIA's APIs can be utilized in areas like derivatives, options and futures, lending and borrowing markets, collateralized stablecoins, synthetic asset issuance, money markets, and more. Similarly, in the NFTfi space, DIA's API can power peer-to-pool NFT lending and borrowing, on-chain NFT derivatives, NFT renting, NFT fractionalization, and other innovative applications.

Overall, DIA's THORChain API, along with their range of API endpoints, offers developers and users access to reliable, real-time price data for crypto assets. While the free feeds are convenient for testing, the custom feeds provide a tailored and more sophisticated solution for users' specific needs.

What is DIA's THORChain price oracle?

DIA's THORChain price oracle is a smart contract that provides real-time price feeds for cryptocurrencies. DIA has integration with over 35 layer 1 and layer 2 networks, allowing them to deploy price oracles across multiple blockchains. These price feeds are generated by aggregating raw data from more than 85 on-chain and off-chain cryptocurrency and NFT exchanges. This vast data collection enables DIA to offer a level of accuracy and reliability that sets them apart from other web3 data providers.

While DIA provides free demo oracles for developers to test, these are strictly for testing purposes and cannot be integrated into production applications. However, where users require a custom configuration for a feed, DIA offers the option to request a dedicated price feed oracle. These custom oracles can be tailored to specific needs, including sources, methodologies, update mechanisms, and more. To request a custom feed, users can reach out to DIA via Discord or Telegram.

DIA's custom oracles serve as a valuable resource for users seeking more specialized and tailored price feeds. The versatility of DIA's price oracles opens up numerous use cases within the blockchain ecosystem. These include derivatives, options and futures, lending and borrowing markets, collateralized stablecoins, synthetic asset issuance, money markets, and more within the DeFi space. Additionally, DIA's price oracles can also be applied to NFTfi use cases such as peer-to-pool NFT lending and borrowing, on-chain NFT derivatives, NFT renting, and NFT fractionalization.

In the world of blockchain, an oracle is an external information provider that supplies verified data from outside the blockchain to smart contracts. Oracles play a crucial role in enabling smart contracts to interact with the real-world by providing reliable and accurate data, such as price feeds, to power decentralized applications and financial instruments.

Why use DIA's RUNE API & price oracle?

DIA's RUNE API and Price Oracle offer a host of benefits for users in the blockchain ecosystem. These tools, which provide access to accurate and reliable price data for cryptocurrencies and NFTs, offer a high level of customisation, making them invaluable for decentralised applications.

One of the key advantages of DIA's API and Price Oracle is the ability to tailor the oracle and API endpoints to meet specific needs. Users can configure settings such as the data sources, data cleaning filters, pricing methodologies, and update mechanisms for their feeds. This level of customisation ensures that the resulting data and oracle remain robust and resilient to market conditions, providing global as well as specific market prices.

Furthermore, transparency is another major benefit of using DIA's API and Oracle feeds. Users have full visibility into the entire data journey, providing them with confidence in the reliability and accuracy of the information. Additionally, DIA offers various tracking and monitoring tools to closely monitor the oracle and API feeds, further enhancing transparency.

In summary, DIA's RUNE API and Price Oracle offer a customisable solution that caters to the unique needs of decentralized applications. With their accurate and transparent data feeds, users can make informed decisions and trust in the reliability of the information provided.