| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

### **Compute Unit Value**: `10` (fixed)

### START HERE!

Click **Try It!** to test the endpoint with the default values or customize your request by following these steps:

1. Enter your API key in the **Header: token** text box (top right).
   
   - You can **[get a free API key here](https://docs.blockdaemon.com/docs/quick-start-blockdaemon-api-suite)** .
2. Enter the parameters available below.
3. Click **Try It!**.

### Supported Protocols & Networks

| Protocol | Network | Path Parameter |
| --- | --- | --- |
| Avalanche | Mainnet-c | `avalanche-mainnet-c` |
|  | Testnet-c | `avalanche-testnet-c` |
| Bitcoin | Mainnet | `bitcoin-mainnet` |
|  | Testnet | `bitcoin-testnet` |
|  | Testnet4 | `bitcoin-testnet4` |
| Bitcoincash | Mainnet | `bitcoincash-mainnet` |
|  | Testnet | `bitcoincash-testnet` |
| Ethereum | Mainnet | `ethereum-mainnet` |
|  | Sepolia | `ethereum-sepolia` |
|  | Hoodi | `ethereum-hoodi` |
| Litecoin | Mainnet | `litecoin-mainnet` |
|  | Testnet | `litecoin-testnet` |
| Near | Mainnet | `near-mainnet` |
|  | Testnet | `near-testnet` |
| Polygon | Mainnet | `polygon-mainnet` |
|  | Amoy | `polygon-amoy` |
| Solana | Mainnet | `solana-mainnet` |
|  | Testnet | `solana-testnet` |
|  | Devnet | `solana-devnet` |
| Stellar | Mainnet | `stellar-mainnet` |
|  | Testnet | `stellar-testnet` |
| Tron | Mainnet | `tron-mainnet` |
|  | Nile | `tron-nile` |

`blockchain_id`

- string

- required

Defaults to ethereum-mainnet

Either a hyphen separated protocol-network pair like `ethereum-mainnet` or the `chain-id`

`tx`

- string

- required

The encoded transaction to be decoded.

# ``200      OK

# ``401      Invalid or expired token

# ``429      Rate limit exceeded

# ``500      An internal server error happened

# ``501      The request endpoint is not implemented

# ``503      The resource you are trying to access is currently unavailable

Updated 2 months ago

```shell
curl --request POST \
     --url https://svc.blockdaemon.com/tx/v1/ethereum-mainnet/decode \
     --header 'X-API-Key: ••••' \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
```

"Click `Try It!` to start a request and see the response here! Or choose an example:

application/json

``200 - Result of decoding raw unsigned Bitcoin transaction``
``200 - Result of decoding raw signed Bitcoin transaction``
``200 - Result of decoding raw signed P2WPKH (with witness data) Bitcoin transaction``
``401``
``429``
``500``
``501``
``503
```
