solana_program::log

Function sol_log_params

source
pub fn sol_log_params(accounts: &[AccountInfo<'_>], data: &[u8])
Expand description

Print the hexadecimal representation of the program’s input parameters.

  • accounts - A slice of AccountInfo.
  • data - The instruction data.