Get Wallet Assets
Retrieves the list of assets owned by the specified wallet. The format of the returned assets varies by blockchain network and token standard. You can optionally include a net worth estimate for each asset.
- HTTP request
- GET /wallets/{walletId}/assets
- 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 walletIdstring Yes The ID of the wallet whose assets should be retrieved. Minimum length: 1. - Query parameter
-
Parameter Type Required netWorthenum (string) No - Request body
-
curl --request GET \ --url https://api.digitalassets.ibm.com/wallets/{walletId}/assets \ --header 'Authorization: Bearer <token>' - Response
- 200: Success
Returns a list of assets held by the specified wallet.
Example response:
{ "walletId": "<string>", "network": "Algorand", "assets": [ { "kind": "Native", "decimals": 123, "balance": "<string>", "symbol": "<string>", "verified": true, "quotes": { "USD": 123 } } ], "netWorth": { "USD": 123 } }