pub trait GetLastTimestamp<Block: BlockT>: Core<Block> {
// Provided method
fn get_last_timestamp(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash
) -> Result<u64, ApiError> { ... }
}
Provided Methods§
sourcefn get_last_timestamp(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash
) -> Result<u64, ApiError>
fn get_last_timestamp( &self, __runtime_api_at_param__: <Block as BlockT>::Hash ) -> Result<u64, ApiError>
Returns the last timestamp of a runtime.