Uses of Interface
org.hyperledger.fabric.gateway.Transaction
-
Packages that use Transaction Package Description org.hyperledger.fabric.gateway This package provides the set of interfaces that enable a Java application to interact with a Fabric blockchain network. -
-
Uses of Transaction in org.hyperledger.fabric.gateway
Methods in org.hyperledger.fabric.gateway that return Transaction Modifier and Type Method Description Transaction
Contract. createTransaction(java.lang.String name)
Create an object representing a specific invocation of a transaction function implemented by this contract, and provides more control over the transaction invocation.Transaction
Transaction. setCommitHandler(CommitHandlerFactory commitHandler)
Set the commit handler to use for this transaction invocation instead of the default handler configured for the gateway.Transaction
Transaction. setCommitTimeout(long timeout, java.util.concurrent.TimeUnit timeUnit)
Set the maximum length of time to wait for commit events to be received after submitting a transaction to the orderer.Transaction
Transaction. setEndorsingPeers(java.util.Collection<org.hyperledger.fabric.sdk.Peer> peers)
Set the peers that should be used for endorsement of transaction submitted to the ledger usingsubmit(String...)
.Transaction
Transaction. setTransient(java.util.Map<java.lang.String,byte[]> transientData)
Set transient data that will be passed to the transaction function but will not be stored on the ledger.
-