Skip to content

Commit

Permalink
update no Media
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmarcus committed Feb 13, 2024
1 parent 4e3ed4d commit fa39463
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/sdk/src/mint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,17 @@ If you want to mint on a v2 smart contract, please [create metadata](../createMe
- **amount (optional):** This is the number of copies of the token that you want to mint. If not provided, only one copy will be minted.

- **noMedia (optional):** This is a flag that indicates whether the token will be minted without any associated media. If set to true, the token can be minted without any media.
- - However, if the `media` field in the `reference` object is null and `noMedia` is not set to true, the mint method will throw an error.
- - If `noMedia` is set to true and the `media` field in the `reference` object is not null, the token will be minted with the provided media.

However, if the `media` field in the `reference` object is null and `noMedia` is not set to true, the mint method will throw an error.
- - Essentially, `noMedia` acts as a confirmation for minting a token without media. This may cause issues with some wallets that expect media to be associated with tokens.

If `noMedia` is set to true and the `media` field in the `reference` object is not null, the token will be minted with the provided media.
- - Similar logic applies to `noReference` for minting without a reference.

Essentially, `noMedia` acts as a confirmation for minting a token without media. This may cause issues with some wallets that expect media to be associated with tokens.
- **noReference (optional):** This is a flag that indicates whether the token will be minted without any reference to an external resource. If set to true, the token will be minted without any reference.

Similar logic applies to `noReference` for minting without a reference.

- **noReference (optional):** This is a flag that indicates whether the token will be minted without any reference to an external resource. If set to true, the token will be minted without any reference.
## Types


```typescript
Expand Down

0 comments on commit fa39463

Please sign in to comment.