unisat

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package unisat 提供 Unisat Open API 费率扩展

Index

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
}

Client Unisat 费率客户端

func New

func New(cfg Config) (*Client, error)

New 创建 Unisat 客户端

func (*Client) GetRecommendedFees

func (c *Client) GetRecommendedFees(ctx context.Context) (types.RecommendedFees, error)

GetRecommendedFees 获取推荐费率(sat/vB)

func (*Client) Name

func (c *Client) Name() string

type Config

type Config struct {
	BaseURL string
	APIKey  string
	Timeout int // 秒
}

Config Unisat API 配置

Jump to

Keyboard shortcuts

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