Learn how to retrieve detailed information about token creators and fee share users using the Bags API with TypeScript and Node.js
get-token-creators.ts
.
This script retrieves detailed information about both the token creator and any fee share users, displaying their usernames, profile pictures, and royalty percentages.
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:
isCreator: true
): The original creator of the token who receives the primary royaltyisCreator: false
): A user who shares in the token’s fees, typically through a fee-sharing arrangement