Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 611 Bytes

createPrivateKey25519.md

File metadata and controls

25 lines (17 loc) · 611 Bytes

< EON API Documentation

wallet/createPrivateKey25519

Create a private key in the 25519 format. 25519 keys are used in EON for designating forgers. Returns the correspondent public key.

Parameters

No parameters

Example request

 curl -sX POST 'http://127.0.0.1:9085/wallet/createPrivateKey25519' -H 'Content-Type: application/json' -H 'accept: application/json' 

Example response

{
    "result" : {
        "proposition" : {
        "publicKey" : "4b50edf43fddcf29afceacfcc9c5c16edb16de6550b9172c7190bfe9fdad0f45"
        }
    }
}