pub trait AccountConversionApi<Block: BlockT, AccountId>: Core<Block>
where AccountId: Codec,
{ // Provided method fn conversion_of( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, location: Location ) -> Result<Option<AccountId>, ApiError> { ... } }
Expand description

Runtime Api for the pallet-anchors, to be implemented by and for a specific runtime that uses that pallet.

Provided Methods§

source

fn conversion_of( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, location: Location ) -> Result<Option<AccountId>, ApiError>

Trait Implementations§

source§

impl<Block: BlockT, AccountId> RuntimeApiInfo for dyn AccountConversionApi<Block, AccountId>

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§