API Reference
Stablecoins
Generate Cryptocurrency Address [POST]

Generate Cryptocurrency Address

https://sandboxapi.bitnob.co/api/v1/addresses/generate-cryptocurrency-address (opens in a new tab)

Generate a new cryptocurrency address for receiving funds.


Body Parameters

ParameterTypeRequiredDescription
coinstringCryptocurrency type (enum)

Allowed values for coin: "trx", "bnb"

Request

Addresses/Generate Cryptocurrency Address [POST]
curl --request POST \
   --url https://sandboxapi.bitnob.co/api/v1/addresses/generate-cryptocurrency-address \
   --header 'Authorization: Bearer API-KEY' \
   --header 'accept: application/json' \
   --header 'content-type: application/json' \
   --data '
{
"coin": "trx"
}
'

Responses

🟢 200 - Result example
{
"status": true,
"message": "address generation successful",
"data": {
  "id": "3e2cd342-94e0-425a-919b-95e87b238249",
  "createdAt": "2024-07-31T17:39:16.242Z",
  "updatedAt": "2024-07-31T17:39:16.242Z",
  "address": "TWrc5VfY5TFq63a4srS5MYjXCQF",
  "label": "TRX address",
  "addressType": "TRX"
}
}