Uses of Interface
org.hyperledger.fabric.gateway.Transaction
Package
Description
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
Modifier and TypeMethodDescriptionContract.createTransaction
(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.setCommitHandler
(CommitHandlerFactory commitHandler) Set the commit handler to use for this transaction invocation instead of the default handler configured for the gateway.Transaction.setCommitTimeout
(long timeout, TimeUnit timeUnit) Set the maximum length of time to wait for commit events to be received after submitting a transaction to the orderer.Transaction.setEndorsingPeers
(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.setTransient
(Map<String, byte[]> transientData) Set transient data that will be passed to the transaction function but will not be stored on the ledger.