Fetch multiple digital assets in a single batch RPC call.
HTTP transport instance
Array of base-58 encoded asset public keys
Commitment level and call options
Array of DAS asset objects
const assets = await getAssetBatch(transport, [id1, id2, id3]);assets.forEach(a => console.log(a.id)); Copy
const assets = await getAssetBatch(transport, [id1, id2, id3]);assets.forEach(a => console.log(a.id));
1.0.0
Fetch multiple digital assets in a single batch RPC call.