package
4.3.2+incompatible
Repository: https://github.com/qbit/client.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
this file is for the implementation of all the frontend-requested service endpoints for wallets.

# Functions

AccountDetails gets stellar1.AccountDetails for accountID.
No description provided by the author
AccountExchangeRate returns the exchange rate for an account for the logged in user.
No description provided by the author
No description provided by the author
No description provided by the author
AssetSliceToAssetBase converts []stellar1.Asset to []stellarnet.AssetBase.
Batch sends a batch of payments from the user to multiple recipients in a time-efficient manner.
BatchMulti sends a batch of payments from the user to multiple recipients in a single multi-operation transaction.
No description provided by the author
No description provided by the author
ChangeAccountName changes the name of an account.
No description provided by the author
Claim claims a waiting relay.
No description provided by the author
CreateWallet creates and posts an initial stellar bundle for a user.
CreateWalletGated may create a wallet for the user.
CreateWalletSoft creates a user's initial wallet if they don't already have one.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Example: "157.5000000 XLM" Example: "12.9000000 USD" (where USD is a non-native asset issued by someone).
FormatAmountDescriptionAssetEx is a more verbose version of FormatAmountDescriptionAsset.
FormatAmountDescriptionAssetEx2 is like FormatAmountDescriptionAssetEx, except that it only shows one of issuer domain and issuer account ID.
Example: "157.5000000 XLM".
No description provided by the author
FormatAssetIssuerString returns "Unknown issuer" if asset does not have a verified domain, or returns asset verified domain if it does (e.g.
No description provided by the author
FormatCurrencyWithCodeSuffix will return a fiat currency amount formatted with its currency code suffix at the end, like "$123.12 CLP".
No description provided by the author
GetAccountDisplayCurrency gets currency setting from the server, and it returned currency is empty (NULL in database), then default "USD" is used.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LookupRecipient finds a recipient.
No description provided by the author
No description provided by the author
No description provided by the author
Lookup a user who has the stellar account ID.
No description provided by the author
No description provided by the author
No description provided by the author
NewClaimSeqnoProvider creates a ClaimSeqnoProvider for use in relay claims.
No description provided by the author
No description provided by the author
NewOwnAccountLookupCache fetches the list of accounts in the background and stores them.
NewSeqnoProvider creates a SeqnoProvider.
No description provided by the author
No description provided by the author
NewWalletState creates a wallet state with a remoter that will be used for any network calls.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PathPaymentTx reutrns a signed path payment tx.
No description provided by the author
PrepareBatchPayments prepares a list of payments to be submitted.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SendMiniChatPayments sends multiple payments from one sender to multiple different recipients as fast as it can.
SendPathPaymentCLI sends a path payment from CLI.
SendPathPaymentGUI sends a path payment from GUI.
SendPaymentCLI sends XLM from CLI.
SendPaymentGUI sends XLM from GUI.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SpecMiniChatPayments returns a summary of the payment amounts for each recipient and a total.
No description provided by the author
No description provided by the author
Subtract baseFee from the available balance.
TransformPaymentSummaryAccount converts a stellar1.PaymentSummary (p) into a stellar1.PaymentLocal, from the perspective of an owner of accountID.
TransformPaymentSummaryGeneric converts a stellar1.PaymentSummary (p) into a stellar1.PaymentLocal, without any modifications based on who is viewing the transaction.
No description provided by the author
TransformToAirdropStatus takes the result from api server status_check and transforms it into stellar1.AirdropStatus.
Upkeep makes sure the bundle is encrypted for the user's latest PUK.
WalletAccount returns stellar1.WalletAccountLocal for accountID.

# Constants

No description provided by the author
No description provided by the author

# Variables

ErrAccountNotFound is returned when the account is not in WalletState's accounts map.
ErrRefreshQueueFull is returned when the refresh queue is clogged up.

# Structs

No description provided by the author
AccountState holds the current data for a stellar account.
Claims relay payments in the background.
ClaimSeqnoProvider is a build.SequenceProvider for relay claims.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Options holds dynamic options for clients to use when preparing stellar transactions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SeqnoProvider implements build.SequenceProvider.
No description provided by the author
Threadsafe cache with expiration and singleflighting.
WalletState holds all the current data for all the accounts for the user.

# Interfaces

BuildPaymentCache has helpers for getting information quickly when building a payment.
Short-lived cache for looking up whether the logged-in user owns accounts.