/v1/app
One app: decoded global state + schema
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/algorandapps-api/v1/app" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/algorandapps-api/v1/app", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/algorandapps-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/algorandapps-api/v1/app",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"id": 60553466,
"note": "One Algorand application in full: its decoded global state (the contract's on-chain key-value variables, keys and byte-values decoded from base64), its global/local state schema (how many uint and byte-slice slots it reserves) and its creator. Omit app_id to use a recent application.",
"source": "AlgoNode indexer",
"creator": "WEXK776EPAM56PTNEOQZPO2U5JRZPT4WV5IKEBFBYPW4BGQ3SVUPFAQB4M",
"deleted": false,
"global_state": [
{
"key": "will",
"type": "uint",
"value": 77
},
{
"key": "superman",
"type": "uint",
"value": 43
},
{
"key": "batman",
"type": "uint",
"value": 33
},
{
"key": "Creator",
"type": "bytes",
"value": "sS6v/8R4Gd8+bSOhl7tU6mOXz5avUKIEocPtwJoblWg="
},
{
"key": "when",
"type": "uint",
"value": 57
},
{
"key": "iron man",
"type": "uint",
"value": 112
},
{
"key": "elp",
"type": "uint",
"value": 54
},
{
"key": "kick",
"type": "uint",
"value": 62
},
{
"key": "they",
"type": "uint",
"value": 54
},
{
"key": "me?",
"type": "uint",
"value": 47
},
{
"key": "seaman",
"type": "uint",
"value": 70
}
],
"created_at_round": 9927738,
"local_state_schema": {
"num_uint": 1,
"num_byte_slice": 0
},
"global_state_schema": {
"num_uint": 20,
"num_byte_slice": 1
},
"has_approval_program": true
},
"meta": {
"timestamp": "2026-06-14T17:03:53.786Z",
"request_id": "f1668022-5deb-470c-b973-6009bdff6b70"
},
"status": "ok",
"message": "Application retrieved successfully",
"success": true
}