API reference

API reference · Identity

Verify a wallet signature and start a session

POST/api/auth/verifyNo key

The signature proves control of the wallet. It authorizes no transaction and costs nothing. Sets the antimatter_session cookie.

Request body

application/json, required

Request body fields
FieldTypeWhat it is
addressrequiredstring
noncerequiredstring
signaturerequiredstring

Example

{
  "address": "string",
  "nonce": "string",
  "signature": "string"
}

Answer 200

Signed in.

Fields of the 200 answer
FieldTypeWhat it is
addressstringEIP-55 checksummed.

Errors

  • 400OpenAI shaped error.
  • 401OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter