Hyperledger Fabric Key History Agent Service (com.ibi.agents.XDFabricKeyHistoryAgent)

Syntax:

com.ibi.agents.XDFabricKeyHistoryAgent

iIT Service Object:

format: Hyperledger Fabric Key History Agent

Description: Queries a Hyperledger Fabric Channel for the history of a key.

Parameters:

Parameter

Description

Fabric Channel Provider *

The name of the Fabric Channel Provider.

Namespace *

The namespace of the key. This is usually the chaincode name.

Key *

The name of the key.

Block Number *

The number of a block containing a transaction with a write of the key. This is a non-negative integer block number, or a negative integer block number relative to the current block height (-1 is the latest block).

Transaction Number *

The index of the transaction within the selected block.

Encoding

Determines how the value will be converted to a string. Choose UTF-8, type a Charset name to convert the bytes to string, or choose Hex to convert the ByteString to a hex-encoded string with two hex characters per byte.

Early Limit

The format is yyyy-MM-dd'T'HH:mm:ss.SSSXXX where XXX is an ISO 8601 time zone. Limit the key history depth to key writes timestamped earlier than the early limit. Timestamps are created by clients without a central clock. It is therefore recommended to specify a date earlier than necessary by some margin.

Maximum Depth

The maximum number of versions of the key to report.

History Format

The format of the history in the output document,

Edges:

The following table lists the available Line Edges for the Hyperledger Fabric Key History Agent Service (com.ibi.agents.XDFabricKeyHistoryAgent).

Line Edge

Description

OnError

An exception occurred during execution.

OnSuccess

The operation was successful.

OnFailure

A fail condition occurred during execution.

OnFailedOperation

Could not perform the operation requested.

OnFailParse

Could not parse a document.