# Node: Statistics

**Abrufen von statistischen Informationen zu den Belegen, die in einer [GHG Wallet](https://corrently.io/books/susscope2-framework-fur-co2-emissionen-strombezug/page/ghg-wallet "GHG Wallet") hinterlegt wurden.**

[![image.png](https://corrently.io/uploads/images/gallery/2023-01/scaled-1680-/YLwimage.png)](https://corrently.io/uploads/images/gallery/2023-01/YLwimage.png)

Die Rückgabe des Statistics Node enthält im `msg.payload` eine Zusammenfassung der Daten aller von der Wallet verwalteten Zertifikate (Anzahl, sowie Summe der Treibhausgasemissionen, Stromverbrauch, Einsparungen), sowie den öffentlichen Schlüssel (Address) der Wallet.

### Beispiel Flow

Download: [simple\_statistics.flow.json.json](https://corrently.io/attachments/24)

[![image.png](https://corrently.io/uploads/images/gallery/2023-01/scaled-1680-/jFKimage.png)](https://corrently.io/uploads/images/gallery/2023-01/jFKimage.png)

##### Ausgabe

```json
{
   "certificates":{
      "count":2,
      "sums":{
         "wh":1337,
         "emissions":269,
         "savings":314
      }
   },
   "address":"0x48a2F735c6BC140C15109f5a8AFF8010715D9ddb"
}
```

[Quellcode der Implementierung](https://github.com/energychain/ghgnotary/blob/main/statistics.js)