/amm/trader/{account}pool-traderProfileReturns aggregated AMM-event counts (swaps, deposits, withdrawals), the number of distinct pools touched, and first/last activity timestamps for an XRPL account over the trailing window.
| 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 |
|---|---|---|---|
accountrequired | string | XRPL classic address (r-address) to profile. |
| Name | Type | Default | Description |
|---|---|---|---|
windowDays | integer | 30 |
| Field | Type | Description |
|---|---|---|
account | string | Echoed account. |
swaps | integer | Total swap events the account participated in within the window. |
deposits | integer | Total deposit events. |
withdrawals | integer | Total withdrawal events. |
poolsTouched | integer | Distinct pools the account interacted with. |
firstActivityAt | object | Earliest event timestamp, Unix-seconds. NULL when the account has no events in the window. |
lastActivityAt | object | Latest event timestamp, Unix-seconds. NULL when the account has no events in the window. |
{
"account": "rTakerExample1234567890",
"swaps": 142,
"deposits": 4,
"withdrawals": 2,
"poolsTouched": 18,
"firstActivityAt": 1743033600,
"lastActivityAt": 1745712000
}| 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": []
}