WalletTransfers

Returns the latest 10000 transfers on Ethereum, where receiver is 0xab40…bfef, sender is 0xab40…bfef and date since 2021-01-01.

By Morph · saved 24 May 2022 · run 7 times · Bitquery API v1

Filters

The query

fragment TransfersBase on EthereumTransfers {
  amount
  currency {
    address
    symbol
    tokenType
  }
  transaction {
    hash
  }
  block {
    height
    timestamp {
      iso8601
    }
  }
}

fragment AddressInfo on EthereumAddressInfo {
  address
  smartContract {
    contractType
  }
}

query WalletTransfers($network: EthereumNetwork!, $wallet: String!, $token: String, $since: ISO8601DateTime, $limit: Int) {
  walletTransfers: ethereum(network: $network) {
    transfersIn: transfers(
      currency: {is: $token}
      receiver: {is: $wallet}
      date: {since: $since}
      options: {desc: "block.height", limit: $limit}
    ) {
      ...TransfersBase
      sender {
        ...AddressInfo
      }
    }
    transfersOut: transfers(
      currency: {is: $token}
      sender: {is: $wallet}
      date: {since: $since}
      options: {desc: "block.height", limit: $limit}
    ) {
      ...TransfersBase
      receiver {
        ...AddressInfo
      }
    }
  }
}

Variables

{
  "network": "ethereum",
  "wallet": "0xab40a7e3cef4afb323ce23b6565012ac7c76bfef",
  "since": "2021-01-01",
  "limit": 10000
}

Similar queries