Skip to content

Link Wallet

POST
/api/v1/user/wallets
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.

Media typeapplication/json
LinkWalletRequest

Request body for linking a wallet.

object
address
required
Address

On-chain wallet address (e.g., 0x…)

string
>= 26 characters <= 255 characters
label
Any of:
string
<= 100 characters
Examplegenerated
{
"address": "example",
"label": "example"
}

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>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}