package
3.0.3+incompatible
Repository: https://github.com/truechain/truechain-engineering-code.git
Documentation: pkg.go.dev

# Functions

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 True service.
NewPublicAccountAPI creates a new PublicAccountAPI.
NewPublicBlockChainAPI creates a new True blockchain API.
NewPublicDebugAPI creates a new API definition for the public debug methods of the True service.
NewPublicFruitPoolAPI creates a new snail pool service that gives information about the snail pool.
NewPublicFruitPoolAPI creates a new snail pool service that gives information about the snail pool.
NewPublicNetAPI creates a new net API instance.
NewPublicTransactionPoolAPI creates a new RPC service with methods specific for the transaction pool.
NewPublicTrueAPI creates a new True protocol API.
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.
No description provided by the author
No description provided by the author
RPCMarshalSnailBlock converts the given snail block to the RPC output.

# Variables

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 True 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 True blockchain.
PublicDebugAPI is the collection of True APIs exposed over the public debugging endpoint.
PublicFruitPoolAPI offers and API for the snail pool.
PublicImpawnAPI offers and API for the snail pool.
PublicNetAPI offers network related RPC methods.
PublicTransactionPoolAPI exposes methods for the RPC interface.
PublicTrueAPI provides an API to access True related information.
PublicTxPoolAPI offers and API for the transaction pool.
RPCFruits represents a fruit that will serialize to the RPC representation of a fruit.
RPCTransaction represents a transaction 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.

# Interfaces

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