Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.2

Get project stats

GEThttps://api.moralis-streams.com/stats

Get the global stats for the account.

Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = Moralis.Streams.getStats({
"network": "mainnet"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"totalWebhooksDelivered": "",
"totalWebhooksFailed": "",
"totalLogsProcessed": "",
"totalTxsProcessed": "",
"totalTxsInternalProcessed": "",
"streams": {
"totalWebhooksDelivered": "",
"totalWebhooksFailed": "",
"totalLogsProcessed": "",
"totalTxsProcessed": "",
"totalTxsInternalProcessed": "",
"streamId": ""
},
"createdAt": "",
"updatedAt": ""
}