Hydra DEX API

Summary

The public GET request endpoints are intended to allow access to market data. Endpoints return results in JSON format. HydraDex-Info uses GraphQL as query language and technology.

Endpoint Overview

Name
Category
Description
Indexing Status for Current Version
Health status for the graph server
Blocks
General block information and hydra price by block or timestamp
Bundles
Current hydra price (or by block number)
Burns
General information about liquidity burns on the exchange
Factories
General information about Hydra DEX factory like current volume, liqudity and pair numbers (up to two weeks history)
Day Data
Information about Hydra DEX factory by day, like daily volume, daily transactions count and liquidity
Mints
General information about the liquidity mint history on the exchange
Pairs
Information about Hydra DEX pairs like addresses, tokens a pair consist of, token reserves, token prices, volume etc... (up to one week)
Pair Day Data
Information about Hydra DEX pairs for particular days
Swaps
General information about token swaps on the exchange
Tokens
Information about pair tokens like address, symbol, decimals, total transaction count from the exchange pairs, total supply, trade volume etc... for current time or over last 2 days
Token Day Data
Information about a token pair for particular days
Transactions
General information about last 'x' number of swap, burn or mint transactions on Hydra DEX
Liqudity Positions
Information about top addresses liquidity positions on Hydra DEX pairs

Summary Endpoint

IndexingStatusForCurrentVersion
1
{
2
"data": {
3
"indexingStatusForCurrentVersion": {
4
"synced": true,
5
"health": "healthy",
6
"chains": [
7
{
8
"chainHeadBlock": {
9
"number": 241834,
10
"__typename": "Block"
11
},
12
"latestBlock": {
13
"number": 241834,
14
"__typename": "Block"
15
},
16
"__typename": "HydraIndexingStatus"
17
}
18
],
19
"__typename": "SubgraphIndexingStatus"
20
}
21
}
22
}
Copied!
Name
Type
Description
data
Object
Default GraphQL response object
indexingStatusForCurrentVersion
Object
Name of GraphQL request query
synced
string
Health status of server:
healthy – server has all the information till current moment and its ready for work.
unhealthy - server is still syncing or failed to sync for some reason.
chains
Array
Current chain head block and server last block synced

Endpoint A1 (Blocks)

Parametes:
Name
Type
Description
where.timestamp_gt
int
Look for block greated than timestamp
where.timestamp_lt
int
Look for block lesser than timestamp
first
int
First 'x' number of block that is found
orderBy
string
Ordered by some field (usualy block number)
orderDirection
string
Order direction of blocks of returned responce
1
{
2
"data": {
3
"blocks": [
4
{
5
"id": "93506568085a1b0f2e6306db826fe5e1d799cde02a4f265855756dba33201e32",
6
"number": 241162,
7
"timestamp": 1636636320,
8
"hydraPrice": "15.042536939257017",
9
"__typename": "Block"
10
}
11
]
12
}
13
}
14
15
or multiple
16
17
{
18
"data": {
19
"t1636636312": [
20
{
21
"number": 241184,
22
"__typename": "Block"
23
}
24
],
25
"t1636549912": [
26
{
27
"number": 240509,
28
"__typename": "Block"
29
}
30
]
31
}
32
}
Copied!
Blocks response descriptions:
Name
Type
Description
data
Object
Default GraphQL response object
blocks
Object
Name of GraphQL request query
id
string
Unique hash value of a block
number
number
Block height in the blockchain
timestamp
decimal
Timestamp of block mined time
hydraPrice
string
Hydra price for block number

Endpoint A2 (Bundles)

Parameters:
Name
Type
Description
block.number
int
Look for bundle by block number
where.id
string
Always value of 1
1
{
2
"data": {
3
"bundles": [
4
{
5
"id": "1",
6
"hydraPrice": "15.042536939257017",
7
"__typename": "Bundle"
8
}
9
]
10
}
11
}
Copied!
Bundles responce description:
Name
Type
Description
data
Object
Default GraphQL response object
bundles
Object
Name of GraphQL request query
id
string
Bundle id – it is constant (always equals to 1)
hydraPrice
string
Current Hydra price or by block number

Endpoint A3 (Burns)

