Latest Outbound Transfers

Returns the latest transfer on Arbitrum, where transfer sender is 0x82af…bab1, currency smart contract is 0x82af…bab1 and block date since 2023-09-19: count, chain ID, block time, block number, transaction hash, sender, currency symbol and 3 more fields.

By Nadia · saved 18 January 2024 · run 8 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int, $address: String!, $from: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    Transfers(
      where: {Transfer: {Sender: {is: $address}}, Block: {Date: {since: $from, till: $till}}}
      orderBy: {descending: Block_Time}
      limit: {count: $limit}
    ) {
      count
      ChainId
      Block {
        Time
        Number
      }
      Transaction {
        Hash
      }
      Transfer {
        Sender
        Currency {
          Symbol
          SmartContract
        }
      }
      sum(of: Transfer_Amount)
    }
    token_info: Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
      limit: {count: 1}
    ) {
      Transfer {
        Currency {
          Symbol
          SmartContract
          Name
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "network": "arbitrum",
  "address": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
  "from": "2023-09-19",
  "till": "2023-09-20"
}

Similar queries