Package org.hyperledger.fabric.sdk
Class TransactionProposalRequest
java.lang.Object
org.hyperledger.fabric.sdk.TransactionRequest
org.hyperledger.fabric.sdk.TransactionProposalRequest
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hyperledger.fabric.sdk.TransactionRequest
TransactionRequest.Type
-
Method Summary
Modifier and TypeMethodDescriptionstatic TransactionProposalRequest
newInstance
(User userContext) void
setChaincodeLanguage
(TransactionRequest.Type chaincodeLanguage) The chaincode language type: default type Type.GO_LANGvoid
setChaincodeName
(String chaincodeName) void
setTransientMap
(Map<String, byte[]> transientMap) Transient data added to the proposal that is not added to the ledger.Methods inherited from class org.hyperledger.fabric.sdk.TransactionRequest
doVerify, getArgBytes, getArgs, getChaincodeCollectionConfiguration, getChaincodeEndorsementPolicy, getChaincodeID, getChaincodeLanguage, getChaincodeName, getChaincodePath, getChaincodeVersion, getFabricChaincodeID, getFcn, getProposalWaitTime, getTransactionContext, getTransientMap, isInit, noChannelID, setArgBytes, setArgs, setArgs, setArgs, setChaincodeCollectionConfiguration, setChaincodeEndorsementPolicy, setChaincodeID, setChaincodeVersion, setFcn, setInit, setProposalWaitTime, setTransactionContext, setUserContext
-
Method Details
-
newInstance
-
setChaincodeLanguage
Description copied from class:TransactionRequest
The chaincode language type: default type Type.GO_LANG- Overrides:
setChaincodeLanguage
in classTransactionRequest
- Parameters:
chaincodeLanguage
- . Type.Java Type.GO_LANG Type.NODE
-
setTransientMap
Transient data added to the proposal that is not added to the ledger.- Parameters:
transientMap
- Map of strings to bytes that's added to the proposal- Throws:
InvalidArgumentException
- if the argument is null.
-
setChaincodeName
- Overrides:
setChaincodeName
in classTransactionRequest
-