solana stream buy and sell for specific wallets

Returns DEX trades on Solana, where buy account owner is HRyutG…eFiR and sell account owner is HRyutG…eFiR: block time, method, protocol family, protocol name, buy amount, buy account address, buy currency name and 14 more fields.

By gaurav · saved 30 November 2024 · run 8 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    buy: DEXTrades(
      where: {Trade: {Buy: {Account: {Owner: {in: ["HRyutGc6UvF5i5NLqsox47kkL86nmdvQQRuxUwZ8eFiR"]}}}}}
    ) {
      Block {
        Time
      }
      Instruction {
        Program {
          Method
        }
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
        Sell {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
      Transaction {
        Signature
      }
    }
    sell: DEXTrades(
      where: {Trade: {Sell: {Account: {Owner: {in: ["HRyutGc6UvF5i5NLqsox47kkL86nmdvQQRuxUwZ8eFiR"]}}}}}
    ) {
      Block {
        Time
      }
      Instruction {
        Program {
          Method
        }
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
        Sell {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries