> For the complete documentation index, see [llms.txt](https://prizm.gitbook.io/pzm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prizm.gitbook.io/pzm/prizm-api/hallmark-operations.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
