Wallet Sold Token

Last 10 token trades of address

Returns the latest transfer on Ethereum, where currency smart contract is TOKEN_CONTRACT, transfer sender is WALLET and transfer receiver is LP_PAIR: transfer amount, currency name, currency symbol, smart contract, receiver, block time and transaction hash.

By HOD · saved 17 May 2024 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    Transfers(
      limitBy: {count: 1, by: Transfer_Currency_SmartContract}
      where: {Transfer: {Currency: {Fungible: true, 
        SmartContract: {is: "TOKEN_CONTRACT"}}, 
        Sender: {is: "WALLET"}, Success: true, 
        Receiver: {is: "LP_PAIR"}}, Transaction: 
        {From: {is: "WALLET"}}, 
        Block: {Date: {after: "2023-01-01"}}}
      limit: {count: 1}
      orderBy: {descending: Block_Time}
    ) {
      Transfer {
        Amount
        Currency {
          Name
          Symbol
          SmartContract
        }
        Receiver
      }
      Block {
        Time
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries