auth
siwe
Prepare a SIWE message
Verify that a previously issued nonce still exists and return the canonical SIWE message payload to sign.
get/siwe/message
Request
- Base URL: https://api.namefi.io/v-next
- URL: https://api.namefi.io/v-next/siwe/message
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Query parameters
signerAddressstring required
Wallet address that will sign the SIWE message.
noncestring required
Nonce previously issued by the server for this signer.
chainIdinteger
Optional EIP-155 chain ID to bind the SIWE session to.
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
Changes
No recorded changes to this operation across all 1 revision of this API.