ethapi

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package ethapi exposes the internal ethapi package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddrLocker

type AddrLocker = ethapi.AddrLocker

Type aliases required by constructors.

type Backend

type Backend = ethapi.Backend

Type aliases required by constructors.

type BlockChainAPI

type BlockChainAPI = ethapi.BlockChainAPI

BlockChainAPI provides an API to access Ethereum blockchain data.

func NewBlockChainAPI

func NewBlockChainAPI(b Backend) *BlockChainAPI

NewBlockChainAPI is identical to ethapi.NewBlockChainAPI.

type DebugAPI

type DebugAPI = ethapi.DebugAPI

DebugAPI is the collection of Ethereum APIs exposed over the debugging namespace.

func NewDebugAPI

func NewDebugAPI(b Backend) *DebugAPI

NewDebugAPI is identical to ethapi.NewDebugAPI.

type EthereumAPI

type EthereumAPI = ethapi.EthereumAPI

EthereumAPI provides an API to access Ethereum related information.

func NewEthereumAPI

func NewEthereumAPI(b Backend) *EthereumAPI

NewEthereumAPI is identical to ethapi.NewEthereumAPI.

type RPCTransaction

type RPCTransaction = ethapi.RPCTransaction

Type aliases for types used as arguments or responses to the APIs.

func NewRPCPendingTransaction

func NewRPCPendingTransaction(tx *types.Transaction, current *types.Header, config *params.ChainConfig) *RPCTransaction

NewRPCPendingTransaction is identical to ethapi.NewRPCPendingTransaction.

func NewRPCTransaction

func NewRPCTransaction(tx *types.Transaction, blockHash common.Hash, blockNumber uint64, blockTime uint64, index uint64, baseFee *big.Int, config *params.ChainConfig) *RPCTransaction

NewRPCTransaction is identical to ethapi.NewRPCTransaction.

type TransactionAPI

type TransactionAPI = ethapi.TransactionAPI

TransactionAPI exposes methods for reading and creating transaction data.

func NewTransactionAPI

func NewTransactionAPI(b Backend, nonceLock *AddrLocker) *TransactionAPI

NewTransactionAPI is identical to ethapi.NewTransactionAPI.

type TxPoolAPI

type TxPoolAPI = ethapi.TxPoolAPI

TxPoolAPI offers and API for the transaction pool. It only operates on data that is non-confidential.

func NewTxPoolAPI

func NewTxPoolAPI(b Backend) *TxPoolAPI

NewTxPoolAPI is identical to ethapi.NewTxPoolAPI.

Jump to

Keyboard shortcuts

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