Xenodia Docs
API ReferenceGenerated Reference

Bind owner wallet

Owner access token required. Obtain a challenge from /v1/me/wallet/challenge and sign its exact message. The challenge must name this owner and the wallet binding purpose. A challenge from /v1/auth/challenge is rejected.

PUT
/v1/me/wallet

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://api.xenodia.xyz/v1/me/wallet" \  -H "Content-Type: application/json" \  -d '{    "challenge_id": "string",    "signature": "string"  }'
{
  "account": {
    "id": 0,
    "account_type": "string",
    "wallet_address": "string",
    "status": "string"
  }
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}