Deploy Contract
Create and deploy a contract (ERC20, ERC721, ERC1155 or equivalent) to the chain and network of choice.
post
Authorizations
Body
contractTypestring · enumRequiredExample:
erc1155
Possible values: namestringRequiredExample:
My Contract
symbolstring · min: 1 · max: 7RequiredExample:
1
descriptionstringOptionalExample:
My Contract Description
chainstring · enumRequiredExample:
ethereum
Possible values: networkstring · enumRequiredExample:
mainnet
Possible values: uploadLocationstring · enumOptionalDefault:
The location where metadata will be stored
AWS
Example: AWS
Possible 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