BitGoJS Examples
ts directory (TypeScript)
In this directory, you can find examples on how to use the BitGoJS SDK with TypeScript. These examples use modern TypeScript/ES6 syntax with async/await. This is the recommended way to use the BitGoJS SDK for new projects.
Go Accounts (Trading Wallets)
Go Accounts are trading wallets that don't require BitGo Express. See the detailed guide for more information.
- Create Go Account (SDK Approach - Recommended) - Simple, high-level wallet creation
- Create Go Account (Advanced SDK Approach) - Manual keychain control for advanced users
Wallet
- Backup Key Creation
- Create Policy
- Create Wallet Address
- Create Wallet Addresses
- Create Wallet
- Get Maximum Spendable
- Get Wallet Balance
- Get Wallet
- List Wallet Shares
- List Wallet Transfers
- List Wallets
- Recover TSS
- Recover XRP
- Resend Wallet Share Invite
- Send Wallet Transaction
- Send With Provided Public Key
- Share Wallet
- Update Wallet Forwarders
Webhooks
- Webhooks - Add (Block)
- Webhooks - Add (Wallet) - Coming Soon
- Webhooks - List
- Webhooks - Remove
- Webhooks - List Notifications
- Webhooks - Simulate
Algorand (ALGO)
- Account Consolidation Build
- Account Consolidation Send
- Disable Token
- Enable Token
- Transaction with emergency param
Ethereum (ETH)
Tezos (XTZ)
js directory (JavaScript)
In this directory, you can find examples on how to use the BitGoJS SDK with JavaScript. These examples use coroutine syntax with yield.
Note the directory structure is the same for the JavaScript examples as the TypeScript examples listed above.