Test Networks and Test Addresses

If we use the sandbox environment, would it create the wallet address for a test network or the mainnet. Other than this, I don’t see any documentation that refers how to change network of a created wallet.

Hello @AliRafay. Welcome to Coinbase Cloud Developer Forum!

To answer your question, when you push a POST request to https://api.exchange.coinbase.com/coinbase-accounts/{account_id}/addresses via Coinbase Pro/Exchange, this means that you are creating deposit addresses for the assets associated to your Coinbase Retail (coinbase.com) accounts. On the other hand, if you use Sandbox Pro/Exchange to generate a deposit address, you’ll receive a new exchange deposit address but you’ll not be able to use this for deposits/withdrawals purposes. Also, the addresses you created via Sandbox will not reflect in your Coinbase Retail’s address book. This is because the Sandbox environment only contains fake funds and is only for testing API connectivity and Web trading.

Moreover, In order to change the network on Coinbase Wallet, you may refer to the steps below:

  1. Select the settings icon on the bottom menu of your wallet page on the mobile app (the same button on the web extension will be on the top right corner of your wallet screen)
  2. Select a new network to connect your wallet. You can also add a custom network if you do not find the one you’re looking for.
  3. Once you have switched networks, you will be able to buy, sell and store assets from your wallet through that network.

For more information regarding this, please visit the following help center sites:

@leo.lemuel.federico What if we need to use other networks by using the API Create Wallet Address?

Hi @AliRafay! We appreciate your patience so far. For the details regarding your concern, please note that we are still checking on this for you with our team. We will get back to you once we have more information. Keep in touch! :smile:


Hello @AliRafay! Apologies for the delay in getting back to you. On this documentation, you may utilize the POST /addresses endpoint in order to create a new address for an account. However, it is not possible to switch chains as it automatically assigns the network for the respective wallet address. This is completely different from the Coinbase Wallet API. You may check here for further guidance on how to switch networks after setting up Coinbase Wallet API. Thank you!