| 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.
|
| org.hyperledger.fabric.gateway.spi |
This package provides the set of interfaces that enable a Java developer to
extend the set of built in handlers for controlling gateway strategies.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
Transaction.evaluate(String... args)
Evaluate a transaction function and return its results.
|
byte[] |
Contract.evaluateTransaction(String name,
String... args)
Evaluate a transaction function and return its results.
|
byte[] |
Transaction.submit(String... args)
Submit a transaction to the ledger.
|
byte[] |
Contract.submitTransaction(String name,
String... args)
Submit a transaction to the ledger.
|
| Modifier and Type | Method and Description |
|---|---|
org.hyperledger.fabric.sdk.ProposalResponse |
QueryHandler.evaluate(Query query)
Called when the result for a given query is required.
|
void |
CommitHandler.waitForEvents(long timeout,
TimeUnit timeUnit)
Block until enough transaction commit events have been received to satisfy the event handling strategy.
|
Copyright © 2023. All rights reserved.