QuestionQ15

Fundamentals of Blockchain

Where should a unique ID representing an asset on the ledger be generated?

  • A In a private data collection
  • B In the client application
  • C In the smart contract
  • D In a custom validation plugin
Explanation

A client application should generate the unique asset ID and supply it to the smart contract when it submits the asset-creation transaction. The smart contract receives that ID and uses it to identify and store the asset in ledger state.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!