---
title: "Get Wallet Connection Nonce"
method: GET
path: "/api/v2/accounts/{account_id}/wallet/external/nonce"
tags: ["Wallets"]
---

# Get Wallet Connection Nonce

`GET /api/v2/accounts/{account_id}/wallet/external/nonce`

## Request

- Base URL: `https://api-enterprise.sbt.dinari.com`
- URL: `https://api-enterprise.sbt.dinari.com/api/v2/accounts/{account_id}/wallet/external/nonce`
- Auth: API key in header `X-API-Key-Id` and API key in header `X-API-Secret-Key`
- TypeScript: <https://skmtc.dev/dinaricrypto/apis/dinari-enterprise-api/docs/api/v2/accounts/:account_id/wallet/external/nonce/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a nonce and message to be signed in order to verify `Wallet` ownership.

## Query parameters

- `wallet_address` string, eth_address, required
- `chain_id` 'eip155:0' | 'eip155:1' | 'eip155:42161' | 'eip155:8453' | 'eip155:81457' | 'eip155:98866' | 'eip155:999' | 'eip155:43114' | 'eip155:56' | 'eip155:5042' | 'eip155:1329' | 'eip155:11155111' | 'eip155:421614' | 'eip155:84532' | 'eip155:168587773' | 'eip155:98867' | 'eip155:998' | 'eip155:43113' | 'eip155:97' | 'eip155:5042002' | 'eip155:1328' | 'eip155:202110' | 'eip155:179205' | 'eip155:179202' | 'eip155:98865' | 'eip155:7887', required

## Response `200`

OK

- AccountWalletConnectionMessage: Connection message to sign to prove ownership of the `Wallet`.
  - `nonce` string, required: Single-use identifier
  - `message` string, required: Message to be signed by the `Wallet`

## Other responses

- `422`: Unprocessable Entity
- `default`: Default error response

## Changes

- **2026-11-03** `923eb2967c79`: 1 breaking, 3 info
  - removed the enum value `eip155:81457` from the `query` request parameter `chain_id`
  - added the new enum value `eip155:1329` to the `query` request parameter `chain_id`
  - added the new enum value `eip155:5042` to the `query` request parameter `chain_id`
  - added the new enum value `eip155:56` to the `query` request parameter `chain_id`
- **2026-06-18** `ad31890c2e0e`: 1 info
  - added the new enum value `eip155:43114` to the `query` request parameter `chain_id`

[Operation history](https://skmtc.dev/dinaricrypto/apis/dinari-enterprise-api/changes/api/v2/accounts/:account_id/wallet/external/nonce/get.md)

---

[API](https://skmtc.dev/dinaricrypto/apis/dinari-enterprise-api.md) - [All operations](https://skmtc.dev/dinaricrypto/apis/dinari-enterprise-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dinaricrypto/apis/dinari-enterprise-api/revisions/923eb2967c79?raw)
