Skip to main content
POST
/
v1
/
custody
/
new_address
/
request(
  "POST",
  "/v1/custody/new_address/",
  {
    "coin": "BTC"
            "native_segwit": 1
},
api_key, api_secret, host
)
{
    "success": true,
    "result": {
        "address": "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq",
        "coin": "BTC"
    }
}
For BTC address, it supports generating segwit (3 address) and native_ Segwit (bc1 address), see below for details. (* Cobo supports withdraw to any BTC address type)

Request

coin
String
required
Cryptocurrency for which the address needs to be generated.
native_segwit
Bool
Flag indicating whether the address should be generated using native segwit format.
encoding
Int
The address encoding formats. This property only applies to coin of ADA. Available options:9、10.For more information, please refer to the enum value corresponding to each encoding

Response

success
bool
request successful or failed
result
object
request(
  "POST",
  "/v1/custody/new_address/",
  {
    "coin": "BTC"
            "native_segwit": 1
},
api_key, api_secret, host
)
{
    "success": true,
    "result": {
        "address": "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq",
        "coin": "BTC"
    }
}
Feel free to share your feedback to improve our documentation!