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> { ... }
}
Expand description

This runtime API is only implemented for the test runtime!

Provided Methods§

source

fn get_last_timestamp( &self, __runtime_api_at_param__: <Block as BlockT>::Hash ) -> Result<u64, ApiError>

Returns the last timestamp of a runtime.

Trait Implementations§

source§

impl<Block: BlockT> RuntimeApiInfo for dyn GetLastTimestamp<Block>

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§