XLM DEX Trades
Returns the latest 10 trade effects on Stellar, where buy currency name is Lumen, time since 2023-10-18 and time till 2023-10-18: timestamp time, block, transaction hash, transaction index, sell amount, sell currency symbol, sell currency name and 6 more fields.
What it returns
- timestamp time
- block
- transaction hash
- transaction index
- sell amount
- sell currency symbol
- sell currency name
- sell issuer address
- annotation
- buy amount
- buy currency symbol
- buy currency name
- buy issuer address
Filters
- buy currency name is Lumen
- time since 2023-10-18
- time till 2023-10-18
The query
query ($network: StellarNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
stellar(network: $network) {
tradeEffects(
options: {desc: "block", asc: "transaction.index", limit: $limit, offset: $offset}
time: {since: $from, till: $till}
buyCurrencyName: {is: "Lumen"}
) {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
block
transaction {
hash
index
}
sellAmount
sell_amount_usd: sellAmount(in: USD)
sellCurrency {
symbol
name
}
sellIssuer {
address
annotation
}
buyAmount
buy_amount_usd: buyAmount(in: USD)
buyCurrency {
symbol
name
}
buyIssuer {
address
annotation
}
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "stellar",
"from": "2023-10-18T04:15:20.000Z",
"till": "2023-10-18T04:45:20.999Z",
"dateFormat": "%Y-%m-%d"
}
Similar queries
- Stellar — Latest DEX trades · Stellar · tradeEffects
- DBTK Trades on Stellar · Stellar · tradeEffects
- AQUA Stellar Trades · Stellar · tradeEffects
- tradeEffects · Stellar · tradeEffects
- stellar · Stellar · tradeEffects