View Wallet

Retrieve wallet details including addresses and balances by wallet ID. See the Guide.

  1. You retrieve a wallet details by providing the coin type and wallet ID. The response includes wallet metadata, keys, balance information, the receive address, and coin-specific configuration.

    Every BitGo wallet has a unique wallet ID that identifies it on its respective blockchain. Even though wallets may have multiple receive addresses, each wallet has only one wallet ID.

    Prerequisites: You must have completed Get Started and Create Wallets.

    API Reference

// 1. Get Wallet
export COIN="tbtc4"
export WALLET_ID="<YOUR_WALLET_ID>"
export ACCESS_TOKEN="<YOUR_ACCESS_TOKEN>"

curl -X GET \
  https://app.bitgo-test.com/api/v2/$COIN/wallet/$WALLET_ID \
  -H "Authorization: Bearer $ACCESS_TOKEN"
Response
// 1. Get Wallet Response
{
    "id": "63bc8506e014900008265c65363245f4",
    "users": [
        {
            "user": "62ab90e06dfda30007974f0a52a12995",
            "permissions": [
                "admin",
                "view",
                "spend"
            ]
        }
    ],
    "coin": "tbtc4",
    "label": "My Wallet",
    "m": 2,
    "n": 3,
    "keys": [
        "63bc8505f4df3c000793bfd753bcef4f",
        "63bc85058426ee00073e74fdf5418927",
        "62c5ae7f74ac860007aff0cb9bcf93a6"
    ],
    "keySignatures": {
        "backupPub": "abc123",
        "bitgoPub": "abc123"
    },
    "enterprise": "62c5ae8174ac860007aff138a2d74df7",
    "organization": "62c5ae8174ac860007aff1555ffb960d",
    "bitgoOrg": "BitGo Trust",
    "tags": [
        "63bc8506e014900008265c65363245f4",
        "62c5ae8174ac860007aff138a2d74df7"
    ],
    "disableTransactionNotifications": false,
    "freeze": {},
    "deleted": false,
    "approvalsRequired": 1,
    "isCold": false,
    "coinSpecific": {},
    "admin": {
        "policy": {
            "date": "2023-01-01T00:00:00.000Z",
            "id": "63bc8506e014900008265c65363245f4",
            "label": "default",
            "rules": [],
            "version": 0,
            "latest": true
        }
    },
    "clientFlags": [],
    "walletFlags": [],
    "allowBackupKeySigning": false,
    "recoverable": false,
    "startDate": "2022-12-29T18:16:54.000Z",
    "type": "hot",
    "buildDefaults": {},
    "customChangeKeySignatures": {},
    "hasLargeNumberOfAddresses": false,
    "multisigType": "onchain",
    "hasReceiveTransferPolicy": false,
    "creator": "62ab90e06dfda30007974f0a52a12995",
    "walletFullyCreated": true,
    "config": {},
    "balance": 0,
    "balanceString": "0",
    "rbfBalance": 0,
    "rbfBalanceString": "0",
    "confirmedBalance": 0,
    "confirmedBalanceString": "0",
    "spendableBalance": 0,
    "spendableBalanceString": "0",
    "unspentCount": 0,
    "receiveAddress": {
        "id": "63bc8507e014900008265d292c356e72",
        "address": "abc123",
        "chain": 0,
        "index": 0,
        "coin": "tbtc4",
        "wallet": "63bc8506e014900008265c65363245f4",
        "label": "abc123",
        "coinSpecific": {
            "witnessScript": "abc123"
        }
    },
    "pendingApprovals": []
}