> For a complete page index, fetch https://docs.conduit.xyz/llms.txt

# debug_getRawTransaction

POST https://rpc.plume.org/YOUR_API_KEY
Content-Type: application/json

**Availability:** Access to the `debug` namespace depends on your endpoint's method allowlist. Starting **August 4, 2026 at 12:00 PM PST**, all `debug_*` methods require an API key appended to the RPC URL — unauthenticated calls are rejected. If you receive `-32601 method not found` or `method not supported` errors, contact Conduit support to confirm your endpoint's configuration.

Returns the RLP-encoded transaction for the given transaction hash. Both `debug_getRawTransaction` and `eth_getRawTransactionByHash` are supported on Conduit RPC endpoints and return identical results — use whichever fits your tooling. Returns `null` for unknown transaction hashes.

⚡ Compute Units: [10 CU](https://docs.conduit.xyz/rpc-nodes/information/compute-units)

Reference: https://docs.conduit.xyz/rpc-nodes/json-rpc-reference/debug-get-raw-transaction

## Request

### Body (application/json)

This endpoint expects an object.

- `transactionHash` (string, required) — 32-byte hash of a transaction

## Response

### 200

The RLP-encoded transaction (hex-encoded), or `null` if the transaction is unknown.

- `string`

## Examples

**Request**

```json
[
  "0x85681434491f687150b2ff934554f149b284839eafc579b6abffb54f7df3b42c"
]
```

**Response**

```json
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": "0x02f901b683018232820dbd8086013a52453c00830223629442b18785ce0aed7bf7ca43a39471ed4c0a3e0bb580b9014620b76e81000000000000000000000000dddd73f5df1f0dc31373357beac77545dc5a6f3f000000000000000000000000593ccca4c4bf58b7526a4c164ceef4003c6388db0000000000000000000000007824e4b3e21678f143ce22308adfd48d1d3160fb0000000000000000000000007420302ddd469031cd2282cd64225ccd46f581ea0000000000000000000000000000000000000000000000000cb2bba6f17b800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a37805cda000000000000000000000000ee03f376ad26948d24c2e3ae76c8d95c7793076300000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000117ec080a0f18fbf44e14f54e164b3d41a3bddb286fda45ff67884e7bb4b0992362a44937fa04f685fcd1a2238f82be66f94dc43eb7ec117974afe3282feefc55c64cd36ff0b"
}
```

**SDK Code**

```python
import requests

url = "https://rpc.plume.org/YOUR_API_KEY"

payload = ["0x85681434491f687150b2ff934554f149b284839eafc579b6abffb54f7df3b42c"]
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://rpc.plume.org/YOUR_API_KEY';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '["0x85681434491f687150b2ff934554f149b284839eafc579b6abffb54f7df3b42c"]'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://rpc.plume.org/YOUR_API_KEY"

	payload := strings.NewReader("[\n  \"0x85681434491f687150b2ff934554f149b284839eafc579b6abffb54f7df3b42c\"\n]")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://rpc.plume.org/YOUR_API_KEY")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "[\n  \"0x85681434491f687150b2ff934554f149b284839eafc579b6abffb54f7df3b42c\"\n]"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://rpc.plume.org/YOUR_API_KEY")
  .header("Content-Type", "application/json")
  .body("[\n  \"0x85681434491f687150b2ff934554f149b284839eafc579b6abffb54f7df3b42c\"\n]")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://rpc.plume.org/YOUR_API_KEY', [
  'body' => '[
  "0x85681434491f687150b2ff934554f149b284839eafc579b6abffb54f7df3b42c"
]',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://rpc.plume.org/YOUR_API_KEY");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "[\n  \"0x85681434491f687150b2ff934554f149b284839eafc579b6abffb54f7df3b42c\"\n]", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = ["0x85681434491f687150b2ff934554f149b284839eafc579b6abffb54f7df3b42c"] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://rpc.plume.org/YOUR_API_KEY")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```