---
title: "A single-use nonce to put in the message you are about to sign"
method: GET
path: "/v1/wallets/nonce"
---

# A single-use nonce to put in the message you are about to sign

`GET /v1/wallets/nonce`

## Request

- Base URL: `https://api.hashlock.markets`
- URL: `https://api.hashlock.markets/v1/wallets/nonce`
- Auth: HTTP bearer

Expires shortly and is consumed by the first proof that presents it. It is a LINK nonce: it cannot be spent at a login endpoint, so the signature you collect is not a session. `?purpose=authorize` issues the nonce for the login wallet's authorisation instead — a separate pool.

## Query parameters

- `purpose` 'link' | 'authorize'

## Response `200`

ok

- object
  - `nonce` string

---

[API](https://skmtc.dev/hashlock/apis/hashlock-markets-api.md) · [All operations](https://skmtc.dev/hashlock/apis/hashlock-markets-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hashlock/apis/hashlock-markets-api/revisions/b85bd3992c46?raw)
