
post
/v4/auth/link/wallet
Link a wallet to the current (Google) session — collapses both into one wallet identity.
Request body
addressstringrequired
messagestringrequired
signaturestringrequired
chainIdnumberChain ID of the wallet
Responses
200Response for status 200
Schema
object
successbooleanrequired
Whether login was successfultokenstringJWT token for Authorization header — only returned in development for cross-site cookie fallbackExample
{
"success": false,
"token": "string"
}post
https://api.merkl.xyz/v4/auth/link/walletcurl -X POST "https://api.merkl.xyz/v4/auth/link/wallet" \
-H "Content-Type: application/json" \
-d '{ "address": "0xd93814273b33DD33B32cD345225CfB65DEB048Dd" }'Live request: this will call https://api.merkl.xyz/ for real.