Documentation
¶
Overview ¶
Package api provides a client for accessing the feesim services through its JSON-RPC API.
Index ¶
- type Client
- func (c *Client) BlockSource() (map[string]interface{}, error)
- func (c *Client) CapRate(n int) (map[string][]float64, error)
- func (c *Client) Config() (map[string]interface{}, error)
- func (c *Client) EstimateFee(n int) (interface{}, error)
- func (c *Client) MempoolSize(n int) (map[string][]float64, error)
- func (c *Client) MempoolState() (*col.MempoolState, error)
- func (c *Client) Metrics() (map[string]interface{}, error)
- func (c *Client) Pause() error
- func (c *Client) Scores() (map[string][]float64, error)
- func (c *Client) SetDebug(d bool) error
- func (c *Client) Status() (map[string]string, error)
- func (c *Client) Stop() error
- func (c *Client) TxRate(n int) (map[string][]float64, error)
- func (c *Client) Unpause() error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BlockSource ¶
func (*Client) EstimateFee ¶
func (*Client) MempoolState ¶
func (c *Client) MempoolState() (*col.MempoolState, error)
Click to show internal directories.
Click to hide internal directories.