Generates a random private key and address pair.

Returns a private key, the corresponding address in hex, and base58.

Important note

  • 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.


The result of this example is only for show. You should not use this result as your account because it is a real key pair and is public to everyone.


curl --request GET
--url \
--header 'Accept: application/json'Response


  "privateKey": "097c8ba8a310f39a41a667d35a20000cd21d58c7322484b584c4ada8ebd3ec06",
  "address": "TLHx2Ta9WwtwDjgGxyeifHs5ipmJrJAbZ3",
  "hexAddress": "41713ca8ee9c3db6bdc947b8e0c7846645307e6e63"

Last updated