Skip to content

Commit

Permalink
docs: add example inputs for the command. (#365)
Browse files Browse the repository at this point in the history
* docs: add example inputs for the command.

* Update mod.rs
  • Loading branch information
0xxfu authored Nov 19, 2023
1 parent d0506da commit 7fba3fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/evm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ pub struct EvmArgs {
#[arg(long)]
onchain_block_number: Option<u64>,

/// Onchain Customize - Endpoint URL (Default: inferred from chain-type)
/// Onchain Customize - RPC endpoint URL (Default: inferred from
/// chain-type), Example: https://rpc.ankr.com/eth
#[arg(long)]
onchain_url: Option<String>,

Expand All @@ -141,7 +142,7 @@ pub struct EvmArgs {
onchain_chain_id: Option<u32>,

/// Onchain Customize - Block explorer URL (Default: inferred from
/// chain-type)
/// chain-type), Example: https://api.etherscan.io/api
#[arg(long)]
onchain_explorer_url: Option<String>,

Expand Down

0 comments on commit 7fba3fe

Please sign in to comment.