getAccountId

Get an account ID given a secret passphrase or public key. POST only.

Request: requestType is getAccountId secretPhrase is the secret passphrase of the account (optional if publicKey provided) publicKey is the public key of the account (optional if secretPhrase provided)

Response:

(S) accountRS is the Reed-Solomon address of the account (S) publicKey is the public key of the account (N) requestProcessingTime is the API request processing time (in millisec) (S) account is the account number

Example:

Get Account Id

Request:

http://localhost:801/BEAM?requestType=getAccountId&secretPhrase=IWontTellYou

Response:

{ “accountRS”: “BEAM-7X92-29W5-7LQA-4V8CH”, “publicKey”: “57fb6f3a958e320bb49c4e81b4c2cf28b9f25d086c143b473beec228f79ff93c”, “requestProcessingTime”: 0, “account”: “15323192282528158131” }

Last updated