Parameters:
Name
Type
Description
where.pair_in
string
Look for burns that happened in a perticular pair
first
int
First 'x' number of burns that is found
orderBy
string
Ordered by some field
orderDirection
string
Order direction of returned responce
1
{
2
"data": {
3
"burns": [
4
{
5
"transaction": {
6
"txHash": "aec9359bfa952259ef33837a6b66a103fd2138e94f0946b1bfa6a940ef8288a6",
7
"timestamp": 1635955696,
8
"__typename": "Transaction"
9
},
10
"pair": {
11
"token0": {
12
"tokenAddress": "4ab26aaa1803daa638910d71075c06386e391147",
13
"symbol": "LOC",
14
"__typename": "Token"
15
},
16
"token1": {
17
"tokenAddress": "6d9115a21863ce31b44cd231e4c4ccc87566222f",
18
"symbol": "WHYDRA",
19
"__typename": "Token"
20
},
21
"__typename": "Pair"
22
},
23
"sender": "HHFdtHmnRW6vYxZ5vgAZkdtvtz8xuG6Xk3",
24
"liquidity": "6.07223061",
25
"amount0": "8.95868882",
26
"amount1": "4.14558088",
27
"amountUSD": "228.8899858177729923598998904770681",
28
"__typename": "Burn"
29
}
30
]
31
}
32
}
Copied!
Burns response descriptions.
Name
Type
Description
data
Object
Default GraphQL response object
burns
Array
Name of GraphQL request query
transaction
Object
Transaction object with metadata for it like unique hash and timestamp
txHash
string
Hash of burn transaction
timestamp
int
Timestamp of burn transaction
pair
Object
Tokens pair/pool in which the burn transaction is linked to
token0
Object
One of the two tokens of which the pair/pool is created from
token1
Object
Second token of wihich the pair/pool is created from
tokenAddress
string
Blockchain address of the deployed HRC20 token
symbol
string
Symbol abbreviation of the deployed HRC20 token
sender
string
Address of the user who has executed the burn transaction
liquidity
string
Amount of LP tokens sent by the sender address to pair address to be burned
amount0
string
Amount of token0 to be released by pair address and sent to sender address
amount1
string
Amount of token1 to be released by pair address and sent to sender address
amountUSD
string
Amount of tokens converted to USD

Endpoint A4 (Factories)

Parameters:
Name
Type
Description
block.number
int
Looks for factory data by block number
where.id
int
Looks for factory by its contract address
1
{
2
"data": {
3
"hydraswapFactories": [
4
{
5
"id": "5a2a927bea6c5f4a48d4e0116049c1e36d52a528",
6
"totalVolumeUSD": "358685.06788043550968532958908",
7
"totalVolumeHYDRA": "20020.86112041",
8
"untrackedVolumeUSD": "7.411694177004923798240936043590744650931272062038152981943902e+30",
9
"totalLiquidityUSD": "178881.19973338456520281651928",
10
"totalLiquidityHYDRA": "12482.73786436",
11
"txCount": 468,
12
"pairCount": 10,
13
"__typename": "Factory"
14
}
15
]
16
}
17
}
Copied!
Factories response descriptions:
Name
Type
Description
data
Object
Default GraphQL response object
hydraswapFactories
Array
Array that holds Hydra DEX Factory data information object on index 0
id
string
Contract address of the deployed factory
totalVolumeUSD
string
Total volume converted to USD that passed through factory pairs/pools till current moment or given block number
totalVolumeHYDRA
string
Total volume converted to HYDRA that passed through factory pairs/pools till current moment or given block number
untrackedVolumeUSD
string
Untracked volume converted to USD that passed through factory pairs/pools till current moment or given block number
totalLiquidityUSD
string
Total liqudity converted to USD that factory pairs/pools hold till current moment or given block number
totalLiquidityHYDRA
string
Total liqudity converted to HYDRA that factory pairs/pools hold till current moment or given block number
txCount
string
Total transactions count that went through factory pairs/pools till current moment or given block number
pairCount
string
Total pairs/pools count that factory holds till current moment or given block number

Endpoint A5 (Day Data)

