Error executing Ethereum::Cube::DexTradesCube: Field smartContract is not defined
[ { "message": "Error executing Ethereum::Cube::DexTradesCube: Field smartContract is not defined for #<#<Class:0x000055720162a570>:0x00007f437864bf28>", "locations": [ { "line": 3, "column": 5 } ], "path": [ "ethereum", "dexTrades" ], "error_type": "client" } ]
What it returns
- timestamp time
- block height
- trade index
- full name
- buy amount
- buy currency address
- buy currency symbol
- sell amount
- sell currency address
- sell currency symbol
- maker address
- contract type
- taker address
- tx from address
- to address
- currency name
- transaction hash
Filters
- maker or taker is 0xcDCb…363e
- sell currency is 0xB09F…6B09
- date since 2021-05-08
The query
{
ethereum(network: bsc) {
dexTrades(
options: {desc: ["block.height", "tradeIndex"]}
date: {since: "2021-05-08", till: null}
makerOrTaker: {is: "0xcDCbD44526006122306293E4e2ae7f2D7352363e"}
sellCurrency: {is: "0xB09FE1613fE03E7361319d2a43eDc17422f36B09"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
tradeIndex
exchange {
fullName
}
buyAmount
buyCurrency {
address
symbol
}
sellAmount
sellCurrency {
address
symbol
}
maker {
address
smartContract{
contractType
}
}
taker {
address
smartContract{
contractType
}
}
transaction {
txFrom{
address
}
to{
address
smartContract{
currency
{
name
}
}
}
hash
}
}
}
}
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