Référence API
Santé et état
Endpoints pour vérifier la santé de l'API et récupérer la configuration réseau.
Vérification de santé
GET /health
Vérifie l'état de l'API. Aucune authentification requise.
Réponse :
json
{
"status": "OK",
"timestamp": "2024-01-01T00:00:00.000Z",
"service": "ACTA API"
}Exemple :
bash
curl https://api.testnet.acta.build/healthLive
Runs GET https://api.testnet.acta.build/health through this site’s proxy - no API key required. OpenAPI UI: https://api.testnet.acta.build/docs
Configuration réseau
GET /config
Récupère la configuration réseau publique. Aucune authentification requise (endpoint public de bootstrap, sans rate limit).
Réponse :
json
{
"rpcUrl": "https://soroban-testnet.stellar.org:443",
"networkPassphrase": "Test SDF Network ; September 2015",
"networkType": "testnet",
"factoryContractId": "C...",
"vaultWasmHash": "2bd0323a...",
"didStellarRegistryId": "C...",
"actaContractId": "C..."
}- factoryContractId : l'identifiant du contrat
vc-vault-factorypour ce réseau. - networkType :
testnetoumainnet. - vaultWasmHash : le hash WASM du template
vc-vaultdéployé par la factory. - didStellarRegistryId : l'identifiant du contrat de registre
did:stellarutilisé pour résoudre les DIDs émetteurs. - actaContractId : alias de rétrocompatibilité de
factoryContractId.
Exemple :
bash
curl https://api.testnet.acta.build/config