From 9606df5f18b40e744f90b6f579700b36db1751be Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Fri, 29 Mar 2024 09:50:26 +0100 Subject: [PATCH] docs: add aliases to `get_transaction_count` (#420) --- crates/provider/src/provider.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/provider/src/provider.rs b/crates/provider/src/provider.rs index acc8c788690..f1500ac62c2 100644 --- a/crates/provider/src/provider.rs +++ b/crates/provider/src/provider.rs @@ -565,7 +565,9 @@ pub trait Provider: Send + Sync self.client().request("eth_blockNumber", ()).await.map(|num: U64| num.to::()) } - /// 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,