---
title: "Decode Transaction"
method: POST
path: "/defi/v1/chain/decodetransaction"
tags: ["chain"]
---

# Decode Transaction

`POST /defi/v1/chain/decodetransaction`

## Request

- Base URL: `https://svc.blockdaemon.com`
- URL: `https://svc.blockdaemon.com/defi/v1/chain/decodetransaction`
- Auth: API key in header `X-API-Key`

Decodes a raw, signed transaction into a human-readable format, revealing fields like nonce, gas price, recipient, value, and signature components. This helps developers and users audit or debug transactions by highlighting asset changes (sender, receiver, and transferred amount).

> 💡 
**Compute Unit Value:** `45` (Fixed)

## Request body

- ChainDecodetransactionRequest: The request body for a /defi/v1/chain/decodetransaction
  - `chainId` '1' | '11155111' | '56' | '97' | '43114' | '338' | '900' | '901' | '1200' | '1201' | '43113' | '42161' | '10' | '11155420' | '4002' | '324' | '300' | 'cosmoshub-4' | '1600' | '1601' | '1700' | '1701' | 'osmosis-1' | 'osmo-test-5' | '1800' | '1801' | '137' | '80002' | '250' | '8453' | '84532' | '1500' | '1501' | '5000' | '5003' | '8217' | '1001': The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains).
  - `chainSymbol` string: The abbreviated chain name for queries or transactions.
  - `rawTransaction` string, required: A signed transaction serialized as a base64 string, used to simulate contract execution on the blockchain.

## Response `200`

Successful response

- object
  - `status` integer
  - `msg` string
  - `data` object

---

[API](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api.md) - [All operations](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/revisions/ec053b7c8041?raw)
