Versions in this module Expand all Collapse all v0 v0.15.0 May 31, 2022 Changes in this version + func ExpandHome(p string) (string, error) + type API struct + func NewAPI(ctx *server.Context, backend backend.Backend, clientCtx client.Context) *API + func (a *API) BlockProfile(file string, nsec uint) error + func (a *API) CpuProfile(file string, nsec uint) error + func (a *API) FreeOSMemory() + func (a *API) GcStats() *debug.GCStats + func (a *API) GetBlockRlp(number uint64) (hexutil.Bytes, error) + func (a *API) GetHeaderRlp(number uint64) (hexutil.Bytes, error) + func (a *API) GoTrace(file string, nsec uint) error + func (a *API) IntermediateRoots(hash common.Hash, _ *evmtypes.TraceConfig) ([]common.Hash, error) + func (a *API) MemStats() *runtime.MemStats + func (a *API) MutexProfile(file string, nsec uint) error + func (a *API) PrintBlock(number uint64) (string, error) + func (a *API) SeedHash(number uint64) (string, error) + func (a *API) SetBlockProfileRate(rate int) + func (a *API) SetGCPercent(v int) int + func (a *API) SetMutexProfileFraction(rate int) + func (a *API) Stacks() string + func (a *API) StartCPUProfile(file string) error + func (a *API) StartGoTrace(file string) error + func (a *API) StopCPUProfile() error + func (a *API) StopGoTrace() error + func (a *API) TraceBlockByHash(hash common.Hash, config *evmtypes.TraceConfig) ([]*evmtypes.TxTraceResult, error) + func (a *API) TraceBlockByNumber(height rpctypes.BlockNumber, config *evmtypes.TraceConfig) ([]*evmtypes.TxTraceResult, error) + func (a *API) TraceTransaction(hash common.Hash, config *evmtypes.TraceConfig) (interface{}, error) + func (a *API) WriteBlockProfile(file string) error + func (a *API) WriteMemProfile(file string) error + func (a *API) WriteMutexProfile(file string) error + type HandlerT struct