auth
siwe

Get a SIWE nonce

Generate and store a replay-protected nonce for a wallet address before signing a SIWE message.

get/siwe/nonce

Request

  • Base URL: https://api.namefi.io/v-next
  • URL: https://api.namefi.io/v-next/siwe/nonce
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Query parameters

signerAddressstring required

Wallet address that will sign the SIWE message.

Headers

x-namefi-eip7702-accountstring

Optional delegated account address to authenticate as when the signer is an approved signer. Preferred header name.

x-namefi-eip1271-accountstring

Legacy alias for x-namefi-erc1271-account. When multiple delegated account headers are present, x-namefi-eip7702-account takes precedence, then x-namefi-erc1271-account.

x-namefi-erc1271-accountstring

Optional delegated account address to authenticate as when the signer is an approved signer. Preferred ERC-1271 header name.

Response

OK

OR

Changes

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