Get Response of Asynchronous Transaction
get
/restproxy/api/v2/channels/{channelName}/transactions/async/{trackingID}
Gets the response of an asynchronous transaction.
Request
Supported Media Types
- application/json
Path Parameters
-
channelName(required): string
ID of the channel
-
trackingID(required): string
Tracking ID of the asynchronous transaction returned by the rest proxy
Query Parameters
-
role: string
Which Hyperledger Fabric enrollment should be used
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Type:
Show Source
object
-
error:
string
-
result:
object result
-
returnCode(required):
string
Allowed Values:
[ "Success", "Failure" ]
Nested Schema : result
Type:
Show Source
object
-
blockNumber:
integer
-
encode:
string
Allowed Values:
[ "UTF-8", "JSON", "base64" ]
-
message:
string
-
payload:
-
status(required):
string
Allowed Values:
[ "valid", "invalid", "not found" ]
Transaction status -
txid(required):
string
Transaction ID
400 Response
Bad request
401 Response
Not authorized
403 Response
Forbidden
404 Response
Invalid parameters
500 Response
Service unavailable