diff --git a/subxt/src/blocks/blocks_client.rs b/subxt/src/blocks/blocks_client.rs index 4e065a3ce8..62cad074d3 100644 --- a/subxt/src/blocks/blocks_client.rs +++ b/subxt/src/blocks/blocks_client.rs @@ -53,7 +53,7 @@ where self.at_or_latest(Some(block_ref.into())) } - /// Obtain block details of the latest block hash. + /// Obtain block details of the latest finalized block. pub fn at_latest( &self, ) -> impl Future, Error>> + Send + 'static { diff --git a/subxt/src/events/events_client.rs b/subxt/src/events/events_client.rs index 1c4f2c8c93..354e93840a 100644 --- a/subxt/src/events/events_client.rs +++ b/subxt/src/events/events_client.rs @@ -48,7 +48,7 @@ where self.at_or_latest(Some(block_ref.into())) } - /// Obtain events for the latest block. + /// Obtain events for the latest finalized block. pub fn at_latest(&self) -> impl Future, Error>> + Send + 'static { self.at_or_latest(None) } diff --git a/subxt/src/runtime_api/runtime_client.rs b/subxt/src/runtime_api/runtime_client.rs index c75063364a..9597b031a1 100644 --- a/subxt/src/runtime_api/runtime_client.rs +++ b/subxt/src/runtime_api/runtime_client.rs @@ -40,7 +40,7 @@ where RuntimeApi::new(self.client.clone(), block_ref.into()) } - /// Obtain a runtime API interface at the latest block hash. + /// Obtain a runtime API interface at the latest finalized block. pub fn at_latest( &self, ) -> impl Future, Error>> + Send + 'static { diff --git a/subxt/src/storage/storage_client.rs b/subxt/src/storage/storage_client.rs index 278246ca12..c02a4ba157 100644 --- a/subxt/src/storage/storage_client.rs +++ b/subxt/src/storage/storage_client.rs @@ -69,7 +69,7 @@ where Storage::new(self.client.clone(), block_ref.into()) } - /// Obtain storage at the latest block hash. + /// Obtain storage at the latest finalized block. pub fn at_latest( &self, ) -> impl Future, Error>> + Send + 'static { diff --git a/subxt/src/view_functions/view_functions_client.rs b/subxt/src/view_functions/view_functions_client.rs index 9c1dae3483..5ce3917902 100644 --- a/subxt/src/view_functions/view_functions_client.rs +++ b/subxt/src/view_functions/view_functions_client.rs @@ -40,7 +40,7 @@ where ViewFunctionsApi::new(self.client.clone(), block_ref.into()) } - /// Obtain an interface to call View Functions at the latest block hash. + /// Obtain an interface to call View Functions at the latest finalized block. pub fn at_latest( &self, ) -> impl Future, Error>> + Send + 'static {