stack

Home > @infiniteobjects/token-gated-product > replaceTokensInUrl

replaceTokensInUrl() function

Replace the contract and token IDs in a URL

Signature:

export declare function replaceTokensInUrl(url: string, contractAddress: string, tokenId: string): string;

Parameters

Parameter Type Description
url string  
contractAddress string  
tokenId string  

Returns:

string