no-access-query
Returns 200000 DEX trades and instructions on Solana, where block slot is at least 430042461 and block slot is at most 430043460, sorted by block slot: external seq number, call path, internal seq number, instruction index, method, program name, buy amount and 28 more fields.
What it returns
- external seq number
- call path
- internal seq number
- instruction index
- method
- program name
- buy amount
- buy account address
- buy account owner
- buy currency name
- buy currency symbol
- buy currency mint address
- buy decimals
- buy fungible
- buy program address
- buy price in USD
- sell amount
- sell account address
- sell account owner
- sell currency name
- sell currency symbol
- sell currency mint address
- sell decimals
- sell fungible
- sell URI
- sell price in USD
- transaction signature
- transaction index
- slot
- block time
- accounts address
- token mint
- token owner
- program ID
- data
Filters
- block slot is at least 430042461
- block slot is at most 430043460
The query
query SolanaStreamQuery($blockSlotMin: String!, $blockSlotMax: String!) {
Solana {
DEXTrades(
where: {any: [{Instruction: {Program: {Method: {in: ["buy", "sell", "buy_v2", "buy_exact_sol_in", "buy_exact_quote_in_v2", "sell_v2"]}, Name: {is: "pump"}}}, Transaction: {Result: {Success: true}}}, {Instruction: {Program: {Method: {in: ["buy_exact_in", "buy_exact_out", "sell_exact_in", "sell_exact_out"]}, Name: {is: "raydium_launchpad"}}, Accounts: {includes: {Address: {is: "FfYek5vEz23cMkWsdJwG2oa6EphsvXSHrGpdALN4g6W1"}}}}, Transaction: {Result: {Success: true}}}], Block: {Slot: {ge: $blockSlotMin, le: $blockSlotMax}}}
orderBy: {ascending: Block_Slot}
limit: {count: 200000}
) {
Instruction {
ExternalSeqNumber
CallPath
InternalSeqNumber
Index
Program {
Method
Name
}
}
Trade {
Buy {
Amount
Account {
Address
Owner
}
Currency {
Name
Symbol
MintAddress
Decimals
Fungible
ProgramAddress
}
PriceInUSD
}
Sell {
Amount
Account {
Address
Owner
}
Currency {
Name
Symbol
MintAddress
Decimals
Fungible
Uri
}
PriceInUSD
}
}
Transaction {
Signature
Index
}
Block {
Slot
Time
}
}
Instructions(
where: {Block: {Slot: {ge: $blockSlotMin, le: $blockSlotMax}}, any: [{Instruction: {Program: {Method: {in: ["create", "create_v2"]}, Name: {is: "pump"}}}, Transaction: {Result: {Success: true}}}, {Instruction: {Program: {Method: {is: "initialize"}, Address: {is: "LanMV9sAd7wArD4vJFi2qDdfnVhFxYSUg6eADduJ3uj"}}, Accounts: {includes: {Address: {is: "FfYek5vEz23cMkWsdJwG2oa6EphsvXSHrGpdALN4g6W1"}}}}, Transaction: {Result: {Success: true}}}, {Instruction: {Program: {Method: {is: "create_pool"}, Name: {is: "pump_amm"}, Address: {is: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"}}}, Transaction: {Result: {Success: true}}}, {Instruction: {Program: {Address: {is: "LanMV9sAd7wArD4vJFi2qDdfnVhFxYSUg6eADduJ3uj"}, Method: {in: ["migrate_to_amm", "migrate_to_cpswap"]}}}, Transaction: {Result: {Success: true}}}]}
orderBy: {ascending: Block_Slot}
limit: {count: 200000}
) {
Block {
Slot
Time
}
Instruction {
Accounts {
Address
Token {
Mint
Owner
ProgramId
}
}
Data
Program {
Method
Name
}
}
Transaction {
Signature
}
}
}
}
Variables
{
"blockSlotMin": "430042461",
"blockSlotMax": "430043460"
}
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