client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TinymanClient

type TinymanClient struct {
	ValidatorAppId int

	UserAddress string
	// contains filtered or unexported fields
}

func NewTinymanClient

func NewTinymanClient(algodClientURL, indexerClientURL string, validatorAppId int, userAddress string) (tinymanClient *TinymanClient, err error)

func NewTinymanMainnetClient

func NewTinymanMainnetClient(algodClientURL, indexerClientURL, userAddress string) (tinymanClient *TinymanClient, err error)

func NewTinymanTestnetClient

func NewTinymanTestnetClient(algodClientURL, indexerClientURL, userAddress string) (tinymanClient *TinymanClient, err error)

func (*TinymanClient) AccountInformation

func (s *TinymanClient) AccountInformation(address string) (response models.Account, err error)

not compatible with go-mobile

func (*TinymanClient) AssetIsOptedIn

func (s *TinymanClient) AssetIsOptedIn(assetID int, userAddress string) (bool, error)

func (*TinymanClient) FetchAsset

func (s *TinymanClient) FetchAsset(assetID int) (asset *assets.Asset, err error)

func (*TinymanClient) FetchExcessAmounts

func (s *TinymanClient) FetchExcessAmounts(userAddress string) (excessAmountsStr string, err error)

func (*TinymanClient) IsOptedIn

func (s *TinymanClient) IsOptedIn(userAddress string) (bool, error)

func (*TinymanClient) LookupAccountByID

func (s *TinymanClient) LookupAccountByID(address string) (validRound uint64, result models.Account, err error)

not compatible with go-mobile

func (*TinymanClient) PrepareAppOptinTransactions

func (s *TinymanClient) PrepareAppOptinTransactions(userAddress string) (txnGroup *utils.TransactionGroup, err error)

func (*TinymanClient) PrepareAssetOptinTransactions

func (s *TinymanClient) PrepareAssetOptinTransactions(assetID int, userAddress string) (txnGroup *utils.TransactionGroup, err error)

func (*TinymanClient) Submit

func (s *TinymanClient) Submit(transactionGroup *utils.TransactionGroup, wait bool) (trxInfo *types.TrxInfo, err error)

func (*TinymanClient) SuggestedParams

func (s *TinymanClient) SuggestedParams() (params algoTypes.SuggestedParams, err error)

not compatible with go-mobile

Jump to

Keyboard shortcuts

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