Avalanche transactions between users

Returns the latest 10 transactions on Ethereum and Avalanche, where tx sender is 0x1b56…572b, tx to is 0x7777…faa3 and date since 2023-01-01: timestamp time, block height, sender address, annotation, hash, gas value, creates address and 9 more fields.

By Aparna Sridhar · saved 19 December 2023 · run 6 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: avalanche) {
    transactions(
      options: {desc: "block.height", limit: 10, offset: 0}
      date: {since: "2023-01-01"}
      txSender: {is: "0x1b56b0ea603c46a521e418c593224419142a572b"}
      txTo: {is: "0x77777777777d4554c39223c354a05825b2e8faa3"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: sender {
        address
        annotation
      }
      hash
      gasValue
      gas_value_usd: gasValue(in: USD)
      creates {
        address
      }
      currency {
        name
      }
      error
  
      gas
      gasCurrency {
        name
        symbol
      }
      gasPrice
      gasValue
      nonce
      success
      to {
        address
      }
        }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "height": 39239987,
  "date": "2023-12-19",
  "network": "avalanche"
}

Similar queries