Provision

Get a single-use challenge so the wallet that paid for a page can update it — no API key.

Public. Send { "wallet": "0x…" } (EVM, lowercase or checksummed). Returns { challenge, message, expires_at }: personal_sign (EIP-191) the message with that wallet, then send Authorization: Wallet challenge=…,sig=0x… on PUT /sites/{id}. One challenge per request, 5-minute TTL. 404 for a wallet with no pages here (pages are keyed to the wallet that PAID at publish time).

post/wallet-auth/challenge

Request

  • Base URL: https://api.stacktr.ee
  • URL: https://api.stacktr.ee/wallet-auth/challenge
  • Auth: none required

Request body

walletstring required

The EVM address that paid at POST /publish (or is linked to the owning account).

Response

Challenge issued.

challengestring
messagestring

Sign exactly this with personal_sign.

expires_atinteger

Unix ms.

Example response

{
  "challenge": "WAUTH-3F9K2M7Q1XZC"
}

Changes

No recorded changes to this operation across all 1 revision of this API.