> For the complete documentation index, see [llms.txt](https://docs.justaname.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.justaname.id/sdk-reference/justaname-core-sdk/interfaces/siweheaders.md).

# SIWEHeaders

[**@justaname.id/sdk**](/sdk-reference/justaname-core-sdk.md) • **Docs**

***

[@justaname.id/sdk](/sdk-reference/justaname-core-sdk/globals.md) / SIWEHeaders

## Interface: SIWEHeaders

Specifies the headers required for Sign-In with Ethereum (SIWE) requests. These headers are essential for authenticating requests using Ethereum-based signatures, ensuring the caller controls a specific Ethereum address.

SIWEHeaders

### Properties

#### xAddress

> **xAddress**: `string`

The Ethereum address of the user. This address is expected to match the public key derived from `xSignature` to successfully authenticate the request.

**Defined in**

[packages/@justaname.id/sdk/src/lib/types/headers/index.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/headers/index.ts#L17)

***

#### xMessage

> **xMessage**: `string`

The original message that was signed by the user. This message typically contains a challenge or nonce to prevent replay attacks.

**Defined in**

[packages/@justaname.id/sdk/src/lib/types/headers/index.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/headers/index.ts#L15)

***

#### xSignature

> **xSignature**: `string`

The digital signature produced by signing `xMessage` with the user's private key. This signature is used to verify the authenticity of the message.

**Defined in**

[packages/@justaname.id/sdk/src/lib/types/headers/index.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/headers/index.ts#L16)


---

# 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:

```
GET https://docs.justaname.id/sdk-reference/justaname-core-sdk/interfaces/siweheaders.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.
