/amm/batchpool-getDetailsBatch AMM-pool lookup by on-chain ammId (XRPL classic address). Body: { "ammIds": ["r…", "r…"] } (max 100). Returns each matched pool's raw row; unmatched ammIds are silently omitted. Prefer this over N parallel calls to /amm/{ammId}.
| Name | Location | Details |
|---|---|---|
BearerAuth | Authorization header · bearer | JWT issued by the Honeycluster auth service for the `indexer` audience. Present as `Authorization: Bearer <token>`. |
| Field | Type | Description |
|---|---|---|
ammIdsrequired | string[] | AMM account identifiers (XRPL classic addresses) to resolve. Max 100 per request. Unmatched ammIds are silently omitted. |
{
"ammIds": [
"string"
]
}| Field | Type | Description |
|---|---|---|
items | object[] | Resolved pools. One entry per matched ammId; unmatched ammIds are silently omitted. |
items[]. | string | Auto-generated UUID primary key. |
items[]. | string | On-ledger AMM account identifier. |
items[]. | string | First pool asset currency code. |
items[]. | object | |
items[]. | string | Second pool asset currency code. |
items[]. | object | |
items[]. | string | LP token currency code. |
items[]. | string | LP token issuer address. |
items[]. | string | Current asset1 reserve balance, decimal string. |
items[]. | string | Current asset2 reserve balance, decimal string. |
items[]. | string | Outstanding LP token supply, decimal string. |
items[]. | integer | Pool trading fee in basis points (0–1000; 1000 = 1%). |
items[]. | object | |
items[]. | integer | Ledger sequence of the most recent update. |
items[]. | integer | Record creation timestamp, Unix-seconds. |
items[]. | integer | Record update timestamp, Unix-seconds. |
{
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"ammId": "string",
"asset1Currency": "string",
"asset1Issuer": "string",
"asset2Currency": "string",
"asset2Issuer": "string",
"lpTokenCurrency": "string",
"lpTokenIssuer": "string",
"asset1Reserve": "string",
"asset2Reserve": "string",
"lpTokenSupply": "string",
"tradingFee": 0,
"ownerAddress": "string",
"ledgerIndex": 0,
"createdAt": 1745798400,
"updatedAt": 1745798400
}
]
}| 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": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}