Function pallet_rings::pallet::dispatchables::transfer_assets

source ·
pub fn transfer_assets<T: Config>(
    asset: <<T as Config>::Chains as ChainList>::ChainAssets,
    amount: u128,
    to: <T as Config>::AccountId,
    fee_asset: <<T as Config>::Chains as ChainList>::ChainAssets,
    fee: u128,
)
Expand description

Transfer fungible assets to another account in the destination chain.

Both asset and fee_asset have to be in the same chain.

The origin has to be a core.

  • asset: asset to transfer.
  • amount: amount to transfer.
  • to: account receiving the asset.
  • fee_asset: asset used to pay the fee.
  • fee: fee amount.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::transfer_assets.