trace
trace_rawTransaction
Traces the execution of a raw signed transaction without broadcasting it.
Traces the execution of a raw signed transaction without broadcasting it to the network. Useful for pre-flight checks and debugging before submission.
Parameters
| # | Type | Description |
|---|---|---|
| 1 | string | Raw signed transaction (RLP-encoded hex). |
| 2 | array | Trace types — ["trace"], ["vmTrace"], ["stateDiff"], or any combination. |
Returns
Trace result object matching the requested trace types.
Example
curl -s -X POST https://rpc.pulsechain.box \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "trace_rawTransaction",
"params": [
"0x02f87083017182...",
["trace"]
],
"id": 1
}'
Notes
- The transaction must be validly signed and RLP-encoded.
- The transaction is not broadcast to the network — it is only simulated.
- Useful for checking whether a transaction will succeed and what internal calls it will make before actually submitting it.
