Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) AccountDetail(accountID string) (horizon.Account, error)
- func (c *Client) Balance(ctx context.Context, accountID, asset, issuer string) (string, error)
- func (c *Client) Recommenders(ctx context.Context) (*mlm.RecommendersFetchResult, error)
- func (c *Client) SubmitXDR(ctx context.Context, seed, xdr string) (string, error)
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 (*Client) Recommenders ¶
Click to show internal directories.
Click to hide internal directories.