referrerpolicy=no-referrer-when-downgrade

Trait GetLastTimestamp

Source
pub trait GetLastTimestamp<Block>: Core<Block>
where Block: Block,
{ // Provided method fn get_last_timestamp( &self, __runtime_api_at_param__: <Block as Block>::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 Block>::Hash, ) -> Result<u64, ApiError>

Returns the last timestamp of a runtime.

Trait Implementations§

Source§

impl<Block> RuntimeApiInfo for dyn GetLastTimestamp<Block>
where Block: Block,

Source§

const ID: [u8; 8]

The identifier of the runtime api.
Source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§