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 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 ¶
DebugAPI is the collection of Ethereum APIs exposed over the debugging namespace.
func NewDebugAPI ¶
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 ¶
TxPoolAPI offers and API for the transaction pool. It only operates on data that is non-confidential.
func NewTxPoolAPI ¶
NewTxPoolAPI is identical to ethapi.NewTxPoolAPI.