Function pallet_ip_pallet::pallet::dispatchables::offer_purchase

source ·
pub fn offer_purchase<T: Config>(nft_id: T::NFTId, payment_type: PaymentType<T>)
Expand description

Creates a purchase offer for an NFT

Allows other accounts to purchase the NFT.

§Arguments

  • origin - Must be signed by the NFT owner
  • nft_id - ID of the NFT to purchase
  • payment_type - Payment terms (see PaymentType)

§Events

§Errors

§Warning: Doc-Only

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