Lock the NFT and mint a new fungible asset.
The dispatch origin for this call must be Signed. The origin must be the owner of the NFT they are trying to lock.
Deposit funds of sender are reserved.
Deposit
nft_collection_id
pallet_nfts
nft_id
asset_id
pallet_assets
beneficiary
fractions
Emits NftFractionalized event when successful.
NftFractionalized
Lock the NFT and mint a new fungible asset.
The dispatch origin for this call must be Signed. The origin must be the owner of the NFT they are trying to lock.
Deposit
funds of sender are reserved.nft_collection_id
: The ID used to identify the collection of the NFT. Is used within the context ofpallet_nfts
.nft_id
: The ID used to identify the NFT within the given collection. Is used within the context ofpallet_nfts
.asset_id
: The ID of the new asset. It must not exist. Is used within the context ofpallet_assets
.beneficiary
: The account that will receive the newly created asset.fractions
: The total issuance of the newly created asset class.Emits
NftFractionalized
event when successful.