Auth

Get Bearer Token

post

Verifies a wallet address and signature to generate a bearer token for authentication.

Authorizations
Body
walletAddressstringRequired

The wallet address of the user.

Example: 0x1234567890abcdef1234567890abcdef12345678
signaturestringRequired

The signature generated by the user's wallet for verification.

Example: 0xabcdef...
Responses
200
Bearer token generated successfully.
application/json
post
POST /auth HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 88

{
  "walletAddress": "0x1234567890abcdef1234567890abcdef12345678",
  "signature": "0xabcdef..."
}
{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}