Naar de inhoud
GET /v1/account

An account by public key: MINA balance, nonce, delegate

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/mina-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "A Mina account by public key: its MINA balance (total and liquid), transaction nonce and the staking delegate it has assigned its stake to. Omit publicKey for the current block producer.",
        "nonce": 21,
        "source": "Mina GraphQL",
        "delegate": "B62qpsyB3gCndt8sNz4GRwusBtg9U72TNiL4mxmcQfWKZ5noa9fFnWr",
        "public_key": "B62qpge4uMq4Vv5Rvc8Gw9qSquUYd6xoW1pz7HQkMSHm6h1o7pvLPAN",
        "voting_for": "2mzWc7ZF8hRKvLyoLpKLZ3TSm8XSjfxZq67dphJpnjhYmU5Vja5Q",
        "liquid_mina": 4.011908569,
        "balance_mina": 4.011908569
    },
    "meta": {
        "timestamp": "2026-06-14T17:04:32.435Z",
        "request_id": "6c258331-ce36-4a64-a7a5-17788121ae31"
    },
    "status": "ok",
    "message": "Account retrieved successfully",
    "success": true
}