pub fn transfer_multiasset<T: Config>(
asset: Box<VersionedAsset>,
dest: Box<VersionedLocation>,
dest_weight_limit: WeightLimit
)
Expand description
Transfer Asset
.
dest_weight_limit
is the weight for XCM execution on the dest
chain, and it would be charged from the transferred assets. If set
below requirements, the execution may fail and assets wouldn’t be
received.
It’s a no-op if any error on local XCM execution or message sending. Note sending assets out per se doesn’t guarantee they would be received. Receiving depends on if the XCM message could be delivered by the network, and if the receiving chain would handle messages correctly.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::transfer_multiasset
.