nftDeployContract

This mutation allows the contract deploy of an NFT.

Sample Mutation

Create a contract deployment on an NFT:

mutation{
  nftDeployContract(input:{
    contractType:ERC721Creator
    organizationId:"a1dc174d-abf4-47d3-be3c-9281c6eba456"
    walletId:"c9b0e4dd-9403-458c-985d-ce8dd3c57b22"
    nftSymbol:""
    nftName: ""
  }){
    id
    nftContractType{
      id
      name
    }
  }
}

Sample Response

{
  "data": {
    "nftDeployContract": {
      "id": "e34942f5-d776-4f86-a3ab-486b50afe5ba",
      "nftContractType": {
        "id": "00000000-0000-0000-0000-000000000000",
        "name": ""
      }
    }
  }
}

Arguments

Name

Type

Description

Required

DeployContractInput

Object

The input for the deploy contract of an NFT.

Yes

Returns

Name

Type

Description

NFTContract

Object

Contains all the information from NFTContract that includes the NFT contract id, the NFT contract type, wallet, contract address, etc.

Example

Create an NFT contract deploy using DeployContractInput object: