GenerateAddress
GET: http://172.104.51.182:16667/wallet/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'
Response :
{
"privateKey": "34da86ff6cb99a90716b840af95b42349c92d577b27c0e8476f4ee9c40ac4920", "address": "WSuFVNtVK2evFLHbHYv1KUNMUfEKMu68Dw", "hexAddress": "41b9ba8d34c3655e80dc38a129fed91a1ea14a757d"
}
Last updated