ExamGecko
Question list
Search
Search

Related questions











Question 119 - CBDH discussion

Report
Export

You are writing chaincode and you need to access the ledger’s state. What two functions of the chaincode shim API do you select? (Select two.)

A.
GetState
Answers
A.
GetState
B.
PutState
Answers
B.
PutState
C.
InvokeChaincode
Answers
C.
InvokeChaincode
D.
GetStringArgs
Answers
D.
GetStringArgs
Suggested answer: A, B

Explanation:

Reference: https://godoc.org/github.com/hyperledger/fabric/core/chaincode/shim#ChaincodeStub.PutState

asked 16/09/2024
Steven Moran
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first