status 500 error

Returns 2500 transfers and transactions on Ethereum, where sender is 0xc00e…32ba and tx sender is 0xc00e…2bab, sorted by block height: count, amount, currency symbol, currency address, transaction hash, gas value, sender address and 15 more fields.

By it · saved 14 December 2023 · Bitquery API v1

What it returns

Filters

The query

query transfers_and_transactions($senders: [String!]!, $txSenders: [String!]!, $outgoing_transfers_start_height: Int!, $outgoing_transactions_start_height: Int!, $limit: Int!, $offset: Int!) {
  result: ethereum(network: ethereum) {
    outgoing_transfers: transfers(
      sender: {in: $senders}
      height: {gteq: $outgoing_transfers_start_height}
      options: {limit: $limit, asc: "block.height", offset: $offset}
    ) {
      count
      amount
      amount_usd: amount(in: USD)
      currency {
        symbol
        address
      }
      transaction {
        hash
        gasValue
      }
      sender {
        address
      }
      receiver {
        address
      }
      external
      block {
        height
        timestamp {
          iso8601
        }
      }
      success
      gasValue
    }
    outgoing_transactions: transactions(
      txSender: {in: $txSenders}
      height: {gteq: $outgoing_transactions_start_height}
      options: {limit: $limit, asc: "block.height", offset: $offset}
    ) {
      gasValue
      count
      block {
        height
        timestamp {
          iso8601
        }
      }
      creates {
        address
      }
      currency {
        address
        symbol
      }
      amount
      amount_usd: amount(in: USD)
      error
      feePayer
      gas
      gasPrice
      hash
      index
      nonce
      sender {
        address
      }
      success
      to {
        address
      }
      txType
    }
  }
}

Variables

{
  "receivers": [
    "0xc00eebe4e2be29679781fc5fc350057ee8132bab"
  ],
  "senders": [
    "0xc00eebe4e2be29679781fc5fc350057ee8132ba"
  ],
  "txSenders": [
    "0xc00eebe4e2be29679781fc5fc350057ee8132bab"
  ],
  "incoming_transfers_start_height": 0,
  "outgoing_transfers_start_height": 0,
  "outgoing_transactions_start_height": 0,
  "limit": 2500,
  "offset": 7500
}

Similar queries