---
title: "Get contract views"
method: GET
path: "/v1/contracts/{address}/views"
tags: ["Contracts"]
---

# Get contract views

`GET /v1/contracts/{address}/views`

Returns all views of the specified contract.

## Path parameters

- `address` string, required

## Query parameters

- `json` boolean
- `micheline` boolean
- `michelson` boolean

## Response `200`

- ContractView[]
  - `name` string, required — Contract view name
  - `jsonParameterType` unknown
  - `jsonReturnType` unknown
  - `michelineParameterType` IMicheline
    - `type` 0 | 32 | 64 | 96 | 128
  - `michelineReturnType` IMicheline
    - `type` 0 | 32 | 64 | 96 | 128
  - `michelsonParameterType` string, nullable — Parameter type in michelson format
  - `michelsonReturnType` string, nullable — Return type in michelson format

---

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