v1

latestOpenAPI 3.0.32026-07-267278168.1 KB
Auth

Get SIWE Login Challenge

Get a Sign-In with Ethereum (ERC-4361) challenge for login.

post/v1/auth/erc-4361/login/get_challenge

Request body

walletAddressstring required

The wallet address requesting to sign in

chainId'1' | '43114' required

EVM chain ID (1=Ethereum, 43114=Avalanche)

Example request

{
  "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18",
  "chainId": "1"
}

Response

Challenge message for signing

successboolean required

Whether the request was successful

errorstring

Error message, present only on failure

error_codestring

Semantic error code. See each endpoint's error responses for the specific codes it can return.

deprecatedstring

Deprecation notice, if applicable

Example response

{
  "success": true,
  "result": {
    "id": "abc123"
  }
}