Auth
Create wallet challenge
Changed onIssues a challenge message that must be signed by the wallet owner.
Rate limiting: 1 request per 6 seconds per client IP. Excess requests receive HTTP 429 with Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers (see RateLimitExceeded response).
post/v1/auth/challenge
Request
- Base URLhttps://api.metalend.tech
- AuthAPI key in header X-API-Key and API key in header Origin
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"walletAddress": "0x14848abF0125De79e0A5F3caA7F4EA9664a988e8",
"siweDomain": "app.metalend.tech",
"siweUri": "https://app.metalend.tech",
"siweStatement": "Sign in with Ethereum to MetaLend",
"chain": "ETHEREUM"
}Response
Challenge issued successfully
Changes
- info
added the new
ARCenum value to the request property
- info