ExamGecko
Question list
Search
Search

Related questions











Question 116 - CBDH discussion

Report
Export

When the________, ______________ or ________function of a chaincode is called, the fabric passes the stub *shim.ChaincodeStub parameter. (Select three.)

A.
Query
Answers
A.
Query
B.
List
Answers
B.
List
C.
Invoke
Answers
C.
Invoke
D.
Init
Answers
D.
Init
E.
Write
Answers
E.
Write
F.
Delete
Answers
F.
Delete
Suggested answer: A, C, D

Explanation:

When the Init, Invoke or Query function of a chaincode is called, the fabric passes the stub *shim.ChaincodeStub parameter. This stub can be used to call APIs to access to the ledger services, transaction context, or to invoke other chaincodes.

Reference: https://fabric-docs-test.readthedocs.io/en/latest/API/ChaincodeAPI/

asked 16/09/2024
Oliver Lüthi
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first