For the complete documentation index, see llms.txt. This page is also available as Markdown.

fetchOnchainData

fetchOnchainData()EditionOnchainData

Get on-chain data and assign onchainData properties for the product object.

Example

const product = await sdk.getProduct('31231232')
await product.fetchOnchainData()
console.log(`cost: ${product.onchainData.cost.formatted}`)

Last updated