TransactionStorageApi

Trait TransactionStorageApi 

Source
pub trait TransactionStorageApi<Block: BlockT>: Core<Block> {
    // Provided method
    fn retention_period(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
    ) -> Result<NumberFor<Block>, ApiError> { ... }
}
Expand description

Runtime API trait for transaction storage support.

Provided Methods§

Source

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

Get the actual value of a retention period in blocks.

Trait Implementations§

Source§

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

Source§

const ID: [u8; 8]

The identifier of the runtime api.
Source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§