> ## Documentation Index
> Fetch the complete documentation index at: https://onchainanalytics.taslimi.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Gini Coefficient

To calculate this effectively across multiple blockchains, you should follow these steps:

1. Group and Sum: For each blockchain, sum the amount\_usd per user\_address.
2. Sort: Sort the users by their total claim amount in ascending order.
3. Calculate: Use the Gini formula.

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/caravanserai/images/image-1.png" alt="Image" />
</Frame>

## Insights you can gain

By comparing Gini coefficients across chains (e.g., Base vs. Arbitrum vs. Worldchain), you can identify:

* \*\*Chain maturity: \*\*More mature chains might have a higher Gini due to established whales.
* \*\*Incentive design: \*\*Some chains might have "capped" incentives or "boosts" for smaller users, which would result in a lower Gini.
* \*\*Bot activity: \*\*Extremely low Gini coefficients on certain chains might actually signal highly organized bot farms that claim identical amounts across thousands of wallets.
