/liquidity/pools/by-assetpool-getByAssetReturns pools where the asset appears as either asset1 or asset2. Pass currency + issuer for IOUs; pass currency=XRP with issuer omitted / null for native XRP.
| 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 |
|---|---|---|---|
cursor | string | ||
limit | integer | 20 | |
currencyrequired | string | Currency code (3-char ISO or 40-char hex). | |
issuer | object |
| Field | Type | Description |
|---|---|---|
items | object[] | Page of results. |
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. |
nextCursor | object | Cursor to fetch the next page, or null if this is the last page. |
{
"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
}
],
"nextCursor": "string"
}| 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": []
}