Skip to content

This subgraph indexes and exposes in GraphQL all the event data related to the tBTC Network contracts, providing an easy access data.

Notifications You must be signed in to change notification settings

suntzu93/tbtc-thegraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tBTC Network Subgraph

This subgraph indexes and exposes in GraphQL all the event data related to the tBTC Network contracts, providing an easy access to :

  • Tracking TDTs
  • Tracking minting
  • New deposits per day
  • Redemptions per day
  • Total ETH bonded
  • Mint transaction
  • Deposit status
  • tBtc holders
  • ETH bonded

A live version of this subgraph can be found here, along with useful queries and examples already available on the playground.

Example

Query token info:

curl -X POST -H "Content-Type: application/json" --data '{"query":"{tbtctokens{id,name,address,totalMint,totalBurn,totalSupply,currentTokenHolders}}","variables":null}' https://api.thegraph.com/subgraphs/name/suntzu93/tbtc

About

This subgraph indexes and exposes in GraphQL all the event data related to the tBTC Network contracts, providing an easy access data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published