POST

/v1/custody/new_addresses/

API-SECRET*
For BTC address, it supports generating segwit (3 address) and native_ Segwit (bc1 address), see below for details. (* Cobo supports withdrawal to any BTC address type)

Request

coinrequired
String
The coin to generate addresses for.
countrequired
Int
The number of addresses to generate.
native_segwit
Bool
Whether to generate native segwit addresses.

Response

success
bool
request successful or failed
result
object
request(
  "POST",
  "/v1/custody/new_addresses/",
  {
    "coin": "ETH"
            "count": 4

},
api_key, api_secret, host
)
{
  "success": true,
  "result": {
    "coin": "ETH",
    "addresses": [
      "0x544094588811118b7701cf4a9dea056e775b4b4e",
      "0x580f33154fddf59ede21b95cd6c615df138ef160",
      "0xcec381336e22643bd0b4d779bc26a6c7a1fee23d",
      "0xa4a98b46507bb768b75c23ea3dc1a34fb150e3bd"
    ]
  }
}