stellar

package
v0.0.0-...-24d0fbb Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultLimit      = 20
	MTLAPAsset        = "MTLAP"
	MTLAPIssuer       = "GCNVDZIHGX473FEI7IXCUAEXUJ4BGCKEMHF36VYP5EMS7PX2QBLAMTLA"
	MTLAPAssetRequest = "MTLAP:GCNVDZIHGX473FEI7IXCUAEXUJ4BGCKEMHF36VYP5EMS7PX2QBLAMTLA"
	EURMTLAsset       = "EURMTL"
	EURMTLIssuer      = "GACKTN5DAZGWXRWB2WLM6OPBDHAMT6SJNGLJZPQMEZBUR4JUGBX2UK7V"
	TagRecommend      = "RecommendToMTLA"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cl horizonclient.ClientInterface) *Client

func (*Client) AccountDetail

func (c *Client) AccountDetail(accountID string) (horizon.Account, error)

func (*Client) Balance

func (c *Client) Balance(ctx context.Context, accountID, asset, issuer string) (string, error)

func (*Client) Recommenders

func (c *Client) Recommenders(ctx context.Context) (*mlm.RecommendersFetchResult, error)

func (*Client) SubmitXDR

func (c *Client) SubmitXDR(ctx context.Context, seed, xdr string) (string, error)

Jump to

Keyboard shortcuts

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