---
title: "getTransactionByHash"
method: GET
path: "/v1/transactions/{hash}"
tags: ["Transactions"]
---

# getTransactionByHash

`GET /v1/transactions/{hash}`

Get details of the queried user transaction in a raw JSON format by hash. 
On the Mina Blockchain, transactions come as user transactions  that accounts execute, internal commands that are run internally within the blockchain, and zkApp transactions that are run via zkApps - equivalents to dApps on Mina that are based on the zero knowledge technology.

## Path parameters

- `hash` string, required — Queried transaction hash.

## Response `200`

OK

- TransactionByHashDTO
  - `hash` string
  - `type` string
  - `amount` number, double
  - `receivedAmount` number, double
  - `receivedDelegationAmount` number, double
  - `amountUsd` number, double
  - `receivedAmountUsd` number, double
  - `fee` number, double
  - `feeUsd` number, double
  - `sourceAddress` string
  - `sourceName` string
  - `sourceImg` string
  - `isZkAppAccountSource` boolean
  - `receiverAddress` string
  - `receiverName` string
  - `receiverImg` string
  - `isZkAppAccountReceiver` boolean
  - `memo` string
  - `nonce` integer
  - `delegationAmount` number, double
  - `delegationAmountUsd` number, double
  - `alert` boolean
  - `sequenceNumber` integer
  - `failureReason` string
  - `timestamp` integer
  - `epoch` integer
  - `sourceScam` ScamDto
    - `scamId` integer
    - `objectType` string
    - `onchainId` string
    - `defaultSecurityMessage` string
    - `securityMessage` string
    - `scamType` string
  - `receiverScam` ScamDto
    - `scamId` integer
    - `objectType` string
    - `onchainId` string
    - `defaultSecurityMessage` string
    - `securityMessage` string
    - `scamType` string
  - `balanceChanges` ChangeBalanceDto[]
    - `accountAddress` string
    - `accountName` string
    - `accountImg` string
    - `isZkappAccount` boolean
    - `changeBalance` number, double
    - `balanceBefore` number, double
    - `balanceAfter` number, double
    - `tokenSymbol` string
    - `tokenId` string
    - `scam` ScamDto
      - `scamId` integer
      - `objectType` string
      - `onchainId` string
      - `defaultSecurityMessage` string
      - `securityMessage` string
      - `scamType` string
    - `tokenName` string
    - `tokenImage` string
    - `isVerified` boolean
    - `isBridge` boolean
    - `coingeckoCoinId` string
    - `coinmarketCoinId` string

---

[API](https://skmtc.net/blockberry/apis/sui-mainnet-api.md) · [All operations](https://skmtc.net/blockberry/apis/sui-mainnet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockberry/sui-mainnet-api/versions/3e4cb73940b7/schema)
