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 Contractsymbolstring · min: 1 · max: 7RequiredExample:
1descriptionstringOptionalExample:
My Contract Descriptionchainstring · enumRequiredExample:
ethereumPossible values: networkstring · enumRequiredExample:
mainnetPossible values: uploadLocationstring · enumOptionalDefault:
The location where metadata will be stored
AWSExample: AWSPossible values: filestring · binaryOptional
Responses
201
The contract has been successfully created.
No content
post
/v1/contractPOST /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