The Graph exposes a GraphQL endpoint to query the events and entities within the DODOex ecosystem.
Go to thegraph playground : DODOEX
Go to thegraph playground : vDODO
Go to thegraph playground : ERC20Token
Attention
- In
Pair
entities,there is a virtual pool type,this is what we use when we do data statistics. In fact, DODO does not have these Pools. Please exclude the Pairs of type 'VIRTUAL'.
What is in OrderHistory
- Each OrderHistory event emit by DODOSmartRoute contract,if swap goes into the dodo liquidity pool, pool swap event will be ignored.
- If swap tx isn't from DODOSmartRoute, swap event from each dodo liquidity pool will be record as OrderHistory.
What is in Swap
- Each swap event emit from dodo liquidity pool
Where to find pool information
- In Pair we track pool status.
Endpoints
- dodoex
- ethereum : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-v2
- bsc : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-v2-bsc
- polygon : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-v2-polygon
- arbitrum : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-v2-arbitrum
- rinkeby : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-v2-rinkeby
- moonriver : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-v2-moonriver
- aurora : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-v2-aurora
- avax : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-v2-avax
- boba : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-v2-boba
- token
- ethereum : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-token
- bsc : https://n14.hg.network/subgraphs/name/dodoex-token-bsc/bsc
- polygon : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-token-polygon
- arbitrum : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-token-arbitrum
- rinkeby : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-token-rinkeby
- moonriver : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-token-moonriver
- aurora : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-token-aurora
- avax : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-token-avax
- boba : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-token-boba
- vdodo
- nft
- mine
- ethereum : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-mine-v3
- bsc : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-mine-v3-bsc
- heco : https://n10.hg.network/subgraphs/name/dodoex-mine-v3-heco/heco
- polygon : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-mine-v3-polygon
- arbitrum : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-mine-v3-arbitrum
- rinkeby : https://api.thegraph.com/subgraphs/name/dodoex/dodomine-rinkeby
- moonriver : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-mine-v3-moonriver
- aurora : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-mine-v3-aurora
- avax : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-mine-v3-avax
- boba : https://api.thegraph.com/subgraphs/name/dodoex/dodoex-mine-v3-boba
- to get user info
{
user(id:"0x8982a82a77eaf1cd6f490b67ad982304ecc590af"){
id
txCount
tradingRewardRecieved
}
}
- to get pair data for statistics use pairDayData、pairHourData
{
pairDayDatas(first:100,orderBy:date,orderDirection:desc){
date
volumeBase
volumeQuote
feeBase
feeQuote
baseToken{
symbol
}
quoteToken{
symbol
}
}
}
- to get crowdpooling info
{
crowdPoolingDayDatas{
date
crowdPooling {
id
creator
baseToken{
symbol
}
quoteToken{
symbol
}
}
investedQuote
investCount
newcome
poolQuote
}
}