ethtypes

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessListItem

type AccessListItem struct {
	Address     common.Address `json:"address"`
	StorageKeys []common.Hash  `json:"storageKeys"`
}

type Transaction

type Transaction struct {
	GasPrice         uint256.Int     `json:"gasPrice"`
	ChainID          hexutil.Uint64  `json:"chainId"`
	BlockHash        common.Hash     `json:"blockHash"`
	Type             hexutil.Uint64  `json:"type"`
	Gas              uint256.Int     `json:"gas"`
	S                uint256.Int     `json:"s"`
	From             common.Address  `json:"from"`
	Hash             common.Hash     `json:"hash"`
	TransactionIndex hexutil.Uint64  `json:"transactionIndex"`
	Nonce            hexutil.Uint64  `json:"nonce"`
	Input            hexutil.Bytes   `json:"input"`
	BlockNumber      hexutil.Uint64  `json:"blockNumber"`
	To               *common.Address `json:"to"`
	V                uint256.Int     `json:"v"`
	R                uint256.Int     `json:"r"`
	Value            uint256.Int     `json:"value"`

	AccessList           []AccessListItem `json:"accessList,omitempty"`
	MaxFeePerGas         uint256.Int      `json:"maxFeePerGas,omitempty"`
	MaxPriorityFeePerGas uint256.Int      `json:"maxPriorityFeePerGas,omitempty"`
}

Jump to

Keyboard shortcuts

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