📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

Method: GET /wallet/generateaddress

dropdown

Method REST /wallet/generateaddress example for Tron (TRX)

GET /wallet/generateaddress

Method not allowed

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.

Parameters

-

Request

curl --location --request GET 'https://trx.getblock.io/wallet/generateaddress?' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' 


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}