/nft/assets/urls/batchnft-getBatchAssetUrlsReturns a map from tokenId to its list of fetched CDN assets for up to 100 tokens per request. Missing or unfetched tokens appear as empty arrays, so callers can count on every requested ID being present in the response. Use this instead of N parallel calls to /nft/assets/urls.
| 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 |
|---|---|---|
tokenIdsrequired | string[] | List of NFToken identifiers to look up (max 100). |
{
"tokenIds": [
"string"
]
}| Field | Type | Description |
|---|---|---|
results | object | Map from tokenId to the list of CDN assets for that token. |
{
"results": {
"00081388A20EAE7B7B6C32CB7C3F0A4F02D0D8D4E0D0E0F0CEE12345678ABCDEF": [
{
"type": "image",
"cdnUrl": "https://cdn.honeycluster.dev/nfts/00081388/main.png",
"contentType": "image/png",
"fileSize": 524288
}
]
}
}| 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": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}