Function xcm_simulator::encode_xcm
source · pub fn encode_xcm(message: Xcm<()>, message_kind: MessageKind) -> Vec<u8> ⓘ
Expand description
Encodes the provided XCM message based on the message_kind
.
pub fn encode_xcm(message: Xcm<()>, message_kind: MessageKind) -> Vec<u8> ⓘ
Encodes the provided XCM message based on the message_kind
.