unify: TxDescriptor<{
    asset_id: number;
    beneficiary: MultiAddress;
    nft_collection_id: number;
    nft_id: number;
}>

Burn the total issuance of the fungible asset and return (unlock) the locked NFT.

The dispatch origin for this call must be Signed.

Deposit funds will be returned to asset_creator.

  • nft_collection_id: The ID used to identify the collection of the NFT. Is used within the context of pallet_nfts.
  • nft_id: The ID used to identify the NFT within the given collection. Is used within the context of pallet_nfts.
  • asset_id: The ID of the asset being returned and destroyed. Must match the original ID of the created asset, corresponding to the NFT. Is used within the context of pallet_assets.
  • beneficiary: The account that will receive the unified NFT.

Emits NftUnified event when successful.