Skip to main content
POST
/
api
/
auth
/
challenge
Request a signing challenge
curl --request POST \
  --url https://mag3nt.com/api/auth/challenge \
  --header 'Content-Type: application/json' \
  --data '
{
  "wallet_address": "0x1234567890abcdef1234567890abcdef12345678",
  "chain": "eip155"
}
'
{
  "nonce": "<string>",
  "message": "<string>",
  "expires_at": "2023-11-07T05:31:56Z",
  "chain": "eip155"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mag3nt.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
wallet_address
string
required
Example:

"0x1234567890abcdef1234567890abcdef12345678"

chain
enum<string>
default:eip155
Available options:
eip155,
solana
Example:

"eip155"

Response

200 - application/json

Challenge issued

nonce
string
message
string

Human-readable signing message

expires_at
string<date-time>
chain
string
Example:

"eip155"