referrerpolicy=no-referrer-when-downgrade
pub trait FromBridgeHubPolkadotInboundLaneApi<Block: BlockT>: Core<Block> {
    // Provided method
    fn message_details(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        lane: LegacyLaneId,
        messages: Vec<(MessagePayload, OutboundMessageDetails)>,
    ) -> Result<Vec<InboundMessageDetails>, ApiError> { ... }
}
Expand description

Inbound message lane API for messages sent by this chain.

This API is implemented by runtimes that are receiving messages from this chain, not by this chain’s runtime itself.

Entries of the resulting vector are matching entries of the messages vector. Entries of the messages vector may (and need to) be read using To<ThisChain>OutboundLaneApi::message_details.

Provided Methods§

source

fn message_details( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, lane: LegacyLaneId, messages: Vec<(MessagePayload, OutboundMessageDetails)>, ) -> Result<Vec<InboundMessageDetails>, ApiError>

Return details of given inbound messages.

Trait Implementations§

source§

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

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§