Skip to content

Commit

Permalink
docs: add aliases to get_transaction_count (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Mar 29, 2024
1 parent 15bf37b commit 9606df5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/provider/src/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,9 @@ pub trait Provider<N: Network, T: Transport + Clone = BoxTransport>: Send + Sync
self.client().request("eth_blockNumber", ()).await.map(|num: U64| num.to::<u64>())
}

/// Gets the transaction count of the corresponding address.
/// Gets the transaction count (AKA "nonce") of the corresponding address.
#[doc(alias = "get_nonce")]
#[doc(alias = "get_account_nonce")]
async fn get_transaction_count(
&self,
address: Address,
Expand Down

0 comments on commit 9606df5

Please sign in to comment.