base error

Returns the latest transfers on Base, where currency protocol name is not erc721 or erc1155 and block date since 2024-05-01: sender, receiver, transfer amount, amount in USD, currency name, currency symbol, smart contract and 5 more fields.

By Et · saved 9 June 2024 · run 9 times · Bitquery API v2

What it returns

Filters

The query

query($address: String!, $since_date: String!) {
      EVM(dataset: combined, network: base) {
        Transfers(
          where: {
            any: [{Transfer: {Receiver: {is: $address}}}, {Transfer: {Sender: {is: $address}}}], 
            TransactionStatus: {Success: true}, Block: {Date: {since: $since_date}}, 
            Transfer: {Currency: {ProtocolName: {notIn: ["erc721", "erc1155"]}}}
          }
          orderBy: {descending: Block_Number, descendingByField: "Transaction_Index"}
        ) {
          Transfer {
            Sender
            Receiver
            Amount
            AmountInUSD
            Currency {
              Name
              Symbol
              SmartContract
            }
          }
          Transaction {
            Hash
            Index
          }
          Block {
            Time
          }
          Fee {
            EffectiveGasPrice
            SenderFee
          }
        }
      }
    }

Variables

{"address": "0xab04bb93121e8c68bb5ca3f14c434dda52f7dafb",
"since_date": "2024-05-01"}

Similar queries