Get Address Balance
curl --request GET \
--url https://secureapi.tender.cash/v1/api/wallet/balance/{address} \
--header 'authorization: <api-key>' \
--header 'x-access-id: <x-access-id>' \
--header 'x-request-id: <x-request-id>' \
--header 'x-timestamp: <x-timestamp>'const options = {
method: 'GET',
headers: {
authorization: '<api-key>',
'x-timestamp': '<x-timestamp>',
'x-request-id': '<x-request-id>',
'x-access-id': '<x-access-id>'
}
};
fetch('https://secureapi.tender.cash/v1/api/wallet/balance/{address}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://secureapi.tender.cash/v1/api/wallet/balance/{address}"
headers = {
"authorization": "<api-key>",
"x-timestamp": "<x-timestamp>",
"x-request-id": "<x-request-id>",
"x-access-id": "<x-access-id>"
}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://secureapi.tender.cash/v1/api/wallet/balance/{address}",
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: <api-key>",
"x-access-id: <x-access-id>",
"x-request-id: <x-request-id>",
"x-timestamp: <x-timestamp>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"status": "success",
"message": "success",
"data": {
"balance": 8
}
}{
"status": "error",
"message": "chain query param is required"
}Subwallets
Get Address Balance
Fetch the balance of a subwallet blockchain address for a specific chain and currency
GET
/
v1
/
api
/
wallet
/
balance
/
{address}
Get Address Balance
curl --request GET \
--url https://secureapi.tender.cash/v1/api/wallet/balance/{address} \
--header 'authorization: <api-key>' \
--header 'x-access-id: <x-access-id>' \
--header 'x-request-id: <x-request-id>' \
--header 'x-timestamp: <x-timestamp>'const options = {
method: 'GET',
headers: {
authorization: '<api-key>',
'x-timestamp': '<x-timestamp>',
'x-request-id': '<x-request-id>',
'x-access-id': '<x-access-id>'
}
};
fetch('https://secureapi.tender.cash/v1/api/wallet/balance/{address}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://secureapi.tender.cash/v1/api/wallet/balance/{address}"
headers = {
"authorization": "<api-key>",
"x-timestamp": "<x-timestamp>",
"x-request-id": "<x-request-id>",
"x-access-id": "<x-access-id>"
}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://secureapi.tender.cash/v1/api/wallet/balance/{address}",
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: <api-key>",
"x-access-id: <x-access-id>",
"x-request-id: <x-request-id>",
"x-timestamp: <x-timestamp>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"status": "success",
"message": "success",
"data": {
"balance": 8
}
}{
"status": "error",
"message": "chain query param is required"
}Auth method: Signed (HMAC) — this endpoint requires the full set of signed
headers:
x-access-id, x-request-id, x-timestamp, and an HMAC-SHA256
authorization signature. See Authentication.Example
const res = await fetch(`${BASE}/wallet/balance/0xabc123...?chain=ethereum¤cy=USDT`, {
headers: makeHeaders(),
});
const { data } = await res.json();
// data.balance → 8.0
res = requests.get(
f"{BASE}/wallet/balance/0xabc123...",
params={"chain": "ethereum", "currency": "USDT"},
headers=make_headers(),
)
balance = res.json()["data"]["balance"]
# balance → 8.0
Headers
string
required
Base64-encoded HMAC-SHA256 signature of the request payload using the API secretExample:
"5e73d044c44d733fcf819ad3409aaad..."string
required
Current timestamp in ISO 8601 formatExample:
"2025-03-15T09:45:53.000Z"string
required
Unique identifier for the request (UUID v4)Example:
"550e8400-e29b-41d4-a716-446655440000"string
required
Your API access ID provided by TenderExample:
"your-access-id-here"Path Parameters
string
required
The blockchain address to query.Example:
"0xabc123..."Query Parameters
string
required
Chain to query. Supported values:
ethereum, tron, bitcoin.Example: "ethereum"string
required
Currency symbol to query (e.g.
USDT, USDC, ETH).Example: "USDT"Response
string
required
Example:
"success"string
required
Example:
"success"object
required
Show data properties
Show data properties
number
The balance for the specified currency on the specified chain.Example:
8.00Error Responses
| Condition | Status | Message |
|---|---|---|
chain param missing | 400 | chain query param is required |
currency param missing | 400 | currency query param is required |
| Chain not recognised | 400 | invalid chain: <chain> |
| Chain not supported for subwallets | 400 | Unsupported chain for subwallets |
| Currency not supported on that chain | 400 | Unsupported currency for chain <chain> |
Authorizations
Signed (HMAC) authentication. Required headers: x-access-id, x-request-id (UUID v4), x-timestamp (ISO 8601), and authorization (Base64 HMAC-SHA256 signature of {timeStamp, requestId, accessId} using your access secret).
Headers
Path Parameters
Query Parameters
Chain to query.
Available options:
ethereum, tron, bitcoin Currency symbol to query (e.g. USDT, USDC, ETH).
Response
Address balance