Get Transaction
Retrieves the details of a specific transaction for the specified wallet.
- HTTP request
- GET/wallets/{walletId}/transactions/{transactionId}
- Authorization requirements
-
Header Type Required Description Authorizationstring Yes Bearer token used to authenticate the request. See Authentication flows for instructions on generating this token. - Path parameter
-
Parameter Type Required Description walletId string Yes ID of the wallet. Length: 1 to 64. transferId string Yes ID of the transfer to cancel. Length: 1 to 64. - Request body
-
curl --request GET \ --url https://api.digitalassets.ibm.com/wallets/{walletId}/transactions/{transactionId} \ --header 'Authorization: Bearer <token>' - Response
- 200: Success
Example response:
{ "id": "tx-583hu-sp2p7-slvb9nqpa3hd8bus", "walletId": "wa-5pfuu-9euek-h0odgb6snva8ph3k", "network": "Algorand", "requester": { "userId": "us-6b58p-r53sr-rlrd3l5cj3uc4ome", "tokenId": "to-202a0-cdo33-o65mbt6q758lvvnt" }, "requestBody": { "kind": "Transaction", "transaction": "<string>", "externalId": "<string>" }, "status": "Pending", "dateRequested": "2023-04-14T20:41:28.715Z", "reason": "<string>", "txHash": "<string>", "fee": "<string>", "approvalId": "ap-2a9in-tt2a1-983lho480p35ejd0", "datePolicyResolved": "2023-04-14T20:41:28.715Z", "dateBroadcasted": "2023-04-14T20:41:28.715Z", "dateConfirmed": "2023-04-14T20:41:28.715Z", "externalId": "<string>" }