decentralised.art Chain Transformation API (0.4.0)

Download OpenAPI specification:

License: MIT

Transformation registry endpoints.

transformation

Transformation creation and inspection.

Check transformation existence

path Parameters
name
required
string

Transformation name.

Responses

CORS preflight

path Parameters
name
required
string

Transformation name.

Responses

Get transformation by name

path Parameters
name
required
string

Transformation name.

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "args_count": 4294967295,
  • "owner": "string",
  • "address": "string"
}

CORS preflight

Responses

Create transformation

Compile and deploy a transformation locally for simulation. The name must not be reserved on chain. Publish it on chain through /publish/transformation.

Authorizations:
BearerAuth
Request Body schema: application/json
required
name
required
string (EntityName) [ 1 .. 128 ] characters ^[A-Za-z_][A-Za-z0-9_]*$

Entity name. Starts with a letter or '', contains only letters, digits and '', at most 128 characters.

sol_src
required
string

Solidity source code

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "sol_src": "string"
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "owner": "string",
  • "address": "string",
  • "args_count": 4294967295
}