package
1.1.3-rc.5
Repository: https://github.com/fantom-foundation/go-opera.git
Documentation: pkg.go.dev

# README

Package is a full copy of github.com/ethereum/go-ethereum/internal/ethapi

# Functions

AccessList creates an access list for the given transaction.
No description provided by the author
DoEstimateGas - binary search the gas requirement, as it may be higher than the amount used.
FormatLogs formats EVM returned structured logs for json output.
No description provided by the author
NewPrivateAccountAPI create a new PrivateAccountAPI.
NewPrivateDebugAPI creates a new API definition for the private debug methods of the Ethereum service.
NewPublicAbftAPI creates a new SFC protocol API.
NewPublicAccountAPI creates a new PublicAccountAPI.
NewPublicBlockChainAPI creates a new Ethereum blockchain API.
NewPublicDAGChainAPI creates a new DAG chain API.
NewPublicDebugAPI creates a new API definition for the public debug methods of the Ethereum service.
NewPublicEthereumAPI creates a new Ethereum protocol API.
NewPublicNetAPI creates a new net API instance.
NewPublicTransactionPoolAPI creates a new RPC service with methods specific for the transaction pool.
NewPublicTxPoolAPI creates a new tx pool service that gives information about the transaction pool.
RPCMarshalBlock converts the given block to the RPC output which depends on fullTx.
RPCMarshalHeader converts the given header to the RPC output .
SubmitTransaction is a helper function that submits tx to txPool and logs a message.

# Structs

AccountResult is result struct for GetProof.
No description provided by the author
ExecutionResult groups all structured logs emitted by the EVM while replaying a transaction in debug mode as well as transaction execution status, the amount of gas used and the return value.
OverrideAccount indicates the overriding fields of account during the execution of a message call.
PeerProgress is synchronization status of a peer.
PrivateAccountAPI provides an API to access accounts managed by this node.
PrivateDebugAPI is the collection of Ethereum APIs exposed over the private debugging endpoint.
PublicAbftAPI provides an API to access consensus related information.
PublicAccountAPI provides an API to access accounts managed by this node.
PublicBlockChainAPI provides an API to access the Ethereum blockchain.
PublicDAGChainAPI provides an API to access the directed acyclic graph chain.
PublicDebugAPI is the collection of Ethereum APIs exposed over the public debugging endpoint.
PublicEthereumAPI provides an API to access Ethereum related information.
PublicNetAPI offers network related RPC methods.
PublicTransactionPoolAPI exposes methods for the RPC interface.
PublicTxPoolAPI offers and API for the transaction pool.
RawWallet is a JSON representation of an accounts.Wallet interface, with its data contents extracted into plain fields.
RPCTransaction represents a transaction that will serialize to the RPC representation of a transaction.
SignTransactionResult represents a RLP encoded signed transaction.
StorageResult is result struct for GetProof.
StructLogRes stores a structured log emitted by the EVM while replaying a transaction in debug mode.
TransactionArgs represents the arguments to construct a new transaction or a message call.

# Interfaces

Backend interface provides the common API services (that are provided by both full and light clients) with access to necessary functions.

# Type aliases

StateOverride is the collection of overridden accounts.