SOL swaps

Streams DEX trades on Solana as they happen, where buy currency mint address is So1111…1112 and buy amount in USD is above 1: buy amount, buy currency mint address, buy currency name, buy decimals, buy token owner, buy account address, sell amount and 8 more fields.

By Divyasshree · saved 10 September 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTrades(
      where: {Transaction: {Result: {Success: true}}, Trade: {Buy: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, AmountInUSD: {gt: "1"}}}}
    ) {
      Trade {
        Buy {
          Amount
          Currency {
            MintAddress
            Name
            Decimals
          }
          Account {
            Token {
              Owner
            }
            Address
          }
        }
        Sell {
          Amount
          AmountInUSD
          Currency {
            MintAddress
          }
          Account {
            Owner
            Address
            Token {
              Owner
            }
          }
        }
      }
      Transaction {
        Signature
        Signer
        Result {
          Success
        }
      }
    }
  }
}

Similar queries