request

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: CC0-1.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	BlockHash *common.H256           `json:"blockhash"`
	FromBlock *common.BN64           `json:"fromBlock"`
	ToBlock   *common.BN64           `json:"toBlock"`
	Addresses SingleOrSliceOfAddress `json:"address"`
	Topics    Topics                 `json:"topics"`
}

type LogSubscriptionOptions

type LogSubscriptionOptions struct {
	Address []common.Address `json:"address"`
	Topics  Topics           `json:"topics"`
}

type SingleOrSliceOfAddress

type SingleOrSliceOfAddress []common.Address

func (*SingleOrSliceOfAddress) UnmarshalJSON

func (a *SingleOrSliceOfAddress) UnmarshalJSON(b []byte) error

type Topics

type Topics [][][]byte

func (*Topics) UnmarshalJSON

func (t *Topics) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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