| 123456789101112131415161718192021222324 |
- use {
- crate::{api::ChainId, config::ConfigOptions},
- clap::Args,
- };
- #[derive(Args, Clone, Debug)]
- #[command(next_help_heading = "Inspect Options")]
- #[group(id = "Inspect")]
- pub struct InspectOptions {
- #[command(flatten)]
- pub config: ConfigOptions,
- /// Check the requests on this chain, or all chains if not specified.
- #[arg(long = "chain-id")]
- pub chain_id: Option<ChainId>,
- /// The number of requests to inspect starting from the most recent request.
- #[arg(long = "num-requests", default_value = "1000")]
- pub num_requests: u64,
- /// The number of calls to make in each batch when using multicall.
- #[arg(long = "multicall-batch-size", default_value = "100")]
- pub multicall_batch_size: u64,
- }
|