Parameters:
Name
Type
Description
first
int
First 'x' number of day data that is found
skip
int
Skips 'x' number of day data
orderBy
string
Ordered by some field
orderDirection
string
Order direction of returned responce
1
{
2
"data": {
3
"hydraswapDayDatas": [
4
{
5
"id": "18946",
6
"date": 1636934400,
7
"totalVolumeUSD": "359861.80719992833508720906516",
8
"dailyVolumeUSD": "1176.73931949282540187947608",
9
"dailyVolumeHYDRA": "82.30170444",
10
"totalLiquidityUSD": "184483.66148170780114863117792",
11
"totalLiquidityHYDRA": "12660.88530596",
12
"__typename": "HydraswapDayData"
13
},
14
{
15
"id": "18947",
16
"date": 1637020800,
17
"totalVolumeUSD": "389879.18391747133351371801759",
18
"dailyVolumeUSD": "30017.37671754299842650895243",
19
"dailyVolumeHYDRA": "2168.65893338",
20
"totalLiquidityUSD": "411875.44901453406069810494792",
21
"totalLiquidityHYDRA": "30055.64978338",
22
"__typename": "HydraswapDayData"
23
},
24
{
25
"id": "18948",
26
"date": 1637107200,
27
"totalVolumeUSD": "389879.18391747133351371801759",
28
"dailyVolumeUSD": "0",
29
"dailyVolumeHYDRA": "0",
30
"totalLiquidityUSD": "403584.6405452823010114",
31
"totalLiquidityHYDRA": "30051.62228582",
32
"__typename": "HydraswapDayData"
33
}
34
]
35
}
36
}
Copied!
Factories response description:
Name
Type
Description
data
Object
Default GraphQL response object
hydraswapDayDatas
Array
Array that holds Hydra DEX Day Data information objects by day
id
string
Day id composed of transaction timestamp diveded by 86400 and rounded to integer
date
int
Start of the day timestamp
totalVolumeUSD
string
Total volume converted in USD passed through Hydra DEX factory till current day
dailyVolumeUSD
string
Daily volume converted in USD passed through Hydra DEX factory
dailyVolumeHYDRA
string
Daily volume converted in HYDRA passed through Hydra DEX factory
totalLiqudityUSD
string
Total liquidity converted in USD tha Hydra DEX factory pairs hold till current day
totalLiqudityHYDRA
string
Total liquidity converted in HYDRA that Hydra DEX factory pairs hold till current day

Endpoint A6 (Mints)

Parameters:
Name
Type
Description
first
int
First 'x' number of mints that are found
where.pairs_in
Array
Array of pair addresses to check mints from
orderBy
string
Ordered by some field
orderDirection
string
Order direction of returned responce
1
{
2
"data": {
3
"mints": [
4
{
5
"transaction": {
6
"txHash": "ee987b550c130ff1945c7fb41e877f9ad9879c8dbb1744a5c720a5f1ad1bcdc9",
7
"timestamp": 1635909376,
8
"__typename": "Transaction"
9
},
10
"pair": {
11
"token0": {
12
"tokenAddress": "4ab26aaa1803daa638910d71075c06386e391147",
13
"symbol": "LOC",
14
"__typename": "Token"
15
},
16
"token1": {
17
"tokenAddress": "6d9115a21863ce31b44cd231e4c4ccc87566222f",
18
"symbol": "WHYDRA",
19
"__typename": "Token"
20
},
21
"__typename": "Pair"
22
},
23
"to": "HHFdtHmnRW6vYxZ5vgAZkdtvtz8xuG6Xk3",
24
"liquidity": "6.07223061",
25
"amount0": "9.28376418",
26
"amount1": "3.99999999",
27
"amountUSD": "594.7191850797705301743471178534177",
28
"__typename": "Mint"
29
}
30
]
31
}
32
}
Copied!
Mints response description:
Name
Type
Description
data
Object
Default GraphQL response object
mints
Array
Name of GraphQL request query
transaction
Object
Transaction object with metadata for it like unique hash and timestamp
txHash
string
Hash of mint transaction
timestamp
int
Timestamp of mint transaction
pair
Object
Tokens pair/pool in which the mint transaction is linked to
token0
Object
One of the two tokens of which the pair/pool is created from
token1
Object
Second token of wihich the pair/pool is created from
tokenAddress
string
Blockchain address of the deployed HRC20 token
symbol
string
Symbol abbreviation of the deployed HRC20 token
to
string
Address of the user who has recieved the LP tokens
liquidity
string
Amount of newly minted LP tokens recieved by the user address from pair address
amount0
string
Amount of token0 to be locked in pair address by user address
amount1
string
Amount of token1 to be locked in pair address by user address
amountUSD
string
Amount of tokens converted to USD

