---
title: "TxDecode decodes the transaction."
method: POST
path: "/cosmos/tx/v1beta1/decode"
tags: ["Service"]
---

# TxDecode decodes the transaction.

`POST /cosmos/tx/v1beta1/decode`

## Request

- Base URL: `https://api.kyve.network` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kyve.network/cosmos/tx/v1beta1/decode`
- Auth: none declared

Since: cosmos-sdk 0.47

## Request body

- object: TxDecodeRequest is the request type for the Service.TxDecode RPC method. Since: cosmos-sdk 0.47
  - `tx_bytes` string, byte: tx_bytes is the raw transaction.

## Response `200`

A successful response.

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/kyve/apis/kyve-chain-rest-api.md) · [All operations](https://skmtc.dev/kyve/apis/kyve-chain-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kyve/apis/kyve-chain-rest-api/revisions/f4c44127d484?raw)
