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);
}

Last updated