13406-eth-enhanced_address_stats_p3

Returns the latest transaction on Ethereum, where tx sender is 0x06EC…B973, sender is 0x06EC…B973 and tx to is 0x06EC…B973: block height, iso8601 and index.

By Remach · saved 19 January 2026 · Bitquery API v1

What it returns

Filters

The query

query eth_enhanced_address_stats($address: String!) {
  ethereum(network: ethereum) {
    first_out_tx: transactions(txSender: {is: $address}, options: {asc: ["block.height", "index"], limit: 1}) {
      block {
        height
        timestamp {
          iso8601
        }
      }
      index
    }
    first_out_transfer: transfers(sender: {is: $address}, options: {asc: "block.height", limit: 1}) {
      block {
        height
        timestamp {
          iso8601
        }
      }
    }
    last_out_tx: transactions(txSender: {is: $address}, options: {desc: ["block.height", "index"], limit: 1}) {
      block {
        height
        timestamp {
          iso8601
        }
      }
      index
    }
    last_out_transfer: transfers(sender: {is: $address}, options: {desc: "block.height", limit: 1}) {
      block {
        height
        timestamp {
          iso8601
        }
      }
    }

    first_in_tx: transactions(txTo: {is: $address}, options: {asc: ["block.height", "index"], limit: 1}) {
      block {
        height
        timestamp {
          iso8601
        }
      }
      index
    }
    first_in_transfer: transfers(receiver: {is: $address}, options: {asc: "block.height", limit: 1}) {
      block {
        height
        timestamp {
          iso8601
        }
      }
    }
    last_in_tx: transactions(txTo: {is: $address}, options: {desc: ["block.height", "index"], limit: 1}) {
      block {
        height
        timestamp {
          iso8601
        }
      }
      index
    }
    last_in_transfer: transfers(receiver: {is: $address}, options: {desc: "block.height", limit: 1}) {
      block {
        height
        timestamp {
          iso8601
        }
      }
    }
  }
}

Variables

{
  "address":"0x06EC80630fA49197acE24e29013da5ed69F6B973"
}

Similar queries