API ReferenceAuthentication

Fetch the login message to sign

POST/api/v1/auth/noncePublic

Trading APIprice E4 · size E2 · amount E6 (integers)YES | NO

The server generates the nonce together with the complete message to sign (message). Hand message to the wallet's signPersonalMessage exactly as received — do not assemble the login message yourself; verification runs against the original text.

Request body

  • addressstringrequired

    Sui wallet address

    Example"0x3f1a9c2e7b4…a7b8c9d0e1f"

Response

200The message to sign is ready
  • noncestring

    One-time nonce

    Example"n_8f3a2c1d9e7b"

  • messagestring

    The complete message generated by the server; hand it to the wallet for signing exactly as received

    Example"InfoFlow want…i account …"

  • expiresAtint64

    Epoch milliseconds

    Example1758240000000

Switch status codes in the response example to view errors. For all codes, see the Errors page.