Skip to main content

Module username

Module username 

Source
Expand description

API handlers for the username system.

  • GET /username?wallet=0x... — lookup username by wallet
  • GET /username?username=alice — reverse lookup wallet by username
  • POST /username — set username (authenticated)
  • DELETE /username — delete username (authenticated)

Structs§

DeleteUsernameResponse
SetUsernameRequest
UsernameQuery
UsernameResponse

Functions§

delete_username
Delete the display username for the authenticated wallet.
get_username
Lookup username by wallet or reverse-lookup wallet by username.
set_username
Set the display username for the authenticated wallet.