Get information about all the edition NFTs for a specific master NFT.
Overview
Retrieve all the NFT editions associated with a specific master NFT . This is an efficient way to get all the printable editions for a master edition NFT.
Code Example
How to get all the NFT editions for a specific master edition
consturl=`https://mainnet.helius-rpc.com/?api-key=<API-KEY>`;constgetNftEditions=async () => {constresponse=awaitfetch(url, { method:"POST", headers: {"Content-Type":"application/json", }, body:JSON.stringify({ jsonrpc:"2.0", method:"getNftEditions", id:"helius-test", params: { mint:"Ey2Qb8kLctbchQsMnhZs5DjY32To2QtPuXNwWvk4NosL" page: 1, limit:2 }, }), });constdata=awaitresponse.json();if (!data.result) {console.error("No result in the response", data);return; }console.log(JSON.stringify(data.result,null,2));};getNftEditions();