pub trait RecentBlockhashProvider: Send + Sync {
// Required method
fn latest_blockhash(&self) -> Option<[u8; 32]>;
}Expand description
Source of the latest recent blockhash bytes.
Required Methods§
Sourcefn latest_blockhash(&self) -> Option<[u8; 32]>
fn latest_blockhash(&self) -> Option<[u8; 32]>
Returns the newest blockhash bytes when available.