This PR refactors existing pallet selection logic to default to palletXcm rather than the xTokens pallet when both are available in the runtime. It also adds an additional option to the TransferArgsOpts called xcmPalletOverride to allow users to manually select palletXcm or xTokens pallets to construct a tx.
Changes
This PR refactors existing pallet selection logic to default to palletXcm rather than the xTokens pallet when both are available in the runtime. It also adds an additional option to the
TransferArgsOpts
calledxcmPalletOverride
to allow users to manually select palletXcm or xTokens pallets to construct a tx.