carbon_core

Module transformers

source
Expand description

Provides utility functions to transform transaction data into various representations within the carbon-core framework.

This module includes functions for extracting transaction metadata, parsing instructions, and nesting instructions based on stack depth. It also offers transformations for Solana transaction components into suitable formats for the framework, enabling flexible processing of transaction data.

§Key Components

  • Metadata Extraction: Extracts essential transaction metadata for processing.
  • Instruction Parsing: Parses both top-level and nested instructions from transactions.
  • Account Metadata: Converts account data into a standardized format for transactions.

§Notes

  • The module supports both legacy and v0 transactions, including handling of loaded addresses and inner instructions.

Functions§