Latest Trades of a wallet solana

Returns the latest 50 DEX trades by token on Solana, where account address is 76db5n…Xcfg: block time, transaction signature, market address, protocol name, protocol family, amount in USD, price in USD and 10 more fields.

By Divyasshree · saved 21 January 2025 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query LatestTrades {
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limit: {count: 50}
      where: {Trade: {Account: {Address: {is: "76db5niWWp8ZmYbzTRaE9A1yCwRo5tSLu9ntovtgXcfg"}}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Signature
      }
      Trade {
        Market {
          MarketAddress
        }
        Dex {
          ProtocolName
          ProtocolFamily
        }
        AmountInUSD
        PriceInUSD
        Amount
        Currency {
          Name
        }
        Side {
          Type
          Currency {
            Symbol
            MintAddress
            Name
          }
          AmountInUSD
          Amount
          Account {
            Address
          }
        }
        Account {
          Address
        }
      }
    }
  }
}

Similar queries