Raydium (SOL-MAX) Pool 1 example tx

trades of a wallet

Returns DEX trades on Solana, where transaction signature is 46Kxd8…Y5TH and sell account address is CP1d7V…wUCe: program address, protocol family, protocol name, buy amount, buy account address, buy metadata address, buy currency key and 36 more fields.

By Divyasshree · saved 10 January 2025 · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTrades(
      where: {Transaction: {Signature: {is: "46Kxd8R3f7xsEtvbKDhoXRmyZwEbXvgzJiKC85Z8FgevUJv5bhUn8mtfXERZacDD2koibR49uCzRmqjToa4iY5TH"}}}
    ) {
      Trade {
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Amount
          Account {
            Address
          }
          Currency {
            MetadataAddress
            Key
            IsMutable
            EditionNonce
            Decimals
            CollectionAddress
            Fungible
            Symbol
            Native
            Name
            UpdateAuthority
            TokenCreator {
              Address
            }
          }
          Order {
            LimitPrice
            LimitAmount
            OrderId
            Owner
            Account
          }
          Price
        }
        Market {
          MarketAddress
        }
        Sell {
          Account {
            Address
            Owner
            Token {
              Owner
            }
          }
          Currency {
            IsMutable
            Decimals
            CollectionAddress
            Fungible
            Symbol
            Native
            Name
            UpdateAuthority
            TokenCreator {
              Address
            }
            MintAddress
            ProgramAddress
          }
          Price
        }
      }
      Instruction {
        Program {
          Name
          Method
          AccountNames
        }
        Accounts {
          Address
        }
      }
    }
    sell: DEXTrades(
      where: {Trade: {Sell: {Account: {Address: {is: "CP1d7VVnCMy321G6Q1924Bibp528rqibTX8x9UL6wUCe"}}}}}
    ) {
      Trade {
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Amount
          Account {
            Address
          }
          Currency {
            MetadataAddress
            Key
            IsMutable
            EditionNonce
            Decimals
            CollectionAddress
            Fungible
            Symbol
            Native
            Name
            UpdateAuthority
            TokenCreator {
              Address
            }
          }
          Order {
            LimitPrice
            LimitAmount
            OrderId
            Owner
            Account
          }
          Price
        }
        Market {
          MarketAddress
        }
        Sell {
          Account {
            Address
            Owner
            Token {
              Owner
            }
          }
          Currency {
            IsMutable
            Decimals
            CollectionAddress
            Fungible
            Symbol
            Native
            Name
            UpdateAuthority
            TokenCreator {
              Address
            }
            MintAddress
            ProgramAddress
          }
          Price
        }
      }
      Instruction {
        Program {
          Name
          Method
          AccountNames
        }
        Accounts {
          Address
        }
      }
    }
  }
}

Similar queries