trades of a wallet
Returns DEX trades on Solana, where buy account owner is 2Yyf4V…WZCf and sell account owner is 2Yyf4V…WZCf: 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 owner is 2Yyf4V…WZCf
- sell account owner is 2Yyf4V…WZCf
The query
{
Solana {
buy: DEXTrades(
where: {Trade: {Buy: {Account: {Owner: {is: "2Yyf4VgGxG9A6w433uSi7AqVFDEDYTGmMdmVKTJbWZCf"}}}}}
) {
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: {Owner: {is: "2Yyf4VgGxG9A6w433uSi7AqVFDEDYTGmMdmVKTJbWZCf"}}}}}
) {
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
- Solana DEX Trades: Buy and Sell Accounts with DEX Name · Solana · DEXTrades
- Solana DEXTrades Archive Coverage, Last 7 Days · 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