getAll I|O txs

Returns 6000 transactions on Ethereum, where tx sender is 0x4dc9…469a and tx to is 0x4dc9…469a: to address.

By Ivan · saved 24 June 2023 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query GetAllTransactions($address: String!, $limit: Int, $offset: Int) {
  outgoing: ethereum(network: ethereum) {
    transactions(
      txSender: {is: $address}
      options: {limit: $limit, offset: $offset}
    ) {
      ...TransactionFields
      to {
        address
      }
    }
  }
  incoming: ethereum(network: ethereum) {
    transactions(
      txTo: {is: $address}
      options: {limit: $limit, offset: $offset}
    ) {
      ...TransactionFields
      to {
        address
      }
    }
  }
}

fragment TransactionFields on EthereumTransactions {
  hash
  block {
    timestamp {
      iso8601
    }
    height
  }
  gas
  gasPrice
  gasValue(in: USD)
  amountUSD: amount(in: USD)
  amountETH: amount(in: ETH)
  currency {
    address
    name
    tokenType
  }
}

Variables

{"address": "0x4dc99eb43c986c9abd966c5c6a11f68d0c86469a",
"limit": 6000,
"offset": 0}

Similar queries