> For the complete documentation index, see [llms.txt](https://developers.aixchain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.aixchain.com/http-api/api-list/address-utilities/generateaddress.md).

# GenerateAddress

Generates a random private key and address pair. Returns a private key, the corresponding address in hex, and base58.（there is a security risk. This interface service has been shutdown by the Trongrid. Please use the offline mode or the node deployed by yourself.）

* This API call returns the randomly generated privateKey value in the JSON output. Please do not call this API provided by the public node. It is recommended to use offline address generation.

**Example :**

**curl** --request GET\
\--url <http://172.104.51.182:16667/wallet/generateaddress>\
\--header 'Accept: application/json' &#x20;

**Response :**

`{`&#x20;

`"privateKey": "34da86ff6cb99a90716b840af95b42349c92d577b27c0e8476f4ee9c40ac4920", "address": "ASuFVNtVK2evFLHbHYv1KUNMUfEKMu68Dw",                                           "hexAddress":  "41b9ba8d34c3655e80dc38a129fed91a1ea14a757d"`

&#x20;`}`
