package
0.0.0-20240923103451-537488f4e5ac
Repository: https://github.com/tos-network/gtos.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
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 Tosnetwk service.
NewPublicAccountAPI creates a new PublicAccountAPI.
NewPublicBlockChainAPI creates a new Tosnetwk blockchain API.
NewPublicDebugAPI creates a new API definition for the public debug methods of the Tosnetwk service.
NewPublicNetAPI creates a new net API instance.
NewPublicTosnetwkAPI creates a new Tosnetwk protocol API.
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
Result structs for GetProof.
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 Tosnetwk 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 Tosnetwk blockchain.
PublicDebugAPI is the collection of Tosnetwk APIs exposed over the public debugging endpoint.
PublicNetAPI offers network related RPC methods.
PublicTosnetwkAPI provides an API to access Tosnetwk related information.
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.
SendTxArgs represents the arguments to sumbit a new transaction into the transaction pool.
SignTransactionResult represents a RLP encoded signed transaction.
No description provided by the author
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.