# Hallmark Operations

## Decode Hallmark

Decode a node hallmark.

**Request:**

* requestType is decodeHallmark
* hallmark is the hallmark value

**Response:**

* valid (B) is true if host is less than 100 characters, weight > 0 and the embedded signature is verified
* weight (N) is the weight assigned to the hallmark
* host (S) is the IP address or domain name associated with the hallmark
* account (S) is the account number associated with the hallmark
* accountRS (S) is the Reed-Solomon address of the account
* date (S) is the date the hallmark was created, in YYYY-MM-DD format
* requestProcessingTime (N) is the API request processing time (in millisec)

**Example:** Refer to [Decode Hallmark](/pzm/prizm-api/prizm-api-examples.md#decode-hallmark) example.

## Mark Host

Generates a node hallmark. POST only.

**Request:**

* requestType is markHost
* secretPhrase is the secret passphrase for the account that will be hallmarked on the node
* host is the IP address or domain name of the node
* weight is the weight to assign to the node
* date is the current date in YYYY-MM-DD format

**Note:** Refer to [Create Hallmark](https://nxtwiki.org/wiki/How-To:CreateHallmark) for details.

**Response:**

* hallmark (S) is the hallmark hex string
* requestProcessingTime (N) is the API request processing time (in millisec)

**Note:** Refer to [Create Hallmark](https://nxtwiki.org/wiki/How-To:CreateHallmark) for instructions for applying the hallmark to a public node.

**Example:** Refer to [Mark Host](/pzm/prizm-api/prizm-api-examples.md#mark-host) example.

## **Generate Hallmark**

Refer to [Mark Host](/pzm/prizm-api/prizm-api-examples.md#mark-host).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://prizm.gitbook.io/pzm/prizm-api/hallmark-operations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
