Skip to main content

execute

Function execute 

Source
pub fn execute(
    input: Option<&str>,
    pubkey: Option<&str>,
    lookup_tables_path: Option<&str>,
    summary_json: bool,
) -> Result<(), CliError>
Expand description

Analyze-transaction flow: thin orchestrator around the analysis handler.

Parameters

  • input: optional path to input file (when None, handler may read from stdin)
  • pubkey: optional public key to analyze as (Base58); if not provided, uses first signer
  • lookup_tables_path: optional path to lookup tables file
  • summary_json: emit analysis summary as JSON to stdout