View Wallet Details

Overview

Every wallet has a wallet ID that identifies it on its respective blockchain. Even though wallets may have multiple addresses to receive funds, each wallet can only have 1 wallet ID. Using the wallet ID and ticker symbol for the coin, you can retrieve detailed information about your wallets, including:

  • Addresses
  • Ballance
  • Keys
  • Users
  • Staking information
  • Wallet type

Prerequisites

Steps

  • SDK
  • API
1 2 3 4 5 6 7 8 9 let walletId = '585c51a5df8380e0e3082e46'; bitgo .coin('tbtc') .wallets() .get({ id: walletId }) .then(function (wallet) { // print the wallet console.dir(wallet._wallet); });

Response

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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 { "admin": { "policy": { "id": "59cd72485007a239fb00282ed480da1f", "date": "2019-08-24T14:15:22Z", "label": "string", "latest": true, "rules": [], "version": 0, }, }, "allowBackupKeySigning": true, "approvalsRequired": 1, "balanceString": "50000", "buildDefaults": { "minFeeRate": 12000 }, "coin": "btc", "coinSpecific": { "creationFailure": ["b8a828b98dbf32d9fd1875cbace9640ceb8c82626716b4a64203fdc79bb46d26"], "pendingChainInitialization": true, "rootAddress": "GCTTCPH4IIDK7P72FFAEJ3ZFN6WDHJH6GGMRPHPM56ZWGIQ7B3XTIJAM", "stellarUsername": "foo_bar@baz.com", "homeDomain": "bitgo.com", "stellarAddress": "foo_bar@baz.com*bitgo.com", }, "custodialWallet": {}, "custodialWalletId": "59cd72485007a239fb00282ed480da1f", "deleted": true, "disableTransactionNotifications": true, "enterprise": "59cd72485007a239fb00282ed480da1f", "freeze": { "time": "string", "expires": "string" }, "id": "59cd72485007a239fb00282ed480da1f", "isCold": true, "keys": [ "585951a5df8380e0e304a553", "585951a5df8380e0e30d645c", "585951a5df8380e0e30b6147", ], "label": "My Wallet", "m": 2, "n": 3, "nodeId": "59cd72485007a239fb00282ed480da1f", "receiveAddress": { "id": "59cd72485007a239fb00282ed480da1f", "address": "2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS", "chain": 1, "index": 0, "coin": "string", "lastNonce": -1, "wallet": "59cd72485007a239fb00282ed480da1f", "coinSpecific": { "xlm": {}, "txlm": {} }, "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", }, "recoverable": true, "tags": ["59cd72485007a239fb00282ed480da1f"], "spendableBalanceString": "40000", "startDate": "string", "type": "cold", "users": [{ "user": "55e8a1a5df8380e0e30e20c6", "permissions": [] }], "customChangeKeySignatures": { "user": "string", "backup": "string", "bitgo": "string" }, "multisigType": "onchain", "balance": 50000, "confirmedBalance": 40000, "confirmedBalanceString": "40000", "spendableBalance": 40000, "stakedBalance": 40000, "stakedBalanceString": "40000", "tokens": { "property1": { "balanceString": "30000", "confirmedBalanceString": "20000", "heldBalanceString": "10000", "spendableBalanceString": "20000", "stakedBalanceString": "20000", "transferCount": 100, }, "property2": { "balanceString": "30000", "confirmedBalanceString": "20000", "heldBalanceString": "10000", "spendableBalanceString": "20000", "stakedBalanceString": "20000", "transferCount": 100, }, }, "unsupportedTokens": { "property1": { "balanceString": "30000", "confirmedBalanceString": "20000", "heldBalanceString": "10000", "spendableBalanceString": "20000", "stakedBalanceString": "20000", "transferCount": 100, }, "property2": { "balanceString": "30000", "confirmedBalanceString": "20000", "heldBalanceString": "10000", "spendableBalanceString": "20000", "stakedBalanceString": "20000", "transferCount": 100, }, }, }

See Also

API Reference: Get Wallet