---
title: "contract operations"
method: GET
path: "/contracts/operations"
tags: ["contract"]
---

# contract operations

`GET /contracts/operations`

Returns known contract message payloads schema

## Response `200`

OK

- HttpGetOperationsRes
  - `results` CoreContractOperation[]
    - `contract_name` string
    - `message_type` string — only internal is supported now
    - `operation_id` integer
    - `operation_name` string
    - `outgoing` boolean — if operation is going from contract
    - `schema` AbiOperationDesc
      - `body` AbiTLBFieldDesc[]
        - `format` 'addr' | 'bool' | 'bigInt' | 'string' | 'bytes' | 'cell' | 'slice' | 'content' | 'struct' | 'tag'
        - `name` string
        - `optional` boolean
        - `struct_fields` AbiTLBFieldDesc[]
        - `tlb_type` string
      - `op_code` string
      - `op_name` string
      - `type` string
  - `total` integer

## Changes

- **2023-06-29** `eb3bf7a55410` — 1 info
  - endpoint added
- **2023-02-22** `e00c25bb9798` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tonindexer/apis/anton/changes/contracts/operations/get.md)

---

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