Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxAccountMap ¶
type TxAccountMap map[string]TxNonceMap
type TxNonceMap ¶
type TxNonceMap map[string]*rpc.RPCTransaction
type TxPoolClient ¶
type TxPoolClient struct {
// contains filtered or unexported fields
}
TxPoolClient defines typed wrappers for the TxPool RPC API.
func NewClient ¶
func NewClient(c *rpc.Client) *TxPoolClient
NewClient creates a client that uses the given RPC client.
func (*TxPoolClient) Content ¶
func (tpc *TxPoolClient) Content(ctx context.Context) (*TxPoolContent, error)
{ pending: { 0x0216d5032f356960cd3749c31ab34eeff21b3395: { 806: RPCTransaction, }, 0x24d407e5a0b506e1cb2fae163100b5de01f5193c: { 34: RPCTransaction, } }, queued: { 0x976a3fc5d6f7d259ebfb4cc2ae75115475e9867c: { 3: RPCTransaction, }, 0x9b11bf0459b0c4b2f87f8cebca4cfc26f294b63a: { 2: RPCTransaction, 6: RPCTransaction, } } }
type TxPoolContent ¶
type TxPoolContent map[string]TxAccountMap
Click to show internal directories.
Click to hide internal directories.