Documentation ¶
Index ¶
- func Balances(ctx context.Context, g *libkb.GlobalContext, accountID stellar1.AccountID) ([]stellar1.Balance, error)
- func CreateWallet(ctx context.Context, g *libkb.GlobalContext) (created bool, err error)
- func Dump(ctx context.Context, g *libkb.GlobalContext) (res stellar1.Bundle, err error)
- func ImportSecretKey(ctx context.Context, g *libkb.GlobalContext, secretKey stellar1.SecretKey, ...) (err error)
- func OwnAccount(ctx context.Context, g *libkb.GlobalContext, accountID stellar1.AccountID) (isOwn bool, err error)
- func Send(ctx context.Context, g *libkb.GlobalContext, arg stellar1.SendLocalArg) (stellar1.PaymentResult, error)
- type Recipient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateWallet ¶
CreateWallet creates and posts an initial stellar bundle for a user. Only succeeds if they do not already have one. Safe to call even if the user has a bundle already.
func ImportSecretKey ¶ added in v1.0.47
func OwnAccount ¶ added in v1.0.47
func Send ¶ added in v1.0.47
func Send(ctx context.Context, g *libkb.GlobalContext, arg stellar1.SendLocalArg) (stellar1.PaymentResult, error)
Types ¶
type Recipient ¶ added in v1.0.47
type Recipient struct { Input string User *libkb.User AccountID stellarnet.AddressStr }
Click to show internal directories.
Click to hide internal directories.