Enable Tokens - HBAR

Enable Hedera tokens on a wallet using the BitGo SDK. See the Guide.

  1. Enable a Hedera token on your wallet using sendTokenEnablements. Pass the token name (e.g., thbar:usdc) in the enableTokens array. Once the transaction confirms on chain, you can send and receive that token.

    Prerequisites: Complete Get Started and Create Wallets.

// 1. Enable Token
// Use the JavaScript SDK for this step (see JavaScript tab)
Response
// 1. Enable Token Response
{
  "transfer": {
    "id": "64b6e6ae54dbbf0007004719b943a64f",
    "coin": "thbar",
    "wallet": "64b586faf9070d00079036fd748c0f3e",
    "walletType": "hot",
    "txid": "LH6XRYgheXWgBKM169Txi2eWhUtsmumo324wipz7iNwoaFCHjh33pTJo1fF7GE9G9uq5iwWaCuoMvsZNUuNT4GK",
    "type": "send",
    "value": -4083560,
    "valueString": "-4083560",
    "feeString": "4083560",
    "usd": -0.1050699988,
    "usdRate": 25.73,
    "state": "signed"
  }
}