Versions in this module Expand all Collapse all v1 v1.13.13 Aug 9, 2024 Changes in this version + var DefaultDirectory = directory + func APIs(backend Backend) []rpc.API + func GetMemoryCopyPadded(m *vm.Memory, offset, size int64) ([]byte, error) + type API struct + func NewAPI(backend Backend) *API + func (api *API) IntermediateRoots(ctx context.Context, hash common.Hash, config *TraceConfig) ([]common.Hash, error) + func (api *API) StandardTraceBadBlockToFile(ctx context.Context, hash common.Hash, config *StdTraceConfig) ([]string, error) + func (api *API) StandardTraceBlockToFile(ctx context.Context, hash common.Hash, config *StdTraceConfig) ([]string, error) + func (api *API) TraceBadBlock(ctx context.Context, hash common.Hash, config *TraceConfig) ([]*txTraceResult, error) + func (api *API) TraceBlock(ctx context.Context, blob hexutil.Bytes, config *TraceConfig) ([]*txTraceResult, error) + func (api *API) TraceBlockByHash(ctx context.Context, hash common.Hash, config *TraceConfig) ([]*txTraceResult, error) + func (api *API) TraceBlockByNumber(ctx context.Context, number rpc.BlockNumber, config *TraceConfig) ([]*txTraceResult, error) + func (api *API) TraceBlockFromFile(ctx context.Context, file string, config *TraceConfig) ([]*txTraceResult, error) + func (api *API) TraceCall(ctx context.Context, args ethapi.TransactionArgs, ...) (interface{}, error) + func (api *API) TraceChain(ctx context.Context, start, end rpc.BlockNumber, config *TraceConfig) (*rpc.Subscription, error) + func (api *API) TraceTransaction(ctx context.Context, hash common.Hash, config *TraceConfig) (interface{}, error) + type Backend interface + BlockByHash func(ctx context.Context, hash common.Hash) (*types.Block, error) + BlockByNumber func(ctx context.Context, number rpc.BlockNumber) (*types.Block, error) + ChainConfig func() *params.ChainConfig + ChainDb func() ethdb.Database + Engine func() consensus.Engine + GetTransaction func(ctx context.Context, txHash common.Hash) (bool, *types.Transaction, common.Hash, uint64, uint64, error) + HeaderByHash func(ctx context.Context, hash common.Hash) (*types.Header, error) + HeaderByNumber func(ctx context.Context, number rpc.BlockNumber) (*types.Header, error) + RPCGasCap func() uint64 + StateAtBlock func(ctx context.Context, block *types.Block, reexec uint64, base *state.StateDB, ...) (*state.StateDB, StateReleaseFunc, error) + StateAtTransaction func(ctx context.Context, block *types.Block, txIndex int, reexec uint64) (*core.Message, vm.BlockContext, *state.StateDB, StateReleaseFunc, error) + type Context struct + BlockHash common.Hash + BlockNumber *big.Int + TxHash common.Hash + TxIndex int + type StateReleaseFunc func() + type StdTraceConfig struct + Reexec *uint64 + TxHash common.Hash + type TraceCallConfig struct + BlockOverrides *ethapi.BlockOverrides + StateOverrides *ethapi.StateOverride + TxIndex *hexutil.Uint + type TraceConfig struct + Reexec *uint64 + Timeout *string + Tracer *string + TracerConfig json.RawMessage + type Tracer interface + GetResult func() (json.RawMessage, error) + Stop func(err error)