> For a complete page index, fetch https://docs.conduit.xyz/llms.txt # debug_getRawBlock 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 block for the given block number or hash. ⚡ 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-block ## Request ### Body (application/json) This endpoint expects an object. - `blockIdentifier` (BlockNumberOrTagOrHash, required) — Block number, block hash, or one of "latest", "earliest", "pending", "finalized", "safe" ## Response ### 200 The RLP-encoded block, hex-encoded - `string` ## Types ### BlockNumberOrTagOrHash ## Examples **Request** ```json [ "latest" ] ``` **Response** ```json { "id": "1", "jsonrpc": "2.0", "result": "0xf904e8f90225a0fdd282bf07344d884e9cfcb242c657510c7101a3aac5d7d2b60e055473666cf4a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a4b000000000000000000073657175656e636572a02621180ad41c918105db9f9a9b4bb4704439b97c97de6f983cbf9052a75fb90ca0e87d88992052a67bdf2088bb09a0d29f6430447f5c72d6922c74000342910300a08ac95bd431e3d47f06c59d2d6d617e6ca15e70b597e10e34e0214407b02052ddb90100000000000000000000000080000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000100000000000000000000040000000000088800000820000008000000000000000000000000000000000000000000000000000000000000200000000020000000100004000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000020000000000000000000000000000000000800000008000000000000000000100000000000000000400000000000000000000000000000000000000000184028401d287040000000000008301574f84693b7000a02e7312f2ca373866f5266f0efb1d37f681088cad1ca26cf74fcfa0fb46f6dae5a0000000000000878900000000016e1bd90000000000000020000000000000000088000000000000072085e8d4a51000f902bcb88d6af88a83018232b8846bf6a42d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016e1bd900000000000000000000000000000000000000000000000000000000028401d20000000000000000000000000000000000000000000000000000000000000000b901ba02f901b683018232820dbd8086013a52453c00830223629442b18785ce0aed7bf7ca43a39471ed4c0a3e0bb580b9014620b76e81000000000000000000000000dddd73f5df1f0dc31373357beac77545dc5a6f3f000000000000000000000000593ccca4c4bf58b7526a4c164ceef4003c6388db0000000000000000000000007824e4b3e21678f143ce22308adfd48d1d3160fb0000000000000000000000007420302ddd469031cd2282cd64225ccd46f581ea0000000000000000000000000000000000000000000000000cb2bba6f17b800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a37805cda000000000000000000000000ee03f376ad26948d24c2e3ae76c8d95c7793076300000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000117ec080a0f18fbf44e14f54e164b3d41a3bddb286fda45ff67884e7bb4b0992362a44937fa04f685fcd1a2238f82be66f94dc43eb7ec117974afe3282feefc55c64cd36ff0bf86e8345a71a85e8d4a51000827cf694ee96619e247f69cf5ee49df56ce44a10514074ba80845c36b18683030487a08307c50a6e361aa4c1130a9b0cd8266c1c3eb41cec6b14fa2df0513068882844a07642ec58e3e43b4ea7697ecd31f24c13b1fab098b50d1aeb28ff7e19a799f279c0" } ``` **SDK Code** ```python import requests url = "https://rpc.plume.org/YOUR_API_KEY" payload = ["latest"] 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: '["latest"]' }; 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 \"latest\"\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 \"latest\"\n]" response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.post("https://rpc.plume.org/YOUR_API_KEY") .header("Content-Type", "application/json") .body("[\n \"latest\"\n]") .asString(); ``` ```php request('POST', 'https://rpc.plume.org/YOUR_API_KEY', [ 'body' => '[ "latest" ]', '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 \"latest\"\n]", ParameterType.RequestBody); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = ["Content-Type": "application/json"] let parameters = ["latest"] 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() ```