eth

package
v0.0.0-...-3c905e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2023 License: BSD-3-Clause Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//HeadEvent 获取block header 事件
	HeadEvent = 1
	//EvmEvent 获取evm 事件
	EvmEvent = 4
)

Variables

This section is empty.

Functions

func NewEthAPI

func NewEthAPI(cfg *ctypes.ChainConfig, c queue.Client, api client.QueueProtocolAPI) interface{}

NewEthAPI new eth api

Types

type HistoryParam

type HistoryParam struct {
	BlockCount  hexutil.Uint64
	NewestBlock string
}

HistoryParam ...

type Type

type Type byte

Type ...

const (
	// UnknownSubscription indicates an unknown subscription type
	UnknownSubscription Type = iota
	// LogsSubscription queries for new or removed (chain reorg) logs
	LogsSubscription
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL