get swaps by pair address -eth - query
Returns the latest 100 DEX trades on Ethereum, where DEX smart contract is 0x4d68…2bBD: block time, block number, transaction hash, transaction index, trade index, smart contract, protocol family and 23 more fields.
What it returns
- block time
- block number
- transaction hash
- transaction index
- trade index
- smart contract
- protocol family
- protocol name
- buy amount
- buy amount in USD
- buy buyer
- buy seller
- buy currency name
- buy smart contract
- buy fungible
- buy currency symbol
- buy decimals
- buy price
- buy price in USD
- sell amount
- sell amount in USD
- sell buyer
- sell seller
- sell currency name
- sell smart contract
- sell fungible
- sell currency symbol
- sell decimals
- sell price
- sell price in USD
Filters
- DEX smart contract is 0x4d68…2bBD
The query
query {
EVM(network: eth) {
DEXTrades(
limit:{count:100}
orderBy:{descending:Block_Time}
where: {TransactionStatus: {Success: true}, Trade: {Dex: {SmartContract: {is: "0x4d68B530920D26c3b01C99fecC19e21011B72bBD"}}}}
) {
Block {
Time
Number
}
Transaction {
Hash
Index
}
Trade {
Index
Dex {
SmartContract
ProtocolFamily
ProtocolName
}
Buy {
Amount
AmountInUSD
Buyer
Seller
Currency {
Name
SmartContract
Fungible
Symbol
Decimals
}
Price
PriceInUSD
}
Dex {
SmartContract
ProtocolName
ProtocolFamily
}
Sell {
Amount
AmountInUSD
Buyer
Seller
Currency {
Name
SmartContract
Fungible
Symbol
Decimals
}
Price
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