Deploy Contract

Deploy smart contract to the project's network.

Deploy Contracts

POST {{server-url}}/contracts

It returns the contract's identifier value.

Headers

NameTypeDescription

Authorization*

String

UUID formatted access token

Content-Type*

String

application/json

PROJECT-ID*

String

UUID formatted projectId information

Request Body

NameTypeDescription

name

String

Represents ERC721 contract's colleciton name. It is an optional parameter. It will set Qaf721, if it is null or empty

artifactName*

String

Represents contract's name. It can be Qaf721, Qaf1155 or QafMarketplace

type*

String

Represents contract's type. It can be ERC721, ERC1155 or MARKETPLACE

{
    // Response
}

Example Response Body

{
    "data": 328,
    "message": null,
    "code": 0,
    "error": false
}

Last updated