---
title: "Get transaction"
method: GET
path: "/api/v2/bsc/transactions/{txid}"
tags: ["BSC Transactions"]
---

# Get transaction

`GET /api/v2/bsc/transactions/{txid}`

This method shows a transaction

## Headers

- `X-Network` 'testnet' | 'mainnet'
- `Authorization` string, required
- `Content-Type` 'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data'

## Response `200`

Decoded

- object
  - `status` integer
  - `ok` boolean
  - `message` string
  - `data` object
    - `transaction` object
      - `blockHash` string
      - `blockNumber` string
      - `from` string
      - `gas` string
      - `gasPrice` string
      - `hash` string
      - `nonce` string
      - `to` string
      - `transactionIndex` string
      - `maxFeePerGas` string
      - `maxPriorityFeePerGas` string
      - `amount` string
      - `contractaddress` string
      - `type` string

## Other responses

- `422` — Transaction not found

---

[API](https://skmtc.net/chaingateway/apis/chaingateway-api-documentation.md) · [All operations](https://skmtc.net/chaingateway/apis/chaingateway-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chaingateway/chaingateway-api-documentation/versions/ddb709b4ade7/schema)
