wallet inbound & outbound activity

Returns the latest transfer on Ethereum, where transaction from is 0x9e92…Fb8e and transaction to is 0x9e92…Fb8e: receiver, sender, success, decimals, currency name, smart contract, currency symbol and 3 more fields.

By Qadir · saved 30 January 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
  sender_data:  Transfers(
      limit: {count: 1}
      orderBy: {descending: Block_Date}
      where: {Transaction: {From: {is: "0x9e927c02C9eadAE63f5EFb0Dd818943c7262Fb8e"}}}
    ) {
      Transfer {
        Receiver
        Sender
        Success
        Currency {
          Decimals
          Name
          SmartContract
          Symbol
          Native
        }
        
      }
      Block {
        Date
      }
      Transaction {
        Hash
      }
    }
  }

 Receiver_data: EVM(dataset: combined, network: eth) {
    Transfers(
      limit: {count: 1}
      orderBy: {descending: Block_Date}
      where: {Transaction: {To: {is: "0x9e927c02C9eadAE63f5EFb0Dd818943c7262Fb8e"}}}
    ) {
      Transfer {
        Receiver
        Sender
        Success
        Currency {
          Decimals
          Name
          SmartContract
          Symbol
          Native
        }
        
      }
      Block {
        Date
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries