referrerpolicy=no-referrer-when-downgrade
snowbridge_outbound_queue_v2_runtime_api

Trait OutboundQueueV2Api

Source
pub trait OutboundQueueV2Api<Block: BlockT, Balance>: Core<Block>
where Balance: BalanceT,
{ // Provided method fn prove_message( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, leaf_index: u64, ) -> Result<Option<MerkleProof>, ApiError> { ... } }

Provided Methods§

Source

fn prove_message( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, leaf_index: u64, ) -> Result<Option<MerkleProof>, ApiError>

Generate a merkle proof for a committed message identified by leaf_index.

Trait Implementations§

Source§

impl<Block: BlockT, Balance> RuntimeApiInfo for dyn OutboundQueueV2Api<Block, Balance>

Source§

const ID: [u8; 8] = _

The identifier of the runtime api.
Source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§

impl<__SrApiBlock__: BlockT, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> OutboundQueueV2Api<__SrApiBlock__, u128> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>
where RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>, &'static RuntimeApiImplCall: Send,