tBTC v2 (tBTC) API and Price Oracle

tBTC v2 API Logo

tBTC v2

tBTC
$
Information
For informational use only; request a custom oracle/API for production below.
General information
Contract address
Smart contract address of the asset
?
0x1808...3a88
Network
Blockchain network where the asset is deployed
?
Ethereum
Methodology
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.
?
MAIR
Update frequency
120 seconds is the default update frequency. This parameter is customisable.Learn more about oracle updates.
?
120s
Next update
24h Volume
The total volume captured by DIA across all the integrated sources.
?
Source
Volume 24h
Trades 24h
Pairs
Get a custom tBTC v2 price oracle or API endpoint

Request custom oracle
Request a fully tailored price oracle implementation
  • Autonomously deploy oracles under 3 minutes
  • Tailored oracles for any individual needs
  • Editable, updatable oracles
  • Real-time gas balance notifications
  • Available in 50+ chains
Start request process
Token information

What is tBTC v2 (tBTC)?

Threshold BTC (tBTC) is a decentralized, Ethereum-based token that represents Bitcoin on the Ethereum blockchain. It aims to bring Bitcoin's liquidity to Ethereum's decentralized finance (DeFi) ecosystem. tBTC is created by Threshold Network which was founded by the merging of two projects: Keep Network and NuCypher, in 2021. The primary purpose is to allow Bitcoin holders to use their BTC within Ethereum's DeFi applications without relying on centralized custodians. The name "Threshold" signifies the network's ability to operate across multiple blockchains, enhancing interoperability and security. Key facts include its decentralized nature, the merging of founding companies, and its role in the DeFi space.

How does tBTC v2 work?

Threshold BTC (tBTC) utilizes a decentralized protocol to create an Ethereum-based token that represents Bitcoin, enabling BTC to be used within Ethereum's DeFi ecosystem. The technology behind tBTC is built on the Threshold Network, which merges capabilities from Keep Network and NuCypher, ensuring enhanced security and interoperability.
The process begins when a user locks their Bitcoin in a special, multi-signature Bitcoin address controlled by the Threshold Network. This action triggers the minting of an equivalent amount of tBTC on the Ethereum blockchain. The network employs a decentralized group of nodes, called signers, to manage the Bitcoin deposits. These signers use threshold cryptography to ensure that no single entity has control over the locked BTC.
When users wish to redeem their tBTC for Bitcoin, they initiate a process where their tBTC is burned, and the equivalent amount of Bitcoin is released from the multi-signature address. This system ensures a 1:1 peg between tBTC and BTC, maintaining the value and liquidity of the original Bitcoin while enabling its use in Ethereum-based applications.
The underlying technology leverages Ethereum's blockchain for tBTC tokens and Bitcoin's blockchain for the locked BTC, combining the strengths of both networks to create a seamless and secure cross-chain solution.

What are the benefits of tBTC v2?

Threshold BTC (tBTC) offers several benefits compared to its direct competitors, such as Wrapped Bitcoin (WBTC) and renBTC. One of the primary advantages of tBTC is its decentralized nature. Unlike WBTC, which relies on a centralized custodian to hold Bitcoin, tBTC uses a decentralized network of signers to manage Bitcoin deposits. This reduces the risk of centralization and single points of failure.

Another significant benefit of tBTC is its use of threshold cryptography. This ensures that no single entity can control the locked Bitcoin, enhancing security and trustworthiness. In contrast, renBTC relies on a more centralized approach, which can be less secure and more vulnerable to attacks.

Additionally, tBTC maintains a 1:1 peg with Bitcoin, ensuring that the value of the token remains stable and directly linked to Bitcoin. This is similar to its competitors, but the decentralized governance model provides an extra layer of confidence for users.

Overall, tBTC offers a robust and secure way to bring Bitcoin liquidity to Ethereum's DeFi ecosystem, leveraging decentralization and advanced cryptographic techniques to stand out from competitors like WBTC and renBTC.

What is tBTC v2 used for?

Threshold BTC (tBTC) is primarily used to integrate Bitcoin liquidity into Ethereum's decentralized finance (DeFi) ecosystem. By converting Bitcoin into tBTC, users can participate in various DeFi applications without needing to sell their Bitcoin.

