post

/v4/auth/link/wallet

Link a wallet to the current (Google) session — collapses both into one wallet identity.

Request body

object
addressstring
required
messagestring
required
signaturestring
required
chainIdnumberChain ID of the wallet

Responses

200
Response for status 200
Schema
object
successboolean
required
Whether login was successful
tokenstringJWT token for Authorization header — only returned in development for cross-site cookie fallback
Example
{
  "success": false,
  "token": "string"
}
post
https://api.merkl.xyz/v4/auth/link/wallet
Merkl API
curl -X POST "https://api.merkl.xyz/v4/auth/link/wallet"
Live request — this will call https://api.merkl.xyz/ for real.