arbitrum query

Returns 25000 transfers on Arbitrum, where transfer sender is 0xaef9…23fb, transfer receiver is 0xaef9…23fb and transfer amount is above 0, sorted by block time: transaction hash, transfer amount, fungible, currency symbol, smart contract, native, sender and 2 more fields.

By gaurav · saved 22 December 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network!, $address: String!, $limit: Int!, $offset: Int!, $from: DateTime) {
  EVM(network: $network, dataset: archive) {
    outs: Transfers(
      where: {Transfer: {Sender: {is: $address}, Amount: {gt: "0"}}, TransactionStatus: {Success: true}, Block: {Time: {since: $from}}}
      orderBy: {ascending: Block_Time}
      limit: {count: $limit, offset: $offset}
    ) {
      Transaction {
        Hash
      }
      Transfer {
        Amount
        Currency {
          Fungible
          Symbol
          SmartContract
          Native
        }
        wallet: Sender
        address: Receiver
      }
      Block {
        Time
      }
    }
    ins: Transfers(
      where: {Transfer: {Receiver: {is: $address}, Amount: {gt: "0"}}, TransactionStatus: {Success: true}, Block: {Time: {since: $from}}}
      orderBy: {ascending: Block_Time}
      limit: {count: $limit, offset: $offset}
    ) {
      Transaction {
        Hash
      }
      Transfer {
        Amount
        Currency {
          Fungible
          Symbol
          SmartContract
          Native
        }
        address: Sender
        wallet: Receiver
      }
      Block {
        Time
      }
    }
  }
}

Variables

{"address":"0xaef9c053c346c4ffb663d77a18460b3b521623fb","limit":25000,"network":"arbitrum","offset":0}

Similar queries