Deploy Contract A4

Endpoint

POST /api/v1/ERC721/{network}/deploy-contract-A4

Executes deployment of an ERC-721 smart contract that issues tokens based on the A4 tokenization model.

Check the Networks section for replacing the {network} text in the Endpoint URL.


Headers

Name
Value

Content-Type

application/json

Authorization


Body

Name
Type
Description

name

string

Defines the token name

ticker

string

Defines the token ticker

mintPrice

string

Defines the token mint price

supply

integer

Defines the token supply

tokenText

string

The text content that is stamped in the token output

metadata

string

The text content that is inserted in the token metadata, stored within its SVG file

walletPrivateKey

string

Deployer private key for authorizing transaction

restrictToOwner

boolean (optional), defaults to false

Defines if minting is restricted to contract owner

documentTitle

string (optional)

Document title, displayed on the top of the first page

documentSubtitle

string (optional)

Document subtitle, displayed below the document title

fontFamily

string (optional), defaults to sans-serif

Font-family that is used in the token output text


Response

{
  "success": true,
  "status": "Contract deployed at address: {contractAddress}`",
  "hash": "1x111...",
  "deploymentAddress": "0x32a...",
  "adressUrl": "https://etherscan.io/address/{contractAddress}",
  "deployerAddress": "0x567..."
}

Last updated