Skip to main content
In this guide, you’ll learn how to retrieve token launch creators/deployers using the Bags TypeScript SDK with Node.js. This includes provider, display name, wallet address, royalty percentage, and profile image.

Prerequisites

Before starting, make sure you have:

1. The Token Creators Script

Here is a comprehensive script to fetch token creator information. Save this as get-token-creators.ts. This script retrieves detailed information about the primary creator and any additional launch participants, including provider, display name, wallet, profile picture, and royalty percentage.

Endpoint Used Under the Hood

This guide uses:

2. Run Your Script

To analyze a token’s creators, edit the getTokenCreators function call at the bottom of the script with the actual mint address you want to analyze. Then, run the script from your terminal:

What You’ll See

The script will output detailed information about the token’s launch creators/deployers: Example output:

Understanding the Data

  • isCreator: Identifies the primary token creator. There can be multiple creators/deployers, but at most one will have isCreator: true.
  • provider: The social/login provider associated with the creator (e.g., twitter, tiktok, kick, github). Use this to show a platform logo. May be unknown or null.
  • providerUsername: The username on the provider platform, when available. Prefer this for display. The plain username is a Bags internal username and may be absent.
  • wallet: The creator’s wallet address.
  • pfp: URL to the profile image, when available.
  • royaltyBps: Royalty in basis points. Divide by 100 to display as a percentage.
  • twitterUsername (optional): The creator’s Twitter/X username, if available.
  • bagsUsername (optional): The creator’s Bags platform username, if available.
  • isAdmin (optional): Whether this user is an admin of the token.

Key Information Retrieved:

  • Display Name: providerUsername if present, otherwise username
  • Provider: Source platform for displaying logos and context
  • Wallet: Wallet address string
  • Profile Picture: URL string
  • Royalty: Percentage derived from royaltyBps / 100

Alternative: Using the Bags CLI

This section requires the Bags CLI. See Install and Set Up the Bags CLI to get started.
Get token creators directly from the terminal:
Use --json for machine-readable output:

Use Cases

This information is valuable for:
  • Due Diligence: Research token creators before investing
  • Creator Discovery: Find and follow successful token creators
  • Fee Analysis: Understand how token fees are distributed
  • Partnership Opportunities: Identify potential collaborators
  • Portfolio Research: Learn about the teams behind your investments
For token performance metrics, also check out our Get Token Lifetime Fees guide.