Endpoint A7 (Pairs)

Parameters:
Name
Type
Description
first
int
First 'x' number of pairs that are found
skip
int
Skips 'x' number of pairs
where.id_in
Array
Array of pair addresses to get information for
where.id
string
Single pair address to get information for
where.token0
string
Single token address that pairs should hold as token0 in the contract
where.token1
string
Single token address that pairs should hold as token1 in the contract
where.token0_in
Array
Array of token addresses that pairs should hold as token0 in the contract
where.token1_in
Array
Array of token addresses that pairs should hold as token1 in the contract
orderBy
string
Ordered by some field
orderDirection
string
Order direction of returned responce
block.number
int
Looks for pairs data by block number
1
{
2
"data": {
3
"pairs": [
4
{
5
"pairAddress": "1f487cf98b69d4dc43592bca5b89751c146652ff",
6
"txCount": 94,
7
"token0": {
8
"tokenAddress": "6d9115a21863ce31b44cd231e4c4ccc87566222f",
9
"symbol": "WHYDRA",
10
"name": "Wrapped Hydra",
11
"totalLiquidity": "3275.92822728",
12
"derivedHYDRA": "1",
13
"__typename": "Token"
14
},
15
"token1": {
16
"tokenAddress": "7b8dd012ec9e1f11e008376ef21d29ba4cc78e24",
17
"symbol": "GOMT",
18
"name": "GoMeat",
19
"totalLiquidity": "65209.49501157",
20
"derivedHYDRA": "0.13251822883978420769",
21
"__typename": "Token"
22
},
23
"reserve0": "8641.44678247",
24
"reserve1": "65209.49501157",
25
"reserveUSD": "347951.7583316664736847482572914729",
26
"totalSupply": "95736.74797472",
27
"trackedReserveHYDRA": "17282.89356494",
28
"reserveHYDRA": "17282.8935649400000001163198329733",
29
"volumeUSD": "29155.34392696878264625759235",
30
"untrackedVolumeUSD": "9153015.614500110481274498874262316",
31
"token0Price": "0.13251822883978420769",
32
"token1Price": "7.54613164358700764229",
33
"createdAtTimestamp": 1636832048,
34
"__typename": "Pair"
35
}
36
]
37
}
38
}
Copied!
Pairs response description:
Name
Type
Description
data
Object
Default GraphQL response object
pairs
Array
Name of GraphQL request query
pairAddress
string
Address of the deployed Hydra DEX pair contract
txCount
int
Total transaction count of a pair till current moment or by block number
transaction
Object
Transaction object with metadata for it like unique hash and timestamp
txHash
string
Hash of pair transaction
token0
Object
One of the two tokens of which the pair/pool is created from
token1
Object
Second token of wihich the pair/pool is created from
tokenAddress
string
Blockchain address of the deployed HRC20 token
symbol
string
Symbol abbreviation of the deployed HRC20 token
name
string
Full name of the deployed HRC20 token
totalLiquidity
string
Total liquidity for current pair of the HRC20 token
derivedHydra
string
Price of the HRC20 token converted to HYDRA
reserve0
string
Reserve of pair's token0 till current time or by block number
reserve1
string
Reserve of pair's token1 till current time or by block number
reserveUSD
string
Reserves of both tokens converted to USD
totalSupply
string
Total supply that a pair holds till current moment or by block number
volumeUSD
string
Volume of a pair converted in USD till current moment or by block number
untrackedVolumeUSD
string
Untracked volume of a pair converted in USD till current moment or by block number
token0Price
string
Price of token0 converted to amount of token1
token1Price
string
Price of token1 converted to amount of token0
createdAtTimestamp
int
Tmestamp of the pair's deployment

