debug_getRawTransaction - Bittensor RPC Method
Return raw RLP-encoded transaction data by hash on Bittensor's EVM layer. Debug method.
Returns the raw RLP-encoded transaction data for a given transaction hash on Bittensor's EVM-compatible layer. This provides the exact bytes of the signed transaction as it was submitted to the network, before any decoding. It is part of the debug namespace provided by the Frontier EVM compatibility layer.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
txHash | string | Yes | The EVM transaction hash (32-byte hex string with 0x prefix). |
Response
| Field | Type | Description |
|---|---|---|
result | string or null | Hex-encoded RLP-encoded transaction data, or null if the transaction is not found. |
Code Examples
Use Cases
- Transaction debugging -- Inspect the raw signed transaction bytes to debug encoding, signing, or submission issues on Bittensor's EVM layer.
- Transaction replay -- Obtain the raw transaction to replay it on a test network or local development environment.
- Signature verification -- Extract the raw transaction for independent signature verification.
- Tooling development -- Test RLP transaction decoders against real Bittensor EVM transaction data.
Notes
- This is an EVM debug method provided by the Frontier compatibility layer. It may be disabled on public RPC endpoints.
- The raw data uses RLP encoding (Ethereum format). The transaction includes nonce, gas price, gas limit, to, value, data, and signature fields.
- Returns
nullif the transaction hash is not found or has been pruned. - May require
--rpc-methods unsafeor Frontier debug flags enabled.
Related Methods
debug_getRawBlock-- Get raw RLP-encoded block datadebug_getRawHeader-- Get raw RLP-encoded header datadebug_getBadBlocks-- List bad blockseth_getTransactionByHash-- Get a decoded EVM transactioneth_getTransactionReceipt-- Get the transaction receipt
debug_getRawReceipts - JSON-RPC Method
Return raw receipts for a block (Frontier EVM). May be disabled.
delegateInfo_getDelegate - Bittensor RPC Method
Retrieve SCALE-encoded info for a specific delegate by AccountId32 on Bittensor. Use for validator research, delegation decisions, and staking analytics.