Latest price of the token in BSC
To get the price of the token, "put the address of the your token in place of $token
What it returns
- block time
- transaction hash
- buy amount
- buy seller
- buy price
- buy currency name
- buy buyer
- protocol name
- sell amount
- sell buyer
- 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
- block date is 2024-05-23
The query
query ($token: String!) {
EVM(dataset: combined, network: bsc) {
DEXTrades(
limit: {count: 5}
where: {Trade: {Buy: {Currency: {SmartContract: {is: $token}}}, Sell: {Currency: {SmartContract: {is: "0x55d398326f99059ff775485246999027b3197955"}}}}, Block: {Date: {is: "2024-05-23"}}}
orderBy: {descending: Block_Time}
) {
Block {
Time
}
Transaction {
Hash
}
Trade {
Buy {
Amount
Seller
Price
Currency {
Name
}
Buyer
}
Dex {
ProtocolName
}
Sell {
Amount
Buyer
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