client

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Api  *gsrpc.SubstrateAPI
	Meta *types.Metadata

	Network uint16
	// contains filtered or unexported fields
}

func NewClient

func NewClient(endpoint string, opts ...Option) (*Client, error)

type Option

type Option func(*Client)

func WithKeyring

func WithKeyring(keyring *signature.KeyringPair) Option

func WithNetwork

func WithNetwork(network uint16) Option

Jump to

Keyboard shortcuts

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