Skip to content

Listen Migrations : Some migration transactions don't have the 'Program data' log #112

@vedthemaster

Description

@vedthemaster

Hello,

I was using the logsubscribe method for monitoring the migrations from pump fun to pumpswap and noticed that the code is getting the transactions, but it is not able to extract the data. I put some logs and noticed that some transactions do not have the "Program data:" in the log, so it is not able to extract the information.

Reference: https://github.com/chainstacklabs/pump-fun-bot/blob/2153bfd441df21a1a5b5e7bec10e99d17411cb73/learning-examples/listen-migrations/listen_logsubscribe.py#L95

Transaction with Program Data : https://explorer.solana.com/tx/3jqYBKYkyqaejvTu4HP2pvWydScdHdhqQ6cn4TFodEscq6BgkVppo7vhfSQwukPt15EWJvo6NuTgn1LwNUeRCY5m

Transaction without Program Data : https://explorer.solana.com/tx/2dZkFmqyYfnZCkFL7PfeVZpjDEXuDrXnoBwafjH1EEvtxYv54r1GM9qYJWmNnXLXBinNBhgzaus8oH6zJh3YHSiH

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingduplicateThis issue or pull request already exists

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions