eth

package
v1.68.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 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.Chain33Config, c queue.Client, api client.QueueProtocolAPI) interface{}

NewEthAPI new eth api

Types

type HistoryParam added in v1.67.4

type HistoryParam struct {
	BlockCount  hexutil.Uint64
	NewestBlock string
}

HistoryParam ...

type Type added in v1.68.0

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