POST
Create address
Creates a new receive address for a wallet. If you create a forwarder address, whenever it receives assets, BitGo automatically deploys a forwarder smart contract to flush the balance to the base address. See Blockchain Reference topics to learn more about address management, fees, and consolidations for specific assets. Note: New Ethereum addresses require blockchain confirmation before you can consolidate from them.
Path Params
-
coinstring requiredA cryptocurrency symbol or token ticker symbol -
walletIdstring required
Body Params
object
-
typestring -
chainnumber -
forwarderVersionnumber(ETH only) Specify forwarder version to use in address creation. To reduce the cost of creating ETH forwarders, BitGo uses a set of forwarder contracts that deploy as a simple proxy to a single implementation (https://eips.ethereum.org/EIPS/eip-1167). Additionally, forwarders deploy using opcode, CREATE2, enabling them to deploy only when needed (https://eips.ethereum.org/EIPS/eip-1014). These forwarders otherwise operate identically to prior ETH forwarders. Use this flag to specify the forwarder contract version when deploying a forwarder contract. Use 0 for the older forwarder (https://github.com/BitGo/eth-multisig-v2). Use 1 for the new fee-improved forwarder (https://github.com/BitGo/eth-multisig-v4). Use 2 for NFT-supported forwarders and version 2 wallets. Use 3 for MPC wallets. Use 4 for forwarders with the same functionality as v2 but with some changes. v4 is applicable for Arbitrum, Optimism, ZkSync, and other EVM-compatible chains that we will onboard in the future. Use 5 for new MPC based wallets with wallet-version 6 -
evmKeyRingReferenceAddressstring -
onTokenstringCreate an address for the given token -
labelstringA human-readable label for the address -
lowPrioritybooleanWhether the deployment of the address forwarder contract should use a low priority fee key (ETH only) -
gasPricestring or numberExplicit gas price to use when deploying the forwarder contract (ETH only). If not given, defaults to the current estimated network gas price. -
eip1559object(ETH forwarderVersion: 0 wallets only) Specify eip1559 fee parameters in forwarder creation transactions.eip1559 object
-
maxFeePerGasnumber requiredMax total gasPrice for EIP1559 transactions. Only for ETH and ERC20 tokens. -
maxPriorityFeePerGasnumber requiredMax priority tip price for EIP1559 transactions. Only for ETH and ERC20 tokens.
-
-
formatstringFormat to use for the new address, if the coin which supports multiple formats for an address. Currently, Bitcoin Cash is the only coin which has support for multiple address formats. For Bitcoin Cash, BitGo supports both the base58 (legacy) address format, as well as the newer CashAddr format. The default address format is base58. To request a CashAddr formatted address instead, use the value 'cashaddr' as the format.
Responses
200
OK
Response Body
ONE OF
-
coinstring requiredA cryptocurrency symbol or token ticker symbol -
walletstring required -
chainnumber enum required011011202130314041 -
indexnumber required -
idstringPlatform public ID for an address -
addressstring -
balanceobjectbalance object
-
balanceStringstring requiredString representation of the balance. Guaranteed to not lose precision. -
confirmedBalanceStringstring requiredThe total balance of confirmed transactions for the address (in the chain's base unit). Guaranteed to not lose precision. -
spendableBalanceStringstring requiredThe total balance of the address (in the chain's base unit) which may be used as inputs for creating new transactions in string representation. Guaranteed to not lose precision. -
updatedstringThe last time a transaction affected the balance of this address -
balancenumber -
lockedBalanceStringstring -
reservedBalanceStringstring -
totalReceivednumberThe total amount received on this address (in the chain's base unit) -
totalSentnumberThe total amount sent from this address (in the chain's base unit) -
transferCountnumber -
tokensmap of objectstokens object
-
<key>object
-
-
nftsmap of objectsnfts object
-
<key>object
-
-
unsupportedNftsmap of objectsunsupportedNfts object
-
<key>object
-
-
typeobject -
metadataobject
-
-
coinSpecificobjectProperties specific to certain coin typesONE OF
- AlgorandAddress
- AtomAddress
- AvaxPAddress
- UtxoAddress
- BitcoinCashAddress
- CasperAddress
- DotAddress
- EosAddress
- EthereumAddress
- Ethereum2Address
- FiatAddress
- HederaAddress
- OffchainAddressSubdocument
- SolAddress
- StacksAddress
- StellarAddress
- TestcoinAddress
- TezosAddress
- TronAddress
- XRPAddress
- TonAddress
No matching variants
-
rootAddressstring required -
trustedTokensarray of objectstrustedTokens object
-
statestring enumpendingactive -
limitstring -
tokenstring
-
-
addressVersionnumber -
thresholdnumber -
bitgoKeyobject -
bitgoPubKeystring
-
rootAddressstring required -
memoIdstring required
-
thresholdnumber required -
addressesarray of strings required
-
redeemScriptstring -
witnessScriptstring
-
formatstring enumcashaddrbase58 -
redeemScriptstring -
witnessScriptstring
-
accountHashstring required -
rootAddressstring required -
transferIdstring required
-
rootAddressstring required -
nonceTrackerobject requirednonceTracker object
-
lastReservedNoncenumber required -
lastExecutedNoncenumber required -
detectedMissingNoncesarray of objects requireddetectedMissingNonces object
-
noncenumber required -
isNonceLockedboolean required -
nonceLockExpireTimestring date
-
-
detecMissingNoncesDataarray of objects requireddetecMissingNoncesData object
-
noncenumber required -
isNonceLockedboolean required -
nonceLockExpireTimestring date
-
-
-
rootAddressstring required -
memoIdstring required
-
creationFailurearray of strings required -
forwarderVersionnumber required -
noncenumber required -
feeAddressstring required -
pendingChainInitializationboolean required -
pendingDeploymentboolean required -
txCountnumber required -
updateTimestring date required -
hopTxidstring -
saltstring -
usdtBugboolean -
isTssboolean -
isNonceLockedboolean -
nonceLockExpireTimestring date -
previousLowBalanceEmailSentAtstring date
-
feeAddressstring
-
bankAccountIdstring -
faBankAccountIdstring -
bankAccountobjectbankAccount object
-
accountNumberstring required -
address1string required -
namestring required -
ownerobject requiredowner object
-
namestring required -
address1string required -
address2string -
address3string
-
-
idHashstring required -
verificationStatestring required -
address2string -
address3string -
enterpriseIdstring -
idstring -
routingNumberstring -
shortCountryCodestring -
swiftCodestring -
typestring
-
-
baseAddressstring required -
memoIdstring required
-
<key>object
-
rootAddressstring required -
minimumFundingnumber required -
pendingChainInitializationboolean required -
trustedTokensarray of objects requiredtrustedTokens object
-
statestring enumpendingactive -
limitstring -
tokenstring
-
-
nonceExpiresAtstring date -
nonceTxRequestidstring -
typestring
-
baseAddressstring required -
memoIdstring required
-
memoIdstring required -
rootAddressstring required
-
<key>object
-
counternumber required -
updateTimestring date required -
txCountnumber required -
pendingChainInitializationboolean required -
pendingPublicKeyRevelationboolean required -
creationFailurearray of strings required -
delegatestring -
previousLowBalanceEmailSentAtstring date
-
rootPubstring required
-
nonceTrackerobject requirednonceTracker object
-
detectedMissingNoncesarray of objects requireddetectedMissingNonces object
-
noncenumber required -
isNonceLockedboolean required -
nonceLockExpireTimestring date
-
-
detectedMissingNoncesDataarray of objects requireddetectedMissingNoncesData object
-
noncenumber required -
isNonceLockedboolean required -
nonceLockExpireTimestring date
-
-
-
addressesarray of strings required
-
labelstringA human-readable label for the address -
lastNoncenumber -
tokenstring -
proofstring -
signaturestring -
lastConsolidatedTimestring date -
needsConsolidationboolean -
tokenConsolidationStateobject -
tokenAddressobject
-
coinstring requiredA cryptocurrency symbol or token ticker symbol -
walletstring required -
idstringPlatform public ID for an address -
addressstring -
balanceobjectbalance object
- Same shape as
TrimmedBalance.
- Same shape as
-
coinSpecificobjectProperties specific to certain coin typesONE OF
- AlgorandAddress
- AtomAddress
- AvaxPAddress
- UtxoAddress
- BitcoinCashAddress
- CasperAddress
- DotAddress
- EosAddress
- EthereumAddress
- Ethereum2Address
- FiatAddress
- HederaAddress
- OffchainAddressSubdocument
- SolAddress
- StacksAddress
- StellarAddress
- TestcoinAddress
- TezosAddress
- TronAddress
- XRPAddress
- TonAddress
No matching variants
-
rootAddressstring required -
trustedTokensarray of objectstrustedTokens object
-
statestring enumpendingactive -
limitstring -
tokenstring
-
-
addressVersionnumber -
thresholdnumber -
bitgoKeyobject -
bitgoPubKeystring
-
rootAddressstring required -
memoIdstring required
-
thresholdnumber required -
addressesarray of strings required
-
redeemScriptstring -
witnessScriptstring
-
formatstring enumcashaddrbase58 -
redeemScriptstring -
witnessScriptstring
-
accountHashstring required -
rootAddressstring required -
transferIdstring required
-
rootAddressstring required -
nonceTrackerobject requirednonceTracker object
-
lastReservedNoncenumber required -
lastExecutedNoncenumber required -
detectedMissingNoncesarray of objects requireddetectedMissingNonces object
-
noncenumber required -
isNonceLockedboolean required -
nonceLockExpireTimestring date
-
-
detecMissingNoncesDataarray of objects requireddetecMissingNoncesData object
-
noncenumber required -
isNonceLockedboolean required -
nonceLockExpireTimestring date
-
-
-
rootAddressstring required -
memoIdstring required
-
creationFailurearray of strings required -
forwarderVersionnumber required -
noncenumber required -
feeAddressstring required -
pendingChainInitializationboolean required -
pendingDeploymentboolean required -
txCountnumber required -
updateTimestring date required -
hopTxidstring -
saltstring -
usdtBugboolean -
isTssboolean -
isNonceLockedboolean -
nonceLockExpireTimestring date -
previousLowBalanceEmailSentAtstring date
-
feeAddressstring
-
bankAccountIdstring -
faBankAccountIdstring -
bankAccountobjectbankAccount object
- Same shape as
BankAccountJson.
- Same shape as
-
baseAddressstring required -
memoIdstring required
-
<key>object
-
rootAddressstring required -
minimumFundingnumber required -
pendingChainInitializationboolean required -
trustedTokensarray of objects requiredtrustedTokens object
-
statestring enumpendingactive -
limitstring -
tokenstring
-
-
nonceExpiresAtstring date -
nonceTxRequestidstring -
typestring
-
baseAddressstring required -
memoIdstring required
-
memoIdstring required -
rootAddressstring required
-
<key>object
-
counternumber required -
updateTimestring date required -
txCountnumber required -
pendingChainInitializationboolean required -
pendingPublicKeyRevelationboolean required -
creationFailurearray of strings required -
delegatestring -
previousLowBalanceEmailSentAtstring date
-
rootPubstring required
-
nonceTrackerobject requirednonceTracker object
-
detectedMissingNoncesarray of objects requireddetectedMissingNonces object
-
noncenumber required -
isNonceLockedboolean required -
nonceLockExpireTimestring date
-
-
detectedMissingNoncesDataarray of objects requireddetectedMissingNoncesData object
-
noncenumber required -
isNonceLockedboolean required -
nonceLockExpireTimestring date
-
-
-
addressesarray of strings required
-
labelstringA human-readable label for the address -
lastNoncenumber -
tokenstring -
proofstring -
signaturestring -
lastConsolidatedTimestring date -
needsConsolidationboolean -
tokenConsolidationStateobject -
tokenAddressobject
400
Bad Request
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id