---
title: "Get smart contract interface"
method: POST
path: "/public/v1/query/get_smart_contract_interface"
tags: ["Policies"]
---

# Get smart contract interface

`POST /public/v1/query/get_smart_contract_interface`

Get details about a smart contract interface.

## Request body

- V1GetSmartContractInterfaceRequest
  - `organizationId` string, required — Unique identifier for a given organization.
  - `smartContractInterfaceId` string, required — Unique identifier for a given smart contract interface.

## Response `200`

A successful response.

- V1GetSmartContractInterfaceResponse
  - `smartContractInterface` Externaldatav1SmartContractInterface, required
    - `organizationId` string, required — The Organization the Smart Contract Interface belongs to.
    - `smartContractInterfaceId` string, required — Unique identifier for a given Smart Contract Interface (ABI or IDL).
    - `smartContractAddress` string, required — The address corresponding to the Smart Contract or Program.
    - `smartContractInterface` string, required — The JSON corresponding to the Smart Contract Interface (ABI or IDL).
    - `type` string, required — The type corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA).
    - `label` string, required — The label corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA).
    - `notes` string, required — The notes corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA).
    - `createdAt` Externaldatav1Timestamp, required
      - `seconds` string, required
      - `nanos` string, required
    - `updatedAt` Externaldatav1Timestamp, required
      - `seconds` string, required
      - `nanos` string, required

## Other responses

- `default` — An unexpected error response.

---

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