Returns traces created at given block.
Invocation |
|
Parameter | Type | Description |
numberOrTag |
| |
Returned type | Description |
| |
curl --data '{"method":"trace_block","params":[numberOrTag],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
BlockParameter
Field name | Type |
Type |
|
BlockNumber |
|
BlockHash |
|
RequireCanonical |
|
BlockParameterType
Quantity
or String
(latest, earliest, pending)
ParityTxTraceFromStore
Field name | Type |
Action |
|
BlockHash |
|
BlockNumber |
|
Result |
|
Subtraces |
|
TraceAddress |
|
TransactionHash |
|
TransactionPosition |
|
Type |
|
ParityTraceAction
Field name | Type |
TraceAddress |
|
CallType |
|
IncludeInTrace |
|
IsPrecompiled |
|
Type |
|
CreationMethod |
|
From |
|
To |
|
Gas |
|
Value |
|
Input |
|
Result |
|
Subtraces |
|
Author |
|
RewardType |
|
Error |
|
ParityTraceResult
Field name | Type |
GasUsed |
|
Output |
|
Address |
|
Code |
|
Traces a call to eth_sendRawTransaction without making the call, returning the traces
Invocation |
|
Parameter | Type | Description |
data |
| |
traceTypes |
| |
Returned type | Description |
| |
curl --data '{"method":"trace_rawTransaction","params":[data, traceTypes],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
ParityTxTraceFromReplay
Field name | Type |
Output |
|
TransactionHash |
|
VmTrace |
|
Action |
|
StateChanges |
|
ParityVmTrace
Field name | Type |
Code |
|
Operations |
|
ParityTraceAction
Field name | Type |
TraceAddress |
|
CallType |
|
IncludeInTrace |
|
IsPrecompiled |
|
Type |
|
CreationMethod |
|
From |
|
To |
|
Gas |
|
Value |
|
Input |
|
Result |
|
Subtraces |
|
Author |
|
RewardType |
|
Error |
|
See also CLI trace.rawTransaction
Replays all transactions in a block returning the requested traces for each transaction.
Invocation |
|
Parameter | Type | Description |
numberOrTag |
| |
traceTypes |
| |
Returned type | Description |
| |
curl --data '{"method":"trace_replayBlockTransactions","params":[numberOrTag, traceTypes],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
BlockParameter
Field name | Type |
Type |
|
BlockNumber |
|
BlockHash |
|
RequireCanonical |
|
BlockParameterType
Quantity
or String
(latest, earliest, pending)
ParityTxTraceFromReplay
Field name | Type |
Output |
|
TransactionHash |
|
VmTrace |
|
Action |
|
StateChanges |
|
ParityVmTrace
Field name | Type |
Code |
|
Operations |
|
ParityTraceAction
Field name | Type |
TraceAddress |
|
CallType |
|
IncludeInTrace |
|
IsPrecompiled |
|
Type |
|
CreationMethod |
|
From |
|
To |
|
Gas |
|
Value |
|
Input |
|
Result |
|
Subtraces |
|
Author |
|
RewardType |
|
Error |
|
See also CLI trace.replayBlockTransactions
Replays a transaction, returning the traces.
Invocation |
|
Parameter | Type | Description |
txHash |
| |
traceTypes |
| |
Returned type | Description |
| |
curl --data '{"method":"trace_replayTransaction","params":[txHash, traceTypes],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
ParityTxTraceFromReplay
Field name | Type |
Output |
|
TransactionHash |
|
VmTrace |
|
Action |
|
StateChanges |
|
ParityVmTrace
Field name | Type |
Code |
|
Operations |
|
ParityTraceAction
Field name | Type |
TraceAddress |
|
CallType |
|
IncludeInTrace |
|
IsPrecompiled |
|
Type |
|
CreationMethod |
|
From |
|
To |
|
Gas |
|
Value |
|
Input |
|
Result |
|
Subtraces |
|
Author |
|
RewardType |
|
Error |
|
See also CLI trace.replayTransaction
Returns all traces of given transaction
Invocation |
|
Parameter | Type | Description |
txHash |
| |
Returned type | Description |
| |
curl --data '{"method":"trace_transaction","params":[txHash],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
ParityTxTraceFromStore
Field name | Type |
Action |
|
BlockHash |
|
BlockNumber |
|
Result |
|
Subtraces |
|
TraceAddress |
|
TransactionHash |
|
TransactionPosition |
|
Type |
|
ParityTraceAction
Field name | Type |
TraceAddress |
|
CallType |
|
IncludeInTrace |
|
IsPrecompiled |
|
Type |
|
CreationMethod |
|
From |
|
To |
|
Gas |
|
Value |
|
Input |
|
Result |
|
Subtraces |
|
Author |
|
RewardType |
|
Error |
|
ParityTraceResult
Field name | Type |
GasUsed |
|
Output |
|
Address |
|
Code |
|