Zum Inhalt springen
GET /v1/app

One application: creator, decoded global state, programs, schemas

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/algorandapp-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "id": 1002541853,
        "note": "Algorand stateful smart contract: its creator, decoded global state (the contract's on-chain key/value store), program sizes and state schemas. global_state values are decoded as uint or printable text / hex bytes.",
        "source": "Algonode indexer",
        "creator": "4HIR5U2J4FCIEAG6WMBJ4BS3VBTT6S7PLXXERVR2SQIOKZGZZZF2ZV27U4",
        "deleted": false,
        "global_state": [
            {
                "key": "fee_manager",
                "type": "bytes",
                "value": "0xe1d11ed349e1448200deb3029e065ba8673f4bef5dee48d63a9410e564d9ce4b"
            },
            {
                "key": "fee_setter",
                "type": "bytes",
                "value": "0xce4d03aa42bebc0165b9947f850c39b96cc487a9d7bf78f168d5b2fdcdb255ef"
            },
            {
                "key": "fee_collector",
                "type": "bytes",
                "value": "0x15a8068d0ba40347267fd6a83d7765d906b1391c2ba8e20995d4ada3c84fe932"
            }
        ],
        "created_at_round": 26051045,
        "clear_program_size": 8,
        "global_state_count": 3,
        "local_state_schema": {
            "num-uint": 12,
            "num-byte-slice": 2
        },
        "extra_program_pages": 3,
        "global_state_schema": {
            "num-uint": 0,
            "num-byte-slice": 3
        },
        "approval_program_size": 10308
    },
    "meta": {
        "timestamp": "2026-06-14T08:03:51.305Z",
        "request_id": "9078f230-8c19-47a6-8ae4-c7fd7845cb02"
    },
    "status": "ok",
    "message": "Application retrieved successfully",
    "success": true
}