trade index solana subscription
Streams DEX trades on Solana as they happen, where buy currency mint address is GHTsyY…sYK9 and sell currency mint address is GHTsyY…sYK9: program address, protocol family, protocol name, trade index, buy account address, buy amount, buy decimals and 17 more fields.
What it returns
- program address
- protocol family
- protocol name
- trade index
- buy account address
- buy amount
- buy decimals
- buy currency symbol
- buy currency mint address
- buy currency name
- buy price
- sell account address
- sell amount
- sell decimals
- sell currency symbol
- sell currency mint address
- sell currency name
- sell price
- block time
- block height
- transaction signature
- fee payer
- signer
- success
Filters
- buy currency mint address is GHTsyY…sYK9
- sell currency mint address is GHTsyY…sYK9
The subscription
subscription {
Solana {
Buyside: DEXTrades(
where: {Trade: {Buy: {Currency: {MintAddress: {is: "GHTsyY8doW5vziZXgpmkDdfAypMeFjeaVZ9HYpU7sYK9"}}}}}
) {
Trade {
Dex {
ProgramAddress
ProtocolFamily
ProtocolName
}
Index
Buy {
Account {
Address
}
Amount
Currency {
Decimals
Symbol
MintAddress
Name
}
PriceAgaistSellCurrency: Price
}
Sell {
Account {
Address
}
Amount
Currency {
Decimals
Symbol
MintAddress
Name
}
PriceAgaistBuyCurrency: Price
}
}
Block {
Time
Height
}
Transaction {
Signature
FeePayer
Signer
}
}
Sellside: DEXTrades(
where: {Trade: {Sell: {Currency: {MintAddress: {is: "GHTsyY8doW5vziZXgpmkDdfAypMeFjeaVZ9HYpU7sYK9"}}}}}
) {
Trade {
Dex {
ProgramAddress
ProtocolFamily
ProtocolName
}
Buy {
Account {
Address
}
Amount
Currency {
Decimals
Symbol
MintAddress
Name
}
PriceAgaistSellCurrency: Price
}
Index
Sell {
Account {
Address
}
Amount
Currency {
Decimals
Symbol
MintAddress
Name
}
PriceAgaistBuyCurrency: Price
}
}
Block {
Time
Height
}
Transaction {
Signature
FeePayer
Signer
Result {
Success(selectWhere: true)
}
}
}
}
}
Similar queries
- SolanaDexTradesStreamAllSigners · Solana · DEXTrades
- SolanaDexTradesStreamOneSigner · Solana · DEXTrades
- subscription Solana · Solana · DEXTrades
- jupiter trades · Solana · DEXTrades
- solana subscription · Solana · DEXTrades