Skip to main content

run

Function run 

Source
pub async fn run(
    args: TxArgs,
    config: &Config,
    clients: &dyn ChainClientFactory,
) -> Result<()>
Expand description

Executes the transaction analysis command.

§Arguments

  • args - The parsed command arguments
  • config - Application configuration

§Returns

Returns Ok(()) on success, or an error if the analysis fails.

§Errors

Returns ScopeError::InvalidHash if the transaction hash is invalid. Returns ScopeError::Request if API calls fail.