Documentation
¶
Index ¶
- type PublicAPI
- func (api *PublicAPI) Content() (map[string]map[string]map[string]*types.RPCTransaction, error)
- func (api *PublicAPI) ContentFrom(address common.Address) (map[string]map[string]*types.RPCTransaction, error)
- func (api *PublicAPI) Inspect() (map[string]map[string]map[string]string, error)
- func (api *PublicAPI) Status() (map[string]hexutil.Uint, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicAPI ¶
type PublicAPI struct {
// contains filtered or unexported fields
}
PublicAPI offers and API for the transaction pool. It only operates on data that is non-confidential. NOTE: For more info about the current status of this endpoints see https://github.com/evmos/ethermint/issues/124
func NewPublicAPI ¶
func NewPublicAPI(logger log.Logger, backend backend.EVMBackend) *PublicAPI
NewPublicAPI creates a new tx pool service that gives information about the transaction pool.
func (*PublicAPI) ContentFrom ¶ added in v0.4.0
func (api *PublicAPI) ContentFrom(address common.Address) (map[string]map[string]*types.RPCTransaction, error)
ContentFrom returns the transactions contained within the transaction pool
Click to show internal directories.
Click to hide internal directories.