Documentation ¶
Index ¶
- type TinymanClient
- func NewTinymanClient(algodClientURL, indexerClientURL string, validatorAppId int, ...) (tinymanClient *TinymanClient, err error)
- func NewTinymanMainnetClient(algodClientURL, indexerClientURL, userAddress string) (tinymanClient *TinymanClient, err error)
- func NewTinymanTestnetClient(algodClientURL, indexerClientURL, userAddress string) (tinymanClient *TinymanClient, err error)
- func (s *TinymanClient) AccountInformation(address string) (response models.Account, err error)
- func (s *TinymanClient) AssetIsOptedIn(assetID int, userAddress string) (bool, error)
- func (s *TinymanClient) FetchAsset(assetID int) (asset *assets.Asset, err error)
- func (s *TinymanClient) FetchExcessAmounts(userAddress string) (excessAmountsStr string, err error)
- func (s *TinymanClient) IsOptedIn(userAddress string) (bool, error)
- func (s *TinymanClient) LookupAccountByID(address string) (validRound uint64, result models.Account, err error)
- func (s *TinymanClient) PrepareAppOptinTransactions(userAddress string) (txnGroup *utils.TransactionGroup, err error)
- func (s *TinymanClient) PrepareAssetOptinTransactions(assetID int, userAddress string) (txnGroup *utils.TransactionGroup, err error)
- func (s *TinymanClient) Submit(transactionGroup *utils.TransactionGroup, wait bool) (trxInfo *types.TrxInfo, err error)
- func (s *TinymanClient) SuggestedParams() (params algoTypes.SuggestedParams, err error)
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
Click to show internal directories.
Click to hide internal directories.