referrerpolicy=no-referrer-when-downgrade

build_transact_xcm

Function build_transact_xcm 

Source
pub fn build_transact_xcm(encoded_call: Vec<u8>) -> Xcm<()>
Expand description

Builds an XCM message with UnpaidExecution + Transact from an encoded call.

This is the standard pattern for system parachain → relay chain messages where the relay chain trusts the parachain origin and doesn’t charge fees.