trades of a wallet
Streams DEX trades on Solana as they happen, where buy account address is CP1d7V…wUCe 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 22 more fields.
What it returns
- program address
- protocol family
- protocol name
- buy amount
- buy account address
- buy metadata address
- buy currency key
- buy is mutable
- buy edition nonce
- buy decimals
- buy collection address
- buy fungible
- buy currency symbol
- buy native
- buy currency name
- buy limit price
- buy limit amount
- buy order ID
- buy price
- market address
- sell account address
- sell is mutable
- sell decimals
- sell collection address
- sell fungible
- sell currency symbol
- sell native
- sell currency name
- sell price
Filters
- buy account address is CP1d7V…wUCe
- sell account address is CP1d7V…wUCe
The subscription
subscription {
Solana {
buy: DEXTrades(
where: {Trade: {Buy: {Account: {Address: {is: "CP1d7VVnCMy321G6Q1924Bibp528rqibTX8x9UL6wUCe"}}}}}
) {
Trade {
Dex {
ProgramAddress
ProtocolFamily
ProtocolName
}
Buy {
Amount
Account {
Address
}
Currency {
MetadataAddress
Key
IsMutable
EditionNonce
Decimals
CollectionAddress
Fungible
Symbol
Native
Name
}
Order {
LimitPrice
LimitAmount
OrderId
}
Price
}
Market {
MarketAddress
}
Sell {
Account {
Address
}
Currency {
IsMutable
Decimals
CollectionAddress
Fungible
Symbol
Native
Name
}
Price
}
}
}
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
}
Order {
LimitPrice
LimitAmount
OrderId
}
Price
}
Market {
MarketAddress
}
Sell {
Account {
Address
}
Currency {
IsMutable
Decimals
CollectionAddress
Fungible
Symbol
Native
Name
}
Price
}
}
}
}
}
Similar queries
- SolanaDexTradesStreamAllSigners · Solana · DEXTrades
- SolanaDexTradesStreamOneSigner · Solana · DEXTrades
- subscription Solana · Solana · DEXTrades
- jupiter trades · Solana · DEXTrades
- solana subscription · Solana · DEXTrades