public interface ContractEvent
限定符和类型 | 方法和说明 |
---|---|
String |
getChaincodeId()
Get the identifier of the chaincode that emitted the event.
|
String |
getName()
Get the name of the event emitted by the contract.
|
Optional<byte[]> |
getPayload()
Any binary data associated with this event by the chaincode.
|
org.hyperledger.fabric.sdk.BlockEvent.TransactionEvent |
getTransactionEvent()
Get the transaction event that included this contract event.
|
String getName()
String getChaincodeId()
org.hyperledger.fabric.sdk.BlockEvent.TransactionEvent getTransactionEvent()
Optional<byte[]> getPayload()
Copyright © 2023. All rights reserved.