pub fn complete_purchase<T: Config>(contract_id: T::ContractId)
Expand description

Completes a purchase contract after all payments are made

Finalizes NFT ownership transfer and cleans up contract storage. Can only be called when all payments have been completed.

§Arguments

  • origin - Any signed party
  • contract_id - ID of the purchase contract to complete

§Events

§Errors

§State Changes

§Warning: Doc-Only

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