tonx

package
v0.0.0-...-4fb02c9 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetShardID

func GetShardID(shard *ton.BlockIDExt) string

GetShardID is used to get the shard id

Types

type Client

type Client struct {
	*liteclient.ConnectionPool
	mock.Mock

	Config *liteclient.GlobalConfig
}

Client is a struct that represents the API client.

func NewClient

func NewClient(options Options) (*Client, error)

NewClient is a function that creates a new API client.

type Options

type Options struct {
	Network string `json:"network" yaml:"network"`
}

Options is a struct that represents the options of the API client.

Jump to

Keyboard shortcuts

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