PearPear

Request nonce for wallet authentication

Generate a nonce that the user must sign with their wallet

POST
/auth/nonce

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request a nonce for wallet authentication

Response Body

application/json

curl -X POST "https://example.com/auth/nonce" \  -H "Content-Type: application/json" \  -d '{    "address": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"  }'
{  "nonce": "string",  "message": "string",  "expiresAt": 1}