mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 08:07:58 +00:00
Improve docs for at_latest (#2035)
Tell the user that these functions operate with the last finalized block. Co-authored-by: James Wilson <james@jsdw.me>
This commit is contained in:
@@ -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<Output = Result<RuntimeApi<T, Client>, Error>> + Send + 'static {
|
||||
|
||||
Reference in New Issue
Block a user