referrerpolicy=no-referrer-when-downgrade

Trait polkadot_test_service::GetLastTimestamp

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§

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§

§

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

§

const ID: [u8; 8] = _

The identifier of the runtime api.
§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§