diff --git a/docs/walletconnect/nfts.md b/docs/walletconnect/nfts.md index 90818b55ae..2190bffd4f 100644 --- a/docs/walletconnect/nfts.md +++ b/docs/walletconnect/nfts.md @@ -32,6 +32,35 @@ Gets information about a specific NFT. The output is an object of type [`NftInfo`](#nftinfo). +### `chia_mintNFT` + +| Parameter | Type | Description | +| -------------------------------- | ------------------------------- | --------------------------------------- | +| `walletId` | `number` | NFT wallet id. | +| `royaltyAddress` _(optional)_ | string | null | Address royalty is sent to. | +| `royaltyPercentage` _(optional)_ | number | null | Creator royalty percent. (1000 = 1%) | +| `targetAddress` _(optional)_ | string | null | Address NFT is sent to upon mint. | +| `uris` | `string[]` | List of NFT content URIs. | +| `hash` | `string` | Hash of the NFT content. | +| `metaUris` | `string[]` | List of metadata URIs. | +| `metaHash` _(optional)_ | string | null | Hash of the metadata. | +| `licenseUris` | `string[]` | List of the license URIs. | +| `licenseHash` _(optional)_ | string | null | Hash of the license. | +| `editionNumber` _(optional)_ | number | null | Number of the current NFT in edition. | +| `editionTotal` _(optional)_ | number | null | How many NFTs in the current edition. | +| `didId` _(optional)_ | string | null | The DID used during an NFT mint. | +| `fee` _(optional)_ | number | null | Transaction fee in mojos. | + +#### Output Data + +| Parameter | Type | Description | +| --------------------- | ---------------------------------------------------- | ----------------------- | +| `nftId` | `string` | The NFT id. | +| `spendBundle` | [`SpendBundle`](/walletconnect-commands#spendbundle) | Created spend bundle. | +| `success` | `boolean` | Backend success status. | +| `walletId` | `number` | NFT wallet id. | + + ### `chia_transferNFT` | Parameter | Type | Description | @@ -97,10 +126,12 @@ Sets the owner DID associated with a given NFT. | `ownerDid` | string | null | The owner DID. | | `royaltyPercentage` | number | null | Creator royalty percent. (1000 = 1%) | | `royaltyPuzzleHash` | string | null | Puzzle hash royalty is sent to. | -| `dataUris` | `string[]` | List of content URIs. | -| `dataHash` | `string` | Hash of the content. | -| `metadataUris` | `string[]` | List of metadata URIs. | -| `metadataHash` | `string` | Hash of the metadata. | +| `royaltyAddress` | `string` | Address royalty is sent to. | +| `targetAddress` | `string` | Address NFT is sent to upon mint. | +| `uris` | `string[]` | List of NFT content URIs. | +| `hash` | `string` | Hash of the NFT content. | +| `metaUris` | `string[]` | List of metadata URIs. | +| `metaHash` | `string` | Hash of the metadata. | | `licenseUris` | `string[]` | List of the license URIs. | | `licenseHash` | `string` | Hash of the license. | | `editionTotal` | `number` | How many NFTs in the current edition. | @@ -111,6 +142,7 @@ Sets the owner DID associated with a given NFT. | `supportsDid` | `boolean` | Whether the inner puzzle supports DID. | | `p2Address` | `string` | The innermost puzzle hash of the NFT. | | `pendingTransaction` | `boolean` | Whether the NFT is pending for a tx. | +| `didId` | string | null | The DID used during an NFT mint. | | `minterDid` | string | null | The minter DID. | | `launcherPuzhash` | `string` | Singleton launcher puzzle hash. | | `offChainMetadata` | string | null | Serialized off-chain metadata. |