---
title: "Get a transaction's detail"
method: GET
path: "/api/transactions/{tx}"
tags: ["Transaction"]
---

# Get a transaction's detail

`GET /api/transactions/{tx}`

## Response `200`

OK

- Transaction
  - `_id` string — id
  - `tx` string — transaction hash
  - `smartContractAddress` string — smart contract's address
  - `__v` number — __v
  - `capacity` string — capacity in wei
  - `createdAt` string — creation date of candidate
  - `owner` string — owner's address
  - `blockNumber` number — blockNumber
  - `updatedAt` string — update time
  - `voter` string — voter address
  - `candidate` string — candidate address
  - `event` 'Vote' | 'Unvote' | 'Withdraw' | 'Propose' | 'Resign' — event

## Changes

- **2019-03-28** `60c704b26f6e` — 1 info
  - endpoint added
- **2019-01-09** `3b5217f07caf` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/buildonviction/apis/vicmaster-apis/changes/api/transactions/:tx/get.md)

---

[API](https://skmtc.dev/buildonviction/apis/vicmaster-apis.md) · [All operations](https://skmtc.dev/buildonviction/apis/vicmaster-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/buildonviction/vicmaster-apis/revisions/340b06a72a34/schema)
