pub fn format_transfer2(
data: &CompressedTokenInstructionDataTransfer2,
accounts: &[AccountMeta],
) -> StringExpand description
Format Transfer2 instruction data with resolved pubkeys.
This formatter provides a human-readable view of the transfer instruction, resolving account indices to actual pubkeys from the instruction accounts.
Mode detection:
- CPI context mode (cpi_context.set_context || first_set_context): Shows raw indices
- Direct mode: Resolves packed account indices using dynamically calculated start position