As much as I have been studying serum_dex so far, I have (unfortunately) been unable to index the events happening in the entire Serum environment.
My goal is simple:
- Record every filled order on-chain (Without Bonfida’s public API, and purely via RPC)
However, it is noted that getProgramAccounts is needed. I am wondering if there’s any way to derive a fill event just by reading the instruction and the transaction that owns the instruction in its entirety.
Is there a sample?