/trade/{id}trade-getDetailReturns a single trade event by its internal ID, with the matching trade pair embedded. Returns null if no trade matches.
| 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 |
|---|---|---|---|
idrequired | string | Unique identifier (UUID v4). |
{
"id": "00000000-0000-0000-0000-000000000000",
"tradePairId": "00000000-0000-0000-0000-000000000000",
"txHash": "string",
"ledgerIndex": 0,
"timestamp": 1745798400,
"takerAddress": "string",
"baseAmount": "string",
"quoteAmount": "string",
"price": "string",
"sourceTag": 0,
"createdAt": 1745798400,
"tradePair": {
"id": "00000000-0000-0000-0000-000000000000",
"createdAt": 1745798400,
"updatedAt": 1745798400,
"baseCurrency": "string",
"baseIssuer": "string",
"quoteCurrency": "string",
"quoteIssuer": "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": []
}