Link Wallet
POST
/api/v1/user/wallets
const url = 'https://api.qeychain.xyz/api/v1/user/wallets';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"address":"example","label":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.qeychain.xyz/api/v1/user/wallets \ --header 'Content-Type: application/json' \ --data '{ "address": "example", "label": "example" }'Link an on-chain wallet address to your account.
The address is normalized per chain before storage: EVM/bech32 are lowercased, base58 (Solana, Bitcoin legacy) keeps its casing because those encodings are case-SENSITIVE. Duplicate linking returns 409.
Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Link Wallet Api V1 User Wallets Post
object
key
additional properties
any
Examplegenerated
{}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}