txpool

package
v0.0.0-...-fc77d88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 7 Imported by: 0

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

Content requests the pending and queued transactions in the transaction pool.

func ContentFrom

ContentFrom requests the pending and queued transactions in the transaction pool from the given address.

func Status

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

type StatusResponse struct {
	Pending uint
	Queued  uint
}

func (*StatusResponse) UnmarshalJSON

func (s *StatusResponse) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL