---
title: "Get attestation by hash"
method: GET
path: "/v1/operations/attestations/{hash}"
tags: ["Operations"]
---

# Get attestation by hash

`GET /v1/operations/attestations/{hash}`

Returns an attestation operation with specified hash.

## Path parameters

- `hash` string, required

## Query parameters

- `quote` 'None' | 'Btc' | 'Eur' | 'Usd' | 'Cny' | 'Jpy' | 'Krw' | 'Eth' | 'Gbp'

## Response `200`

- AttestationOperation[]
  - `type` string — Type of the operation, `attestation` - is operation, which specifies the head of the chain as seen by the attester of a given slot. The attester is randomly selected to be included in the block that extends the head of the chain as specified in this operation. A block with more attestations improves the weight of the chain and increases the likelihood of that chain being the canonical one.
  - `id` integer — Unique ID of the operation, stored in the TzKT indexer database
  - `level` integer — The height of the block from the genesis block, in which the operation was included
  - `timestamp` string, date-time — Datetime of the block, in which the operation was included (ISO 8601, e.g. `2020-02-20T02:40:57Z`)
  - `block` string, required — Hash of the block, in which the operation was included
  - `hash` string, required — Hash of the operation
  - `delegate` Alias, required
    - `alias` string, nullable — Account alias name (off-chain data).
    - `address` string, required — Account address (public key hash).
  - `power` integer — Attestation power
  - `deposit` integer — Security deposit frozen on the baker's account
  - `rewards` integer — Reward of the baker for the operation
  - `quote` QuoteShort
    - `btc` number, double, nullable — XTZ/BTC price
    - `eur` number, double, nullable — XTZ/EUR price
    - `usd` number, double, nullable — XTZ/USD price
    - `cny` number, double, nullable — XTZ/CNY price
    - `jpy` number, double, nullable — XTZ/JPY price
    - `krw` number, double, nullable — XTZ/KRW price
    - `eth` number, double, nullable — XTZ/ETH price
    - `gbp` number, double, nullable — XTZ/GBP price
  - `slots` integer — **DEPRECATED**

---

[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)
