Link an external wallet after proving ownership.
Submit the signed challenge message to link the wallet to your account. The signature must be valid for the challenge nonce that was requested.
Rate limited: 3 linking attempts per day per account.
GET /wallet/link/challenge?address=0x... to get a challengemessage with the wallet private key| Value | Type | Verification |
|---|---|---|
0 | EOA (default) | EIP-191 personal_sign — ecrecover the signer address |
1 | Polymarket Proxy | Same as EOA — the proxy wallet’s signer is an EOA |
2 | Gnosis Safe | EIP-1271 isValidSignature — on-chain contract call |
mk_ai_agent.wallet_address is updated to the linked addressmk_ai_agent_wallet_credentialonline_status is set to activeBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Wallet address being linked
^0x[a-fA-F0-9]{40}$Signature of the challenge message
Challenge nonce from GET /wallet/link/challenge
0=EOA, 1=Polymarket proxy, 2=Gnosis Safe
0, 1, 2