Common use cases for tBTC include:
- Yield Farming: Users can stake tBTC in DeFi protocols to earn interest or rewards.
- Lending and Borrowing: tBTC can be used as collateral in DeFi lending platforms to secure loans.
- Liquidity Provision: Users can add tBTC to liquidity pools on decentralized exchanges to earn trading fees.
- Trading: tBTC can be traded on Ethereum-based decentralized exchanges, providing a way to leverage Bitcoin's value without leaving the Ethereum network.

A specific case to elaborate on is yield farming. Yield farming allows users to earn passive income by providing liquidity to DeFi platforms. For instance, a user can deposit tBTC into a DeFi protocol like Compound or Aave. These platforms lend out the tBTC to other users, and the depositor earns interest on their tBTC holdings. This process allows Bitcoin holders to generate yield on their assets without having to convert them into another cryptocurrency, effectively leveraging their Bitcoin in the DeFi space.

What is DIA's tBTC v2 API?

DIA’s tBTC API provides real-time price feeds for tBTC and other crypto assets. These price feeds are constructed by sourcing raw data from billions of individual trades across over 85 on-chain and off-chain cryptocurrency and NFT exchanges, ensuring high accuracy and reliability.

An API (Application Programming Interface) allows different software applications to communicate with each other, enabling the integration of real-time data into various applications and services.

DIA offers free API endpoints for developers to test, available on the asset's detail page in the DIA App. These endpoints come in a standardized format and are public for informational purposes, providing a straightforward way for developers to experiment with the data.

However, the most valuable offering from DIA is its custom API feeds. These are tailored to specific user requirements, allowing customization in terms of data sources, methodologies, update mechanisms, and more. To request a custom feed, users can contact DIA via Discord or Telegram.

Use cases for DIA’s API include a variety of DeFi applications such as derivatives, lending markets, and collateralized stablecoins, as well as NFTfi applications like NFT lending and borrowing, on-chain NFT derivatives, and NFT fractionalization.

What is DIA's tBTC v2 price oracle?

DIA’s tBTC price oracle is a smart contract that provides real-time price feeds for tBTC and other crypto assets. Integrated with over 45 layer 1 and layer 2 networks, DIA can deploy price oracles across more than 45 blockchains. These price feeds are constructed by sourcing raw data from billions of individual trades across more than 85 on-chain and off-chain cryptocurrency and NFT exchanges, ensuring high accuracy and reliability.

A blockchain oracle is an external information provider that supplies verified data from outside the blockchain to smart contracts, enabling them to execute based on real-world information.

DIA offers free demo oracles for developers to test, available in DIA's documentation. These demo oracles are standardized and intended for testing purposes only, not for integration into production applications. However, the most valuable service from DIA is its custom price oracles. These can be tailored to specific user requirements, allowing customization in terms of data sources, methodologies, update mechanisms, and more. To request a custom feed, users can contact DIA via Discord or Telegram.

Use cases for DIA’s price oracles include various DeFi applications such as derivatives, lending markets, and collateralized stablecoins, as well as NFTfi applications like NFT lending and borrowing, on-chain NFT derivatives, and NFT fractionalization.

Why use DIA's tBTC API & price oracle?

Both DIA's API and Price Oracle for tBTC offer numerous benefits for users in the blockchain ecosystem. By leveraging DIA's technology, users can access accurate and reliable price data for cryptocurrencies and NFTs. The main advantage of using DIA's API or Price Oracle for tBTC is the high level of customization available.

Each oracle and API endpoint can be tailored to suit the specific needs of decentralized applications, including configuration settings such as the data sources that make up the feed, the data cleaning filters and pricing methodologies applied to determine price points, and the update mechanisms and frequency by which the final feed updates itself. This ensures that the data and oracle remain robust and resilient to market conditions, providing global market prices as well as specific individual or cross-chain market prices. This customization ensures robustness and resilience to unique market conditions associated with the chosen data sources, providing a tailored solution for every user.

Another major benefit of using DIA's API and Oracle feeds is the level of transparency they provide. DIA's API and oracles offer full and granular transparency across the entire data journey. Additionally, DIA provides various tracking and monitoring tools to closely track its oracle and API feeds.

Why use DIA data feeds and oracles?

Transparent
DIA provides full insight on the oracle’s data journey as well monitoring tools to track feeds in real-time.
Customisable
Oracles can be tailored to any use case in terms of data sources, methodologies and update mechanisms and much more.
Broadest coverage
DIA provides price oracles for 3,000+ cryptocurrencies: from blue-chip tokens to long-tail assets.