post
http://localhost:3080/api/v2//wallet/generate
Generate a new wallet for a coin. If you want a wallet to hold tokens, generate a wallet for the native coin of the blockchain (e.g. generate an ETH wallet to hold ERC20 tokens).
Calling this endpoint does all of the following:
- Creates the user keychain locally on your machine and encrypts it with the provided passphrase (skipped if you pass a
userKey). - Creates the backup keychain locally on your machine.
- Uploads the encrypted user keychain and public backup keychain to BitGo.
- Creates the BitGo key (and the backup key if you pass
backupXpubProvider) on the service. - Creates the wallet on BitGo with the 3 public keys above.
ⓘ Many account-based assets, including Ethereum, require you to Fund Gas Tanks to initialize new wallets on chain. Ensure your gas tank has a sufficient balance to cover this cost before generating a new wallet.