Wallet Link Challenge
curl --request GET \
--url https://www.aionmarket.com/bvapi/wallet/link/challenge \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.aionmarket.com/bvapi/wallet/link/challenge"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.aionmarket.com/bvapi/wallet/link/challenge', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.aionmarket.com/bvapi/wallet/link/challenge",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.aionmarket.com/bvapi/wallet/link/challenge"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.aionmarket.com/bvapi/wallet/link/challenge")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.aionmarket.com/bvapi/wallet/link/challenge")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"nonce": "<string>",
"message": "<string>",
"expires_at": "<string>",
"address": "<string>"
}Wallet
Wallet Link Challenge
Request a challenge nonce for wallet linking.
The user must sign this challenge message to prove ownership of the wallet. Challenge expires in 5 minutes and can only be used once.
Rate limited: 5 challenges per hour per API key.
GET
/
wallet
/
link
/
challenge
Wallet Link Challenge
curl --request GET \
--url https://www.aionmarket.com/bvapi/wallet/link/challenge \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.aionmarket.com/bvapi/wallet/link/challenge"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.aionmarket.com/bvapi/wallet/link/challenge', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.aionmarket.com/bvapi/wallet/link/challenge",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.aionmarket.com/bvapi/wallet/link/challenge"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.aionmarket.com/bvapi/wallet/link/challenge")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.aionmarket.com/bvapi/wallet/link/challenge")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"nonce": "<string>",
"message": "<string>",
"expires_at": "<string>",
"address": "<string>"
}Request a challenge nonce for wallet linking.
The challenge is an off-chain plain-text message — no transaction is involved.
Overview
The user must sign this challenge message to prove ownership of the wallet. Challenge expires in 5 minutes and can only be used once.Flow
- Call this endpoint with the wallet
addressyou want to link - Receive a
nonceandmessageto sign - Sign the
messagewith the wallet’s supported signing flow - Submit the signature to
POST /wallet/link
signature_type=0 and 1, this is typically an EIP-191 personal_sign signature. For signature_type=2 and 3, the backend verifies a contract-wallet-compatible signature path instead of assuming a raw EOA private key.
Rate Limiting
- 5 challenges per hour per API key
Challenge Message Format
Sign this message to link your wallet to Aion.
Wallet: 0x5668...9839
Nonce: a1b2c3d4e5f6...
Timestamp: 2026-04-25T12:00:00.000Z
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Wallet address to link (0x-prefixed, 40 hex chars)
Pattern:
^0x[a-fA-F0-9]{40}$