/accounts/{account}/ancestryaccount-getAncestryReturns the funding ancestry of an XRPL account — the chain of accounts that funded this one, their funders, and so on up to maxDepth. Tracked-only: there is no equivalent native XRPL query, so untracked accounts return an empty { nodes: [], edges: [] } graph. Each parent edge represents the activating Payment that funded the child account.
| 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 account address (r-address). Only tracked accounts produce ancestry nodes — there is no equivalent native XRPL query, so untracked accounts cannot be served. |
| Name | Type | Default | Description |
|---|---|---|---|
maxDepth | integer | 5 |
| Field | Type | Description |
|---|---|---|
nodes | object[] | Ancestry nodes — the starting account plus each reachable ancestor up to `maxDepth`. Empty when the starting account is untracked. |
nodes[]. | string | XRPL address of this ancestry node. |
nodes[]. | integer | Distance from the starting account (0 = the account itself, 1 = its direct funder, etc.). |
nodes[]. | object | Ledger sequence when this account was first funded. Null when the node is not indexed or the ledger was not captured. |
nodes[]. | object | Hash of the activating Payment that funded this account. Null when not currently persisted. |
edges | object[] | Directed `parent → child` funding edges between nodes. Empty when no ancestry was found. |
edges[]. | string | Funding account (the parent in the ancestry tree). |
edges[]. | string | Funded account (the child — activated by a Payment from `parent`). |
edges[]. | object | Activating Payment amount in drops. Null when not currently persisted. |
{
"nodes": [
{
"address": "string",
"depth": 0,
"fundedAtLedger": 0,
"fundedTxHash": "string"
}
],
"edges": [
{
"parent": "string",
"child": "string",
"amountXrpDrops": "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": []
}