Authentication

Start wallet sign-in (SIWE)

Returns the exact EIP-4361 message to sign, for signing in to the dashboard with an Ethereum wallet.

The message is built server-side and returned whole: the domain and the nonce are ours to decide, and a client that assembles its own message is a client that can be talked into signing a different one. Sign it unmodified and post it back to /v1/auth/siwe/verify.

The nonce is single-use and valid for five minutes. Distinct from /v1/platform/siwe/challenge, which needs a plt_ caller and issues nonces scoped to one platform app for its end users.

post/v1/auth/siwe/challenge

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/auth/siwe/challenge
  • Auth: none required

Request body

addressstring required

0x-prefixed 20-byte Ethereum address

Example request

{
  "address": "0x0000000000000000000000000000000000000001"
}

Response

Message to sign

messagestring

Sign this verbatim

noncestring
expires_in_secsinteger

Changes

No recorded changes to this operation across all 1 revision of this API.