/token/nativetoken-getNativeDetailsXRP is the native currency of the XRP Ledger — it has no issuer, no trust lines, and no XRP-denominated price (it is the quote unit itself). Returns total supply (from the latest validated ledger), aggregate trading volume across every indexed pair, exchange counts, and distinct-taker counts over 24h/7d windows. IOU-only fields (trustlines, holders, price, marketcap) are intentionally absent.
| 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 |
|---|---|---|
currency | string | Always the literal string `XRP`. |
issuer | null | XRP has no issuer — always `null`. |
metadata | object | Metadata container mirroring the non-native tokenDetail shape. |
metadata. | object | XRP token metadata. |
metadata. | string | Display name (always `XRP`). |
metadata. | string | Display ticker (always `XRP`). |
metadata. | string | Short description of the native asset. |
metadata. | object | URL to the XRP logo. |
metadata. | string | Always the literal `native`. |
metadata. | number | Always `3` — the native asset is fully trusted. |
metadata. | object[] | External links (ledger site, docs, …). |
metadata. | string | Absolute URL. |
metadata. | string | URL category, e.g. `website`, `social`, `whitepaper`. |
metrics | object | Ledger-wide metrics for the native asset. |
metrics. | string | Total XRP in existence in drops, from the latest validated ledger. |
metrics. | string | Summed XRP volume across every indexed trade pair over the last 24h. |
metrics. | string | Summed XRP volume across every indexed trade pair over the last 7d. |
metrics. | integer | Trade count across all pairs over the last 24h. |
metrics. | integer | Trade count across all pairs over the last 7d. |
metrics. | integer | Distinct taker addresses that participated in any pair over the last 24h. |
metrics. | integer | Distinct taker addresses that participated in any pair over the last 7d. |
{
"currency": "string",
"issuer": null,
"metadata": {
"token": {
"name": "string",
"ticker": "string",
"desc": "string",
"icon": "string",
"asset_class": "string",
"trust_level": 0,
"urls": [
{
"url": "string",
"type": "string"
}
]
}
},
"metrics": {
"supply": "string",
"volume_24h": "string",
"volume_7d": "string",
"exchanges_24h": 0,
"exchanges_7d": 0,
"takers_24h": 0,
"takers_7d": 0
}
}| 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": []
}