pallet_messages::pallet::dispatchables

Function add_onchain_message

Source
pub fn add_onchain_message<T: Config>(
    on_behalf_of: Option<MessageSourceId>,
    schema_id: SchemaId,
    payload: Vec<u8>,
)
Expand description

Add an on-chain message for a given schema id.

§Events

§Errors

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::add_onchain_message.