Get Assets by Creator

Get a list of assets created by an address.

Overview

This will return a list of assets for the given creator provided. This can define compressed or standard NFTs.

The page parameter in the request starts at 1 .

Suggested Use Cases

  • NFT creator portfolio

  • NFT search Engine

  • NFT-specific blockchain explorer

Example

Degen Poet Created NFTs

const url = `https://mainnet.helius-rpc.com/?api-key=<api_key>`

const getAssetsByCreator = async () => {
  const response = await fetch(url, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      jsonrpc: '2.0',
      id: 'my-id',
      method: 'getAssetsByCreator',
      params: {
        creatorAddress: 'D3XrkNZz6wx6cofot7Zohsf2KSsu2ArngNk8VqU9cTY3',
        onlyVerified: true,
        page: 1, // Starts at 1
        limit: 1000
      },
    }),
  });
  const { result } = await response.json();
  console.log("Assets by Creator: ", result.items);
};
getAssetsByCreator(); 

Last updated