Ir al contenido
GET /v1/account

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

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/mina-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}