Endpoint A8 (Day Pair Data)

Parameters:
Name
Type
Description
first
int
First 'x' number of day datas that are found
skip
int
Skips 'x' number of day datas that are found
where.pairAddress
string
Looks for day datas of pair address
orderBy
string
Ordered by some field
orderDirection
string
Order direction of returned responce
1
{
2
"data": {
3
"pairDayDatas": [
4
{
5
"id": "dc7ba676dc8ded3b476ee6d25a4571002964321e-18947",
6
"date": 1637020800,
7
"dailyVolumeToken0": "278.47760389",
8
"dailyVolumeToken1": "67.26289722",
9
"dailyVolumeUSD": "934.32585451049780660854624",
10
"reserveUSD": "282220.6776219950517036714504472221",
11
"__typename": "PairDayData"
12
},
13
{
14
"id": "dc7ba676dc8ded3b476ee6d25a4571002964321e-18948",
15
"date": 1637107200,
16
"dailyVolumeToken0": "162.70434047",
17
"dailyVolumeToken1": "40",
18
"dailyVolumeUSD": "548.15045022555536",
19
"reserveUSD": "270818.7301208406840840287689589212",
20
"__typename": "PairDayData"
21
}
22
]
23
}
24
}
25
Copied!
Pair Day Data response description:
Name
Type
Description
data
Object
Default GraphQL response object
pairDayDatas
Array
Name of GraphQL request query
id
String
Consist of pair address concatinated with '-' and day id composed of transaction timestamp diveded by 86400 and rounded to integer
date
int
Start of the day timestamp
dailyVolumeToken0
string
Daily volume the token sitting at token0 position in a pair
dailyVolumeToken1
string
Daily volume the token sitting at token1 position in a pair
dailyVolumeUSD
string
Daily volume of both tokens converted in USD
reserveUSD
string
Total reserves of a pair converted in USD

Endpoint A9 (Swaps)

Parameters:
Name
Type
Description
first
int
First 'x' number of swaps that are found
where.pair_in
Array
Array of pair addresses to check swaps from
orderBy
string
Ordered by some field
orderDirection
string
Order direction of returned responce
1
{
2
"data": {
3
"swaps": [
4
{
5
"transaction": {
6
"txHash": "17947e682246e296c43486e403fe1c4288d9d27c1c97b057e926311856a52d0e",
7
"timestamp": 1636037536,
8
"__typename": "Transaction"
9
},
10
"id": "17947e682246e296c43486e403fe1c4288d9d27c1c97b057e926311856a52d0e-0",
11
"pair": {
12
"token0": {
13
"tokenAddress": "4ab26aaa1803daa638910d71075c06386e391147",
14
"symbol": "LOC",
15
"__typename": "Token"
16
},
17
"token1": {
18
"tokenAddress": "6d9115a21863ce31b44cd231e4c4ccc87566222f",
19
"symbol": "WHYDRA",
20
"__typename": "Token"
21
},
22
"__typename": "Pair"
23
},
24
"amount0In": "1500",
25
"amount0Out": "0",
26
"amount1In": "0",
27
"amount1Out": "528.15065251",
28
"amountUSD": "6568.55724026305028378063235",
29
"to": "H6ssQa8tGEqazq5BbGgaKKAjvCmHgLWMKG",
30
"__typename": "Swap"
31
}
32
]
33
}
34
}
Copied!
Name
Type
Description
data
Object
Default GraphQL response object
swaps
Array
Name of GraphQL request query
transaction
Object
Transaction object with metadata for it like unique hash and timestamp
txHash
string
Hash of swap transaction
timestamp
int
Timestamp of swap transaction
pair
Object
Tokens pair/pool in which the swap transaction is linked to
token0
Object
One of the two tokens of which the pair/pool is created from
token1
Object
Second token of wihich the pair/pool is created from
tokenAddress
string
Blockchain address of the deployed HRC20 token
symbol
string
Symbol abbreviation of the deployed HRC20 token
to
string
Address of the user who executed the swap transaction
amount0In
string
Amount of token0 sent from user to pair
amount0Out
string
Amount of token0 sent from pair to user
amount1In
string
Amount of token1 sent from user to pair
amount1Out
string
Amount of token1 sent from pair to user
amountUSD
string
Amount of swap converted in USD

Endpoint A10 (Tokens)

Parameters:
Name
Type
Description
first
int
First 'x' number of tokens that are found
skip
int
Skips 'x' number of tokens
where.id_in
Array
Array of token addresses to get information for
where.id
string
Single token address to get information for
where.symbol_contains
string
Full or part of token's symbol to get information for
where.name_cointains
string
Full or part of token's name to get information for
orderBy
string
Ordered by same field
orderDirection
string
Order direction of returned responce
block.number
int
Looks for token data by block number
1
{
2
"data": {
3
"tokens": [
4
{
5
"id": "4ab26aaa1803daa638910d71075c06386e391147",
6
"name": "LockTrip",
7
"symbol": "LOC",
8
"derivedHYDRA": "0.24670083962341685214",
9
"tradeVolume": "59919.7993523",
10
"tradeVolumeUSD": "361249.76600571377050862229743",
11
"untrackedVolumeUSD": "4.641666930948025425202765473435793e+25",
12
"totalLiquidity": "24627.61879609",
13
"txCount": 472,
14
"__typename": "Token"
15
},
16
{
17
"id": "6d9115a21863ce31b44cd231e4c4ccc87566222f",
18
"name": "Wrapped Hydra",
19
"symbol": "WHYDRA",
20
"derivedHYDRA": "1",
21
"tradeVolume": "22534.01459216",
22
"tradeVolumeUSD": "393429.00696961071684379051813",
23
"untrackedVolumeUSD": "4.078102090490297843129053769621566e+31",
24
"totalLiquidity": "3166.43539335",
25
"txCount": 592,
26
"__typename": "Token"
27
}
28
]
29
}
30
}
Copied!
Name
Type
Description
data
Object
Default GraphQL response object
tokens
Array
Name of GraphQL request query
id
string
Address of deployed HRC20 token
name
string
Full name of deployed HRC20 token
symbol
string
Symbol abbreviation of the deployed HRC20 token
derivedHYDRA
string
Token price converted in HYDRA
tradeVolume
string
Trade volume of a token in all Hydra DEX pairs till current moment or by block number
tradeVolumeUSD
string
Trade volume of a token in all Hydra DEX pairs converted in USD till current moment or by block number
untrackedVolumeUSD
string
Untracked volume of a token in all Hydra DEX pairs converted in USD till current moment or by block number
totalLiquidity
string
Total liquidity of a token in all Hydra DEX pairs till current moment or by block number
txCount
int
Total transaction count of a token in all Hydra DEX pairs till current moment or by block number

Endpoint A11 (Token Day Data)

Parameters:
Name
Type
Description
first
int
First 'x' number of day datas that are found
skip
int
Skips 'x' number of day datas
where.token
string
Single token address to get information for its day data
where.date_gt
string
Date timestamp to get day datas greater then
orderBy
string
Ordered by some field
orderDirection
string
Order direction of returned responce
1
{
2
"data": {
3
"tokenDayDatas": [
4
{
5
"id": "4ab26aaa1803daa638910d71075c06386e391147-18947",
6
"date": 1637020800,
7
"priceUSD": "4.496803945523902310997723294336857",
8
"totalLiquidityToken": "24798.59218395",
9
"totalLiquidityUSD": "83962.89571994544054461579985268684",
10
"totalLiquidityHYDRA": "6039.164192901680059650670124808",
11
"dailyVolumeHYDRA": "67.6474091746756411462788909687",
12
"dailyVolumeToken": "278.47760389",
13
"dailyVolumeUSD": "1369.195051861220383034884996311406",
14
"__typename": "TokenDayData"
15
},
16
{
17
"id": "4ab26aaa1803daa638910d71075c06386e391147-18948",
18
"date": 1637107200,
19
"priceUSD": "4.491830518875072979303273998973722",
20
"totalLiquidityToken": "24627.61879609",
21
"totalLiquidityUSD": "83259.31510716658890447419372476519",
22
"totalLiquidityHYDRA": "6075.6542349208455050723243401326",
23
"dailyVolumeHYDRA": "40.1392974043232820953222081058",
24
"dailyVolumeToken": "162.70434047",
25
"dailyVolumeUSD": "550.0593485979318175551753679394968",
26
"__typename": "TokenDayData"
27
}
28
]
29
}
30
}
Copied!
Name
Type
Description
data
Object
Default GraphQL response object
tokenDayDatas
Array
Name of GraphQL request query
id
string
Consist of token address concatinated with '-' and day id composed of transaction timestamp diveded by 86400 and rounded to integer
date
int
Start of the day timestamp
priceUSD
string
Price of a token for given day converted in USD
totalLiqudityToken
string
Total liqudity of a token in all Hydra DEX pairs for a given day
totalLiqudityUSD
string
Total liqudity of a token converted in USD in all Hydra DEX pairs for a given day
totalLiqudityHYDRA
string
Total liqudity of a token converted in HYDRA in all Hydra DEX pairs for a given day
dailyVolumeToken
string
Daily volume of a token in all Hydra DEX pairs for a given day
dailyVolumeUSD
string
Daily volume of a token converted in USD in all Hydra DEX pairs for a given day
dailyVolumeHYDRA
string
Daily volume of a token converted in HYDRA in all Hydra DEX pairs for a given day

Endpoint A12 (Transactions)

Parameters:
Name
Type
Description
first
int
First 'x' number of transactions that are found
orderBy
string
Ordered by some field
orderDirection
string
Order direction of returned responce
1
{
2
"data": {
3
"transactions": [
4
{
5
"mints": [
6
{
7
"transaction": {
8
"txHash": "4c5e91be0dfa64c6e6885a03edce977827d80e4d79ef877454d90df068a98ad2",
9
"timestamp": 1637027328,
10
"__typename": "Transaction"
11
},
12
"pair": {
13
"token0": {
14
"tokenAddress": "6d9115a21863ce31b44cd231e4c4ccc87566222f",
15
"symbol": "WHYDRA",
16
"__typename": "Token"
17
},
18
"token1": {
19
"tokenAddress": "7b8dd012ec9e1f11e008376ef21d29ba4cc78e24",
20
"symbol": "GOMT",
21
"__typename": "Token"
22
},
23
"__typename": "Pair"
24
},
25
"to": "HLhspJPd76shxFAUCQnxkHafr6MWzPgLv6",
26
"liquidity": "12.12363183",
27
"amount0": "3.99999999",
28
"amount1": "36.88112963",
29
"amountUSD": "387.4988298778651280812833761830751",
30
"__typename": "Mint"
31
}
32
],
33
"burns": [],
34
"swaps": [],
35
"__typename": "Transaction"
36
},
37
{
38
"mints": [],
39
"burns": [],
40
"swaps": [
41
{
42
"transaction": {
43
"txHash": "b05dbca0ff16fb54ffcc90cd89024566fe96d324ddff69d623696be60f229ba5",
44
"timestamp": 1637024688,
45
"__typename": "Transaction"
46
},
47
"pair": {
48
"token0": {
49
"tokenAddress": "6d9115a21863ce31b44cd231e4c4ccc87566222f",
50
"symbol": "WHYDRA",
51
"__typename": "Token"
52
},
53
"token1": {
54
"tokenAddress": "7b8dd012ec9e1f11e008376ef21d29ba4cc78e24",
55
"symbol": "GOMT",
56
"__typename": "Token"
57
},
58
"__typename": "Pair"
59
},
60
"amount0In": "30.29",
61
"amount0Out": "0",
62
"amount1In": "0",
63
"amount1Out": "279.52827222",
64
"amountUSD": "418.5892011919932964",
65
"to": "HCY4wMv2nFbA6iFy1iUKxT5rRJv6tnLM4f",
66
"__typename": "Swap"
67
}
68
],
69
"__typename": "Transaction"
70
}
71
]
72
}
73
}
Copied!
Name
Type
Description
data
Object
Default GraphQL response object
transactions
Array
Name of GraphQL request query
mints
Array
Array of Mint objects – ENDPOINT A6
burns
Array
Array of Burn objects – ENDPOINT A3
swaps
Array
Array of Burn objects – ENDPOINT A9

Endpoint A13 (Liquidity)

In works
Last modified 24d ago