pub fn parse_log_with_program_id(
log: &str,
signature: Signature,
slot: u64,
tx_index: u64,
block_time_us: Option<i64>,
grpc_recv_us: i64,
event_type_filter: Option<&EventTypeFilter>,
is_created_buy: bool,
recent_blockhash: Option<&[u8]>,
program_id: Option<&Pubkey>,
) -> Option<DexEvent>Expand description
Program-aware log parser for gRPC/RPC transaction logs.
Solana Program data: lines do not include the program id. Passing the
current invoke stack’s program id prevents cross-protocol discriminator
collisions from being misparsed.