blockpond1
Returns one DEX trade on Ethereum, where DEX smart contract is 0x11b8…97f6, block time since 2023-05-10 and block time till 2023-05-10: protocol family, protocol name, sender, buy amount, buy buyer, buy currency name, buy smart contract and 10 more fields.
What it returns
- protocol family
- protocol name
- sender
- buy amount
- buy buyer
- buy currency name
- buy smart contract
- buy currency symbol
- buy price
- buy seller
- sell amount
- sell buyer
- sell currency name
- sell currency symbol
- sell smart contract
- sell price
- sell seller
Filters
- DEX smart contract is 0x11b8…97f6
- block time since 2023-05-10
- block time till 2023-05-10
The query
query ($pairAddress: String!, $network: evm_network!, $since: DateTime!, $till: DateTime!) {
EVM(network: $network, dataset: combined) {
DEXTrades(
where: {Trade: {Dex: {SmartContract: {is: $pairAddress}}}, Block: {Time: {since: $since, till: $till}}}
limit: {count: 1}
) {
Trade {
Dex {
ProtocolFamily
ProtocolName
}
Sender
Buy {
Amount
Buyer
Currency {
Name
SmartContract
Symbol
}
Price
Seller
}
Sell {
Amount
Buyer
Currency {
Name
Symbol
SmartContract
}
Price
Seller
}
}
}
}
}
Variables
{
"pairAddress": "0x11b815efb8f581194ae79006d24e0d814b7697f6",
"network": "eth",
"since": "2023-05-10T10:32:11Z",
"till": "2023-05-10T10:33:11Z"
}
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