/amm/{ammId}/holder-concentrationpool-holderConcentrationReturns cumulative LP-supply share held by the top 5 / 10 / 20 / 100 holders, plus the total holder count. Mirrors token.holderConcentration for AMM pools — useful for surfacing pool-centralisation risk in UIs.
| Name | Location | Details |
|---|---|---|
BearerAuth | Authorization header · bearer | JWT issued by the Honeycluster auth service for the `indexer` audience. Present as `Authorization: Bearer <token>`. |
| Name | Type | Default | Description |
|---|---|---|---|
ammIdrequired | string | AMM account identifier (XRPL classic address). |
| Field | Type | Description |
|---|---|---|
top5Pct | number | Cumulative share held by the top 5 LP holders (0–100). Returns 0 when LP supply is unknown / zero. |
top10Pct | number | Cumulative share held by the top 10 LP holders (0–100). |
top20Pct | number | Cumulative share held by the top 20 LP holders (0–100). |
top100Pct | number | Cumulative share held by the top 100 LP holders (0–100). |
totalHolders | integer | Total LP-trustline accounts with a positive balance for this pool. |
{
"top5Pct": 64.8,
"top10Pct": 78.4,
"top20Pct": 89.2,
"top100Pct": 99.7,
"totalHolders": 142
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}