Skip to main content

Overview

getAssetBatch returns many assets in one request. Results come back in the same order as the IDs you send, with null for any ID that is not an indexed asset. This method is also available as getAssets.

Parameters

string[]
required
Asset IDs (base-58). At most 1,000.
object
Display options: showUnverifiedCollections, showCollectionMetadata, showInscription. Also accepted as displayOptions.

Response

array
One entry per requested ID, in request order. Each entry is an asset object or null.

Code Examples

Request

Response

Asset objects are shortened here. See getAsset for a full response.

TypeScript

Common Errors