Props Docs
CtrlK
  • πŸš€Welcome to Props Docs
  • πŸ™What is Gratis?
  • ESSENTIALS
  • πŸ†“Pricing
  • ⭐Getting Started
    • What You'll Need
  • πŸ› οΈCreating Mints
    • Quick Video Walkthrough
    • Managing Collection Supply
    • Managing Free Claims with Tips
    • Configuring Dynamic Tokens
      • For Developers
    • Choosing a Network
      • Going Live - Promote To Mainnet
    • Gating for Friend.Tech Key Holders
  • πŸ’°Share & Earn Links
  • πŸ“ˆAffiliate Rewards
  • ⁉️FAQ
  • πŸ’ŸSupport
  • CASE STUDIES
    • πŸ”“Editions
    • πŸ†’Collections
    • 🀝Memberships
    • 🎢Music NFTs
    • πŸ‘•Physical Chips
  • RESOURCES
    • Features & Capabilities
    • Buying with Credit Card
    • Managing Delegate Wallet
Powered by GitBook
On this page
  • Sample Repository
  • Read Metadata
  1. πŸ› οΈCreating Mints
  2. Configuring Dynamic Tokens

For Developers

Props Gratis automatically the token's metadata to your application / website URL via a URL parameter metadata.

The Metadata contains the data as defined by OpenSea's metadata standard.

Sample Repository

https://github.com/Props-Labs/props-dynamic-token-example

Read Metadata

const urlParams = new URLSearchParams(window.location.search);
const metadataParam = urlParams.get('metadata');

let metadata = null;

try {
    metadata = JSON.parse(metadataParam);
} catch(e) {
    console.error("Error parsing metadata", e);
}
PreviousConfiguring Dynamic TokensNextChoosing a Network

Last updated 1 year ago