structs

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransactionData

type TransactionData struct {
	Hash        common.Hash
	From        common.Address
	To          common.Address
	Value       *big.Int
	Gas         uint64
	GasPrice    *big.Int
	Data        string
	BlockNumber *big.Int
}

交易

func (TransactionData) MarshalJSON

func (t TransactionData) MarshalJSON() ([]byte, error)

func (*TransactionData) ToMessage

func (t *TransactionData) ToMessage() string

func (*TransactionData) UnmarshalJSON

func (t *TransactionData) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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