Skip to content

Commit

Permalink
Fix ccd-js-gen tokenMetadata example
Browse files Browse the repository at this point in the history
  • Loading branch information
limemloh committed Oct 2, 2023
1 parent 1e3d043 commit 1bc31b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/ccd-js-gen/wCCD/client-tokenMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ const contractAddress = SDK.ContractAddress.create(
throw e;
});

const parameter = SDK.Parameter.fromHexString('010000'); // First 2 bytes for number of tokens to query, 1 byte for the token ID.
const wCCDTokenId = '';
const parameter = [wCCDTokenId];
const contract = await wCCDContractClient.create(
grpcClient,
contractAddress
Expand Down

0 comments on commit 1bc31b7

Please sign in to comment.