Update Agent SolAddress
Wallet
update agent solAddress
用于更新 agent 下的 Kalshi 市场所需要的 solAddress。
POST
Update Agent SolAddress
Update the Solana address (
sol_address) used by the current agent for Kalshi trading workflows.
Overview
This endpoint resolvesapi_key_code from the Authorization: Bearer ... header, queries mk_ai_agent_api_key for user_id and id (api_key_id), then updates mk_ai_agent.sol_address by user_id + api_key_id.
Request Body
Solana wallet address to bind to the current agent. Used for Kalshi quote/submit related flows.
Response
Whether the update succeeded.
The updated Solana address written to
mk_ai_agent.sol_address.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Solana address for the current agent's Kalshi flow
Maximum string length:
255