Modules: trace

trace_block

Block returns the structured logs created during the execution of EVM and returns them as a JSON object. The correct name will be TraceBlockByNumber, though we want to be compatible with Parity trace module.

Params (2)

Parameters must be given by position.

1: number rpc.BlockNumber

  • Required: ✓ Yes

=== "Schema"

- oneOf: 

		- description: `The block height description`
		- enum: earliest, latest, pending
		- title: `blockNumberTag`
		- type: string


		- description: `Hex representation of a uint64`
		- pattern: `^0x([a-fA-F\d])+$`
		- title: `uint64`
		- type: string


- title: `blockNumberIdentifier`

=== "Raw"

2: config *TraceConfig

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

Result

interface []interface{}

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

Client Method Invocation Examples

=== "Shell HTTP"

=== "Shell WebSocket"

=== "Javascript Console"


trace_call

Call lets you trace a given eth_call. It collects the structured logs created during the execution of EVM if the given transaction was added on top of the provided block and returns them as a JSON object. You can provide -2 as a block number to trace on top of the pending block.

Params (3)

Parameters must be given by position.

1: args ethapi.TransactionArgs

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

2: blockNrOrHash rpc.BlockNumberOrHash

  • Required: ✓ Yes

3: config *TraceCallConfig

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

Result

interface interface{}

  • Required: ✓ Yes

Client Method Invocation Examples

=== "Shell HTTP"

=== "Shell WebSocket"

=== "Javascript Console"


trace_filter

Filter configures a new tracer according to the provided configuration, and executes all the transactions contained within. The return value will be one item per transaction, dependent on the requested tracer.

Params (2)

Parameters must be given by position.

1: args TraceFilterArgs

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

2: config *TraceConfig

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

Result

*rpc.Subscription

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

Client Method Invocation Examples

=== "Shell WebSocket"


trace_transaction

Transaction returns the structured logs created during the execution of EVM and returns them as a JSON object.

Params (2)

Parameters must be given by position.

1: hash common.Hash

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

2: config *TraceConfig

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

Result

interface interface{}

  • Required: ✓ Yes

Client Method Invocation Examples

=== "Shell HTTP"

=== "Shell WebSocket"

=== "Javascript Console"

Last updated