# Schema: Parity PR Documentation Schema (prdoc) # See doc at https://github.com/paritytech/prdoc title: Add a builder pattern to create XCM programs doc: - audience: Core Dev description: | XCMs can now be built using a builder pattern like so: Xcm::builder() .withdraw_asset(assets) .buy_execution(fees, weight_limit) .deposit_asset(assets, beneficiary) .build(); migrations: db: [] runtime: [] crates: - name: xcm host_functions: []