Links
🖼️

Get Item

Use this method to get the metadata of an item.

Usage in your script

JavaScript
TypeScript
const alturaItem = await altura.getItem(COLLECTION_ADDRESS, TOKEN_ID);
const alturaItem: TAlturaItem = await altura.getItem(COLLECTION_ADDRESS, TOKEN_ID);

Parameters

Parameter
Type
Required
Description
collection_address
String
Yes
The item's collection address
token_id
Int
Yes
The item's tokenId