check if a list of pump fun tokens have migrated to pump amm
Returns instructions on Solana, where program address is pAMMBa…fXEA, program method is create_pool and instruction caller index is 2: program address, program name, method, arguments name, arguments type, json, float and 32 more fields.
What it returns
- program address
- program name
- method
- arguments name
- arguments type
- json
- float
- bool
- hex
- big integer
- value address
- string
- integer
- account names
- accounts address
- is writable
- token mint
- token owner
- program ID
- logs
- balance updates count
- ancestor indexes
- call path
- caller index
- data
- depth
- external seq number
- instruction index
- internal seq number
- token balance updates count
- transaction fee
- fee in USD
- transaction signature
- signer
- fee payer
- success
- error message
- block time
- block height
Filters
- program address is pAMMBa…fXEA
- program method is create_pool
- instruction caller index is 2
- instruction depth is 1
The query
query($tokenList: [String!]){
Solana {
Instructions(
where: {Instruction: {CallerIndex: {eq: 2}, Depth: {eq: 1}, CallPath: {includes: {eq: 2}}, Program: {Method: {is: "create_pool"}, Address: {is: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"}}, Accounts: {includes: {Address: {in: $tokenList }}}}}
) {
Instruction {
Program {
Address
Name
Method
Arguments {
Name
Type
Value {
... on Solana_ABI_Json_Value_Arg {
json
}
... on Solana_ABI_Float_Value_Arg {
float
}
... on Solana_ABI_Boolean_Value_Arg {
bool
}
... on Solana_ABI_Bytes_Value_Arg {
hex
}
... on Solana_ABI_BigInt_Value_Arg {
bigInteger
}
... on Solana_ABI_Address_Value_Arg {
address
}
... on Solana_ABI_String_Value_Arg {
string
}
... on Solana_ABI_Integer_Value_Arg {
integer
}
}
}
AccountNames
Json
}
Accounts {
Address
IsWritable
Token {
Mint
Owner
ProgramId
}
}
Logs
BalanceUpdatesCount
AncestorIndexes
CallPath
CallerIndex
Data
Depth
ExternalSeqNumber
Index
InternalSeqNumber
TokenBalanceUpdatesCount
}
Transaction {
Fee
FeeInUSD
Signature
Signer
FeePayer
Result {
Success
ErrorMessage
}
}
Block {
Time
Height
}
}
}
}
Variables
{
"tokenList": ["HHquU6P1amWTNQDBECzSYq3DVkBSw38XV3F8wfSEpump"]
}
Similar queries
- CPMM pools created · Solana · Instructions
- DFlow route legs · Solana · Instructions
- DFlow swap fees · Solana · Instructions
- token creation using instructions · Solana · Instructions
- pumpfun_migration · Solana · Instructions