package
2.0.3-rc1+incompatible
Repository: https://github.com/0xsoniclabs/sonic.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.
No description provided by the author
NewJsonResultBuffer creates new bytes buffer.
NewMockBackend creates a new mock instance.
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.
NewPublicTxTraceAPI creates a new transaction trace API.
RPCMarshalBlock converts the given block to the RPC output which depends on fullTx.
SubmitTransaction is a helper function that submits tx to txPool and logs a message.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrMaxResponseSize is returned if size of the RPC call response is over defined limit.
ErrResponseTooLarge is returned when the result buffer cannot be expanded.
# Structs
AccountResult is result struct for GetProof.
No description provided by the author
FilterArgs represents the arguments for specifiing trace targets.
GetAccountResult is result struct for GetAccount.
JsonResultBuffer is a bytes buffer for jsonRawMessage result.
MockBackend is a mock of Backend interface.
MockBackendMockRecorder is the mock recorder for MockBackend.
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.
PublicTxTraceAPI provides an API to access transaction tracing It offers only methods that operate on public data that is freely available to anyone.
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.
TraceCallConfig is the config for traceCall API.
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.