Documentation ¶
Overview ¶
Package txpool implements RPC API bindings for methods in the "txpool" namespace.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Content ¶
func Content() w3types.RPCCallerFactory[ContentResponse]
Content requests the pending and queued transactions in the transaction pool.
func ContentFrom ¶
func ContentFrom(addr common.Address) w3types.RPCCallerFactory[ContentFromResponse]
ContentFrom requests the pending and queued transactions in the transaction pool from the given address.
func Status ¶
func Status() w3types.RPCCallerFactory[StatusResponse]
Status requests the number of pending and queued transactions in the transaction pool.
Types ¶
type ContentFromResponse ¶
type ContentFromResponse struct { Pending []*types.Transaction Queued []*types.Transaction }
func (*ContentFromResponse) UnmarshalJSON ¶
func (cf *ContentFromResponse) UnmarshalJSON(data []byte) error
type ContentResponse ¶
type ContentResponse struct { Pending map[common.Address][]*types.Transaction Queued map[common.Address][]*types.Transaction }
func (*ContentResponse) UnmarshalJSON ¶
func (c *ContentResponse) UnmarshalJSON(data []byte) error
type StatusResponse ¶
func (*StatusResponse) UnmarshalJSON ¶
func (s *StatusResponse) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.