diff --git a/docs/pages/protocol-sdk/collect/getTokensOfContract.mdx b/docs/pages/protocol-sdk/collect/getTokensOfContract.mdx index 0b4fd0ad..d0fb1639 100644 --- a/docs/pages/protocol-sdk/collect/getTokensOfContract.mdx +++ b/docs/pages/protocol-sdk/collect/getTokensOfContract.mdx @@ -1,6 +1,6 @@ # `getTokensOfContract` -**Both onchain** and **premint (gaslessly created)** tokens of a Zora 1155 contract can be retrieved using the the Collector Client function +**Both onchain** and **premint (gaslessly created)** tokens of a Zora 1155 contract can be retrieved using the Collector Client function `getTokensOfContract()` and passing a token contract address. The function returns a `tokens` array with an item for each token of the contract. Each item in `tokens` contains information the token in the `token` object, and has a function `prepareMint`. The `prepareMint` function takes a quantity to mint and returns the transaction parameters to mint the token, costs to mint the token, and any necessary diff --git a/docs/snippets/protocol-sdk/create/withdrawRewards.ts b/docs/snippets/protocol-sdk/create/withdrawRewards.ts index 3b5d1f2d..d0418fb4 100644 --- a/docs/snippets/protocol-sdk/create/withdrawRewards.ts +++ b/docs/snippets/protocol-sdk/create/withdrawRewards.ts @@ -17,7 +17,7 @@ const { parameters } = await creatorClient.withdrawRewards({ // set this to false to disable claiming secondary royalties claimSecondaryRoyalties: true, // account to execute the transaction. Any account can withdraw rewards for another account, - // but the the rewards will always be pulled to the account that holds the balance + // but the rewards will always be pulled to the account that holds the balance account: randomAccount, }); diff --git a/packages/protocol-sdk/src/sparks/sparks-contracts.ts b/packages/protocol-sdk/src/sparks/sparks-contracts.ts index ba6179fd..4c7e364a 100644 --- a/packages/protocol-sdk/src/sparks/sparks-contracts.ts +++ b/packages/protocol-sdk/src/sparks/sparks-contracts.ts @@ -338,7 +338,7 @@ const encodePremintOnManager = ({ * @param chainId - The ID of the chain where the MINTs are to be used * @param deadline - The deadline of the permit. * @param nonce - Random nonce of the permit. - * @param tokenIds - The mint token ids to to use + * @param tokenIds - The mint token ids to use * @param quantities - The quantities of each token to use to collect the Zora Creator 1155 token with. The sum of these quantities will be the total quantity of the Zora Creator 1155 token collected. * @param premint - If this is for a premint, the configuration of the premint to collect * @param collect - If this is for a non-premint, the configuration of the non-premint to collect