POST
/
contracts
/
{contractId}
/
deploy
curl --request POST \
  --url https://protocol-sandbox.lumx.io/v2/contracts/{contractId}/deploy \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "<string>",
  "address": "<string>",
  "name": "<string>",
  "symbol": "<string>",
  "description": "<string>",
  "blockchainName": "Ethereum",
  "baseUri": "<string>",
  "blockExplorerUrl": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "deployedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <API_KEY>.

Path Parameters

contractId
string
required

The ID of the contract to be deployed.

Response

200 - application/json
id
string

The ID of the contract.

type
string

The type of the contract.

address
string | null

The blockchain address of this contract.

name
string

The name of the contract.

symbol
string
default: contractName

The symbol of the contract. Must be between 3 and 5 alphanumeric characters.

description
string | null

The description of the contract.

blockchainName
enum<string>

The blockchain name of the contract.

Available options:
Ethereum,
Polygon,
Chiliz,
Optimism,
Linea
baseUri
string | null

The base URI where this contract's tokens' metadata files are located.

blockExplorerUrl
string | null

The block explorer url of this contract.

createdAt
string

The timestamp from when the contract was created.

updatedAt
string

The timestamp from when the contract was last updated.

deployedAt
string | null

The timestamp from when the contract was deployed to the blockchain.