trades of a wallet
Returns DEX trades on Solana, where buy token owner is WHTUPp…1MPN and sell token owner is WHTUPp…1MPN: 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 token owner is WHTUPp…1MPN
- sell token owner is WHTUPp…1MPN
The query
{
Solana {
buy: DEXTrades(
where: {Trade: {Buy: {Account: {Token: {Owner: {is: "WHTUPptqvi8BR9amvWuh3uBzZFssQQQas2ijb4H1MPN"}}}}}}
) {
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: {Token: {Owner: {is: "WHTUPptqvi8BR9amvWuh3uBzZFssQQQas2ijb4H1MPN"}}}}}}
) {
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
- PumpSwap boost buy-and-burn trades · Solana · DEXTrades
- PumpSwap trades count by instruction method · Solana · DEXTrades
- FOMO App: One Wallet's Trades (Solana) · Solana · DEXTrades
- FOMO App: Latest Trades (Solana) · Solana · DEXTrades
- Solana dextrades for a token · Solana · DEXTrades