---
title: "Inject an operation into Jstz"
method: POST
path: "/operations"
tags: ["Operations"]
---

# Inject an operation into Jstz

`POST /operations`

## Request body

- SignedOperation
  - `inner` Operation, required
    - `content` union, required
      - object
        - `account_credit` integer, required
        - `function_code` string, javascript, required
        - `_type` 'DeployFunction', required
      - object — Request used to run a smart function. The target smart function is given by the host part of the uri. The rest of the attributes will be handled by the smart function itself.
        - `body` integer[], nullable, required
        - `gas_limit` integer, required — Maximum amount of gas that is allowed for the execution of this operation
        - `headers` object, required — Any valid HTTP headers
        - `method` string, required — Any valid HTTP method
        - `uri` string, uri, required — Smart function URI in the form tezos://{smart_function_address}/rest/of/path
        - `_type` 'RunFunction', required
    - `nonce` integer, required
    - `source` union, required — Tezos Address
      - string
      - string
      - string
  - `public_key` union, required — Tezos public key
    - string
    - string
    - string
  - `signature` union, required
    - string
    - string
    - string

## Response `200`

Operation successfully injectedd

## Other responses

- `400`
- `500`

---

[API](https://skmtc.dev/jstz-dev/apis/jstz-node.md) · [All operations](https://skmtc.dev/jstz-dev/apis/jstz-node/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jstz-dev/jstz-node/revisions/ae9b3222dbe5/schema)
