transctions sent or received by an address

Returns 10 transactions on Ethereum: base fee, coinbase, block date, difficulty, gas limit, gas used, block hash and 47 more fields.

By gaurav · saved 24 May 2024 · Bitquery API v2

What it returns

The query

{
  EVM(network: eth, dataset: combined) {
    Transactions(
      limit: {count: 10}
      where: {any: [{Transaction: {From: {is: "0xa7efae728d2936e78bda97dc267687568dd593f3"}}}, {Transaction: {To: {is: "0xa7efae728d2936e78bda97dc267687568dd593f3"}}}]}
    ) {
      Block {
        BaseFee
        Coinbase
        Date
        Difficulty
        GasLimit
        GasUsed
        Hash
      }
      Fee {
        Burnt
        BurntInUSD
        EffectiveGasPrice
        EffectiveGasPriceInUSD
        GasRefund
        MinerReward
        MinerRewardInUSD
        PriorityFeePerGas
        PriorityFeePerGasInUSD
        Savings
        SavingsInUSD
        SenderFee
        SenderFeeInUSD
      }
      Receipt {
        Bloom
        ContractAddress
        ContractAddressCode {
          Hash
          Size
          Suicided
        }
        CumulativeGasUsed
        GasUsed
        PostState
        Status
        Type
      }
      Signature {
        R
        S
        V
      }
      Transaction {
        CallCount
        Cost
        CostInUSD
        Data
        From
        Gas
        GasFeeCap
        GasPrice
        GasPriceInUSD
        GasTipCap
        Hash
        Index
        Nonce
        Protected
        To
        ToCode {
          Hash
          Size
          Suicided
        }
        Type
        Value
        ValueInUSD
      }
      TransactionStatus {
        EndError
        FaultError
        Success
      }
    }
  }
}

Similar queries