View Addresses

Overview

Some cryptocurrencies enable you to use multiple addresses for your wallet. Using the wallet ID and ticker symbol for the coin, you can retrieve all addresses ever associated with a wallet.

Prerequisites

Steps

  • SDK
  • API
1 2 3 4 wallet.addresses().then(function (addresses) { // print addresses console.dir(addresses); });

Step Result

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 { "coin": "string", "totalAddressCount": 0, "pendingAddressCount": 0, "addresses": [ { "id": "59cd72485007a239fb00282ed480da1f", "address": "2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS", "chain": 1, "index": 0, "coin": "string", "lastNonce": -1, "wallet": "59cd72485007a239fb00282ed480da1f", "coinSpecific": { "xlm": { "memoId": "2000000", "rootAddress": "GCTTCPH4IIDK7P72FFAEJ3ZFN6WDHJH6GGMRPHPM56ZWGIQ7B3XTIJAM" }, "txlm": { "memoId": "2000000", "rootAddress": "GCTTCPH4IIDK7P72FFAEJ3ZFN6WDHJH6GGMRPHPM56ZWGIQ7B3XTIJAM" } }, "balance": { "updated": "2019-08-24T14:15:22Z", "balance": 50000, "balanceString": "50000", "totalReceived": 0, "totalSent": 0, "confirmedBalanceString": "40000", "spendableBalanceString": "40000" }, "label": "Bob's Hot Wallet Address", "addressType": "p2sh" } ], "nextBatchPrevId": "585951a5df8380e0e3063e9f", "count": 0 }

See Also

API Reference: List Addresses