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

---

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