Vai al contenuto
GET /v1/account

A Cadence account: FLOW balance, key count, deployed contracts

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/flowcadence-api/v1/account" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/flowcadence-api/v1/account", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/flowcadence-api/v1/account");
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/flowcadence-api/v1/account",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

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

{
    "data": {
        "note": "A Flow Cadence account: its FLOW balance, the number of account keys it holds and the Cadence smart contracts deployed under it. Omit address for the Flow service account.",
        "source": "Flow access API",
        "address": "0xe467b9dd11fa00df",
        "contracts": [
            "AccountV2Migration",
            "Crypto",
            "DependencyAudit",
            "EVM",
            "FlowContractAudits",
            "FlowServiceAccount",
            "FlowStorageFees",
            "FlowTransactionScheduler",
            "FlowTransactionSchedulerUtils",
            "Migration",
            "NodeVersionBeacon",
            "RandomBeaconHistory",
            "RetrieveFraudulentTokensEvents"
        ],
        "key_count": 20,
        "balance_flow": 2340.09624664,
        "contract_count": 13
    },
    "meta": {
        "timestamp": "2026-06-14T17:04:32.893Z",
        "request_id": "2883734d-dc74-49d0-9dce-644ab02c73d0"
    },
    "status": "ok",
    "message": "Account retrieved successfully",
    "success": true
}