ETH Query

Returns transfers on Ethereum, where transfer sender is 0x0744…9a98 and transaction from is 0x0744…9a98: block number, block time, transfer amount, smart contract, currency symbol, protocol name, decimals and 9 more fields.

By gaurav · saved 21 December 2023 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    Sent: Transfers(
      where: {Transfer: {Sender: {is: "0x07445065963c2d563cd70ddf2aa49fc771e59a98"}}}
    ) {
      Block {
        Number
        Time
      }
      Transfer {
        Amount
        Currency {
          SmartContract
          Symbol
          ProtocolName
          Decimals
        }
        Sender
        Receiver
      }
      Transaction {
        From
        To
        Gas
        GasPrice
        GasFeeCap
        GasTipCap
        Hash
      }
    }
    Received: Transfers(
      where: {Transfer: {Sender: {is: "0x07445065963c2d563cd70ddf2aa49fc771e59a98"}}}
    ) {
      Block {
        Number
        Time
      }
      Transfer {
        Amount
        Currency {
          SmartContract
          Symbol
          ProtocolName
          Decimals
        }
        Sender
        Receiver
      }
      Transaction {
        From
        To
        Gas
        GasPrice
        GasFeeCap
        GasTipCap
        Hash
      }
    }
    TxFrom: Transfers(
      where: {Transaction: {From: {is: "0x07445065963c2d563cd70ddf2aa49fc771e59a98"}}}
    ) {
      Block {
        Number
        Time
      }
      Transfer {
        Amount
        Currency {
          SmartContract
          Symbol
          ProtocolName
          Decimals
        }
        Sender
        Receiver
      }
      Transaction {
        From
        To
        Gas
        GasPrice
        GasFeeCap
        GasTipCap
        Hash
      }
    }
  }
}

Similar queries