Skip to main content

Contract Execution Jobs (CEE)

Blockvault Contract Execution Jobs Cee (v1.0.0)

Download OpenAPI specification:Download

API Documentation for Blockvault Contract Execution Jobs Cee

Contract Execution Job

Allows execution of arbitrary containers in the NUVA Labs Contract Execution Environment.

Authorizations:
BearerAuth
Request Body schema:

Schema adheres to the Kubernetes Job resource.

Reference: https://kubernetes.io/docs/concepts/workloads/controllers/job

Although the full schema is accepted, the following fields are currently supported:

  • .metadata.name

  • .spec.template.spec.containers[0].image

Schema not provided

Responses

Request samples

Content type
{
  "apiVersion": "provlabs.com/v1alpha",
  "kind": "ContractExecutionJob",
  "metadata": {
    "name": "pi"
  },
  "spec": {
    "template": {
      "spec": {
        "containers": [
          {
            "image": "perl:5.34.0"
          }
        ]
      }
    }
  }
}

Response samples

Content type
application/json
{
  • "message": "failed to use fee grant: granter: tp19n4rs3lsdx4j2m57ahnurfxq7rmpmzgzer6nkc, grantee: tp1gv3xy994xm7a850cfqs8hk5a5npxxvx4zzxev6"
}