Unlock Atomic Transaction
put
/restproxy/api/v2/atomicTransactions/{globalTransactionId}
Unlock an atomic transaction. Sends a request to unlock chaincode keys locked by a previous atomic transaction.
Request
Supported Media Types
- application/json
Path Parameters
-
globalTransactionId(required): string
Global transaction ID
Request to unlock chaincode keys locked by a previous atomic transaction
Root Schema : schema
Type:
Show Source
object
-
chaincode(required):
string
ID of the chaincode to invoke
-
channel(required):
string
ID of the channel to invoke the transaction
-
endorsers:
array endorsers
Endorsers for the chaincode
-
isCommit:
boolean
Default Value:
false
Specify whether to commit or rollback the transaction. Optional. -
prepareTxid(required):
string
Transaction ID of the prepared transaction
-
timeout:
integer(int64)
Timeout in ms for the chaincode to invoke
Response
Supported Media Types
- application/json
201 Response
Successful operation for synchronous transaction
Root Schema : schema
Type:
Show Source
object
-
error:
string
Default Value:
-
result:
object result
-
returnCode(required):
string
Allowed Values:
[ "Success", "Failure" ]
Nested Schema : result
Type:
Show Source
object
-
encode(required):
string
Allowed Values:
[ "UTF-8", "JSON", "base64" ]
-
message:
string
-
payload(required):
-
txid(required):
string
400 Response
Bad request
401 Response
Not authorized
403 Response
Forbidden
404 Response
Invalid parameters
500 Response
Service unavailable