Hallmark Operations
Decode Hallmark
Decode a node hallmark.
Request:
requestType
isdecodeHallmark
hallmark
is the hallmark value
Response:
valid
(B) istrue
ifhost
is 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:
requestType
ismarkHost
secretPhrase
is the secret passphrase for the account that will be hallmarked on the nodehost
is the IP address or domain name of the nodeweight
is the weight to assign to the nodedate
is 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.