---
title: "Validate TON proof for given account address"
method: POST
path: "/v1/profile/{address}/proof"
tags: ["Profile"]
---

# Validate TON proof for given account address

`POST /v1/profile/{address}/proof`

## Path parameters

- `address` string, required

## Request body

- ApiProofValidationRequest
  - `public_key` string, required
  - `wallet_state_init` string, base64, required — Base64-encoded initial state. Must be retrieved from ton-connect.
  - `proof` ApiTonProof, required
    - `timestamp` integer, required — Valid till, in seconds
    - `domain_len` integer, required
    - `domain_val` string, required
    - `payload` string, required
    - `signature` string, required

## Response `200`

ok

## Other responses

- `default` — Some error during request processing

---

[API](https://skmtc.net/swap/apis/swap-coffee-api.md) · [All operations](https://skmtc.net/swap/apis/swap-coffee-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/swap/swap-coffee-api/versions/fd1067547679/schema)
