Product contract deployer

[apis/nftport/v0/Product contract deployer]


Deploys an ERC721 or ERC1155 smart contract to a proof-of-stake chain for on-demand subsequent minting. Deploy a contract for NFT products: https://docs.nftport.xyz/docs/nftport/?search=deploy-a-contract-for-nft-products


Keywords: web3, blockchain, crypto, nft, smart contract, deploy, product, polygon, rinkeby

Input ports

  • contract:

    {
      "name": string,
      "symbol": string,
      "owner_address": string,
      optional "type": ("erc721" or "erc1155"),
      optional "metadata_updatable": boolean,
      optional "base_uri": string,
      optional "royalties_share": number,
      optional "royalties_address": string
    }

    Receives the data of the contract to be deployed. Reference: https://docs.nftport.xyz/docs/nftport/?search=deploy-a-contract-for-nft-products#Request

  • params:

    {"api_key": string, optional "chain": ("polygon" or "rinkeby")}

    Reference: https://docs.nftport.xyz/docs/nftport/?search=deploy-a-contract-for-nft-products#Request Default chain value: "polygon"

Output ports

  • data:

    {
      "response": "OK",
      "chain": ("polygon" or "rinkeby"),
      "transaction_hash": string,
      "transaction_external_url": string,
      "owner_address": string,
      "type": ("erc721" or "erc1155"),
      "name": string,
      "symbol": string
    }
  • response:

    {"status": number, "headers": {string: any}, "body": string}

    Sends the original response.

  • error: {"error": string, "details": any}

Last updated