List Transactions
Retrieves a list of transaction requests for the specified wallet.
- HTTP request
- GET/wallets/{walletId}/transactions
- 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. - Query parameter
-
Parameter Type Default Description limit integer 50 Maximum number of items to return. Must be between 1 and 500. paginationToken string None Opaque token used to retrieve the next page of results. This value is returned as nextPageTokenfrom the previous response. Minimum length is 1. - Request body
-
curl --request GET \ --url 'https://api.digitalassets.ibm.com/wallets/{walletId}/transactions?limit=50' \ --header 'Authorization: Bearer <token>' - Response
- 200: Success
Example response:
{ "items": [ { "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>" } ], "walletId": "wa-5pfuu-9euek-h0odgb6snva8ph3k", "nextPageToken": "<string>" }