pub fn decode_instructions_batch(
signature: &InstructionSignature,
batch: &RecordBatch,
allow_decode_fail: bool,
filter_by_discriminator: bool,
hstack: bool,
) -> Result<RecordBatch>Expand description
Decodes instruction data from an Arrow RecordBatch into a new RecordBatch of decoded parameters and accounts.
Expects the input batch to contain data (binary) and accounts (list-of-binary) columns.
Optionally filters rows by discriminator match and horizontally stacks the result with the original batch.