Skip to main content
GET
Get current user

Authorizations

Authorization
string
header
required

JWT from SIWX wallet-signature authentication, sent as Authorization: Bearer <token> or automatically through HttpOnly cookies in browsers. Access tokens last 15 minutes and refresh tokens last 30 days.

Response

The authenticated user.

The authenticated user.

id
string<uuid>
required

User id. Appears as userId on orders created while signed in.

username
string | null
required

Username for the account; may be null.

role
string
required

User role. Standard accounts have role user.

address
string
required

Wallet address the account was created with, returned lowercased (not EIP-55 checksummed).