Deploy Contract

Create and deploy a contract (ERC20, ERC721, ERC1155 or equivalent) to the chain and network of choice.

post
Authorizations
Body
contractTypestring · enumRequiredExample: erc1155Possible values:
namestringRequiredExample: My Contract
symbolstring · min: 1 · max: 7RequiredExample: 1
descriptionstringOptionalExample: My Contract Description
chainstring · enumRequiredExample: ethereumPossible values:
networkstring · enumRequiredExample: mainnetPossible values:
uploadLocationstring · enumOptional

The location where metadata will be stored

Default: AWSExample: AWSPossible values:
filestring · binaryOptional
Responses
201
The contract has been successfully created.
post
POST /v1/contract HTTP/1.1
Host: 
x-api-key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 176

{
  "contractType": "erc1155",
  "name": "My Contract",
  "symbol": 1,
  "description": "My Contract Description",
  "chain": "ethereum",
  "network": "mainnet",
  "uploadLocation": "AWS",
  "file": "binary"
}
201

The contract has been successfully created.

No content

Last updated