pub trait StateClient {
type State: StateInfo;
fn latest_state_and_header(&self) -> (Self::State, Header);
fn state_at(&self, id: BlockId) -> Option<Self::State>;
}
Expand description
Provides methods to access chain state
Associated Types
Required methods
Get a copy of the best block’s state and header.