detail-tx

test

Returns the latest 10 transfers on Ethereum, where sender is 0x388c…9297, receiver is 0xae7a…fe84 and date since 2023-06-01: timestamp time, block height, sender address, annotation, receiver address, currency address, currency symbol and 3 more fields.

By Xavi · saved 19 September 2023 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $sender: String!, $receiver: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transfers(
      options: {desc: "block.timestamp.time", asc: "currency.symbol", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      amount: {gt: 0}
      sender: {is: $sender}
      receiver: {is: $receiver}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      sender: sender {
        address
        annotation
      }
      receiver: receiver {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      amount
      amount_usd: amount(in: USD)
      transaction {
        hash
      }
      external
    }
  }
}

Variables

{
  "address": null,
  "sender": "0x388c818ca8b9251b393131c08a736a67ccb19297",
  "receiver": "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
  "currency": "ETH",
  "from": "2023-06-01T00:00:00Z",
  "till": "2023-09-01T23:59:59Z",
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "dateFormat": "%Y-%m-%d",
  "sortFilter": "tradeAmount",
  "sortAsc": false,
  "tradeMinAmount": null,
  "tradeMaxAmount": null
}

Similar queries