trades of a wallet

Returns the latest DEX trades by token on Solana, where transaction signer is FzCviB…Lump, block time after 2025-02-24 and block time before 2025-02-24: block time, account address, token owner, currency mint address, currency name, currency symbol, URI and 19 more fields.

By Paic · saved 26 February 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery($before: DateTime = "2025-02-24T18:43:36+00:00", $after: DateTime = "2025-02-24T17:43:36+00:00") {
  Solana {
    DEXTradeByTokens(
      where: {Transaction: {Signer: {is: "FzCviBy7v5PBQAfJHJwA9FTnMsVDQHhsGy3Vkt27Lump"}}, Block: {Time: {after: $after, before: $before}}}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time
      }
      Trade {
        Account {
          Address
          Token {
            Owner
          }
        }
        Currency {
          MintAddress
          Name
          Symbol
          Uri
          Decimals
        }
        Side {
          Account {
            Address
            Token {
              Owner
            }
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Uri
          }
          Type
          Amount
          AmountInUSD
        }
        Price
        PriceAsymmetry
        PriceInUSD
        AmountInUSD
        Amount
      }
      Transaction {
        Signature
        Signer
        Result {
          Success
        }
      }
    }
  }
}

Similar queries