pub trait ConvertTransactionRuntimeApi<Block: BlockT>: Core<Block> {
    // Provided methods
    fn convert_transaction(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        transaction: TransactionV2
    ) -> Result<<Block as BlockT>::Extrinsic, ApiError> { ... }
    fn convert_transaction_before_version_2(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        transaction: TransactionV0
    ) -> Result<<Block as BlockT>::Extrinsic, ApiError> { ... }
}

Provided Methods§

source

fn convert_transaction( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, transaction: TransactionV2 ) -> Result<<Block as BlockT>::Extrinsic, ApiError>

source

fn convert_transaction_before_version_2( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, transaction: TransactionV0 ) -> Result<<Block as BlockT>::Extrinsic, ApiError>

👎Deprecated

Trait Implementations§

source§

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

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 2u32

The version of the runtime api.

Implementors§