Vai al contenuto
GET /v1/multichain

Native balance across all supported chains

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/walletbalance-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/walletbalance-api/v1/multichain" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/walletbalance-api/v1/multichain", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/walletbalance-api/v1/multichain");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/walletbalance-api/v1/multichain",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
        "balances": [
            {
                "name": "Ethereum",
                "chain": "ethereum",
                "native": "ETH",
                "balance": 5.68884045,
                "balance_wei": "5688840446715981478"
            },
            {
                "name": "Polygon",
                "chain": "polygon",
                "native": "POL",
                "balance": 587.18416127,
                "balance_wei": "587184161272371208074"
            },
            {
                "name": "BNB Smart Chain",
                "chain": "bsc",
                "native": "BNB",
                "balance": 0.16845671,
                "balance_wei": "168456709324951673"
            },
            {
                "name": "Arbitrum One",
                "chain": "arbitrum",
                "native": "ETH",
                "balance": 0.0836298,
                "balance_wei": "83629801081906257"
            },
            {
                "name": "Optimism",
                "chain": "optimism",
                "native": "ETH",
                "balance": 0.18052508,
                "balance_wei": "180525078403843023"
            },
            {
                "name": "Base",
                "chain": "base",
                "native": "ETH",
                "balance": 3.12358375,
                "balance_wei": "3123583750894794344"
            },
            {
                "name": "Avalanche C-Chain",
                "chain": "avalanche",
                "native": "AVAX",
                "balance": 0.27899096,
                "balance_wei": "278990955379450746"
            }
        ],
        "chains_checked": 7,
        "chains_with_balance": 7
    },
    "meta": {
        "timestamp": "2026-06-09T03:02:02.153Z",
        "request_id": "d476b88c-fd30-4348-9885-612113c7b25e"
    },
    "status": "ok",
    "message": "Multichain balance retrieved successfully",
    "success": true
}