DextradeTokens API link.
Returns DEX trades on Ethereum, where transaction hash is 0x2665…50df and DEX smart contract is 0x6a68…279f: transaction hash, buy amount, buy buyer, buy currency name, buy seller, buy price in USD, sell amount and 4 more fields.
What it returns
- transaction hash
- buy amount
- buy buyer
- buy currency name
- buy seller
- buy price in USD
- sell amount
- sell buyer
- sell currency name
- sell seller
- sell price in USD
Filters
- transaction hash is 0x2665…50df
- DEX smart contract is 0x6a68…279f
The query
{
EVM(dataset: archive, network: eth) {
DEXTrades(
where: {Transaction: {Hash: {is: "0x2665058c01f53a68dc570255f6d4d0da43a08050fdde1705acbd4cb4df8850df"}}, Trade: {Dex: {SmartContract: {is: "0x6a68dc44a6d446734fe0a4e5ec7bb37f1862279f"}}}}
) {
Transaction {
Hash
}
Trade {
Buy {
Amount
Buyer
Currency {
Name
}
Seller
Currency {
Name
}
Amount
PriceInUSD
}
Sell {
Amount
Buyer
Currency {
Name
}
Seller
Currency {
Name
}
Amount
PriceInUSD
}
}
}
}
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades