Hallmark Operations
Decode Hallmark
Decode a node hallmark.
Request:
requestTypeisdecodeHallmarkhallmarkis the hallmark value
Response:
valid(B) istrueifhostis less than 100 characters,weight> 0 and the embedded signature is verifiedweight(N) is the weight assigned to the hallmarkhost(S) is the IP address or domain name associated with the hallmarkaccount(S) is the account number associated with the hallmarkaccountRS(S) is the Reed-Solomon address of the accountdate(S) is the date the hallmark was created, in YYYY-MM-DD formatrequestProcessingTime(N) is the API request processing time (in millisec)
Example: Refer to Decode Hallmark example.
Generate Hallmark
Generates a node hallmark. POST only.
Request:
requestTypeismarkHostsecretPhraseis the secret passphrase for the account that will be hallmarked on the nodehostis the IP address or domain name of the nodeweightis the weight to assign to the nodedateis the current date in YYYY-MM-DD format
Response:
hallmark(S) is the hallmark hex stringrequestProcessingTime(N) is the API request processing time (in millisec)
Example: Refer to Generate Hallmark example.