types

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package types is for types that are used in both sse and rpc packages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	Address common.Address `json:"address"`
	Topics  []common.Hash  `json:"topics"`
	Data    []byte         `json:"data,omitempty"` // Could be replaced with geth.hexutil type
}

Log - Custom type because of hex string to bytes decoding error while using default geth.Log

func (*Log) UnmarshalJSON

func (l *Log) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals JSON data into a Log.

Jump to

Keyboard shortcuts

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