# Functions
formatLogs formats EVM returned structured logs for json output.
No description provided by the author
No description provided by the author
NewPrivateAccountAPI create a new PrivateAccountAPI.
NewPrivateDebugAPI creates a new API definition for the private debug methods of the Cpchain service.
NewPublicAccountAPI creates a new PublicAccountAPI.
NewPublicBlockChainAPI creates a new Cpchain blockchain API.
NewPublicCpchainAPI creates a new Cpchain protocol API.
NewPublicDebugAPI creates a new API definition for the public debug methods of the Cpchain service.
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.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
CallArgs represents the arguments for a call.
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.
PrivateAccountAPI provides an API to access accounts managed by this node.
PrivateDebugAPI is the collection of Cpchain APIs exposed over the private debugging endpoint.
PublicAccountAPI provides an API to access accounts managed by this node.
PublicBlockChainAPI provides an API to access the Cpchain blockchain.
PublicCpchainAPI provides an API to access Cpchain related information.
PublicDebugAPI is the collection of Cpchain APIs exposed over the public debugging endpoint.
PublicNetAPI offers network related RPC methods.
PublicTransactionPoolAPI exposes methods for the RPC interface.
PublicTxPoolAPI offers and API for the transaction pool.
RPCTransaction represents a transaction that will serialize to the RPC representation of a transaction.
RPCTransactionWithContract represents a transaction with contract information that will serialize to the RPC representation of a transaction.
SendTxArgs represents the arguments to sumbit a new transaction into the transaction pool.
SignTransactionResult represents a RLP encoded signed transaction.
StructLogRes stores a structured log emitted by the EVM while replaying a transaction in debug mode.
No description provided by the author
# Interfaces
Backend interface provides the common API services (that are provided by both full and light clients) with access to necessary functions.