Latest price of the specific token
To get the price of the token, put the address of your token in place of $token
What it returns
- block time
- transaction hash
- buy amount
- buy price in USD
- buy seller
- buy price
- buy currency name
- buy smart contract
- buy buyer
- sell amount
- sell buyer
- sell price in USD
- sell seller
- sell price
- sell currency name
- sell smart contract
Filters
- buy currency smart contract is 0xbb4C…095c
- sell currency smart contract is 0x55d3…7955
The query
query ($token: String!) {
EVM(dataset: archive, network: bsc) {
DEXTrades(
limit: {count: 10}
where:
{
Trade:
{
Buy:
{
Currency:
{
SmartContract:
{is: $token}}},
Sell:
{Currency:
{SmartContract:
{is: "0x55d398326f99059ff775485246999027b3197955"}}}}}
orderBy: {descending: Block_Time}
) {
Block {
Time
}
Transaction {
Hash
}
Trade {
Buy {
Amount
PriceInUSD
Seller
Price
PriceInUSD
Currency {
Name
SmartContract
}
Buyer
}
Sell {
Amount
Buyer
PriceInUSD
Seller
Price
Currency {
Name
SmartContract
}
}
}
}
}
}
Variables
{
"network": "bsc",
"token": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"
}
Similar queries
- Latest DODO DEX swaps on BSC · BNB Chain · DEXTrades
- Top DODO liquidity pools by 24h volume on BSC · BNB Chain · DEXTrades
- trades · Ethereum · DEXTrades
- metric_v1_bsc · BNB Chain · DEXTrades
- bsc_tessera · BNB Chain · DEXTrades