stellar_tradeEffects_expression

Returns one trade effect on Stellar, where date is 2024-04-09: buy amount, sell amount, transaction hash, sell currency address, buy currency address and expression.

By Omkar_BQ · saved 9 April 2024 · run 7 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  stellar(network: stellar) {
    tradeEffects(date: {is: "2024-04-09"}, options: {limit: 1}) {
      buyAmount
      sellAmount
      transaction {
        hash
      }
      sellCurrency {
        address
      }
      buyCurrency {
        address
      }
      expression(get: "sellAmount/buyAmount")
    }
  }
}

Similar queries