Home > @infiniteobjects/token-gated-product > replaceTokensInUrl
Replace the contract and token IDs in a URL
Signature:
export declare function replaceTokensInUrl(url: string, contractAddress: string, tokenId: string): string;
| Parameter | Type | Description |
|---|---|---|
| url | string | |
| contractAddress | string | |
| tokenId | string |
Returns:
string