# Functions
NewBalance creates a new balance with the given amounts.
NewBaseAccount creates a new Account instance.
NewFeeTargetCode checks if the code is valid and returns a FeeTargetCode in that case.
NewOrderedTransactions sorts the transactions from newest to oldest.
# Constants
DefaultFeeTarget is the default fee target.
DefaultMempoolFeeTarget is the default fee target for mempool fees.
FeeTargetCodeCustom means that the actual feerate is supplied separately instead of being estimated automatically.
FeeTargetCodeEconomy is the economy priority fee target.
FeeTargetCodeHigh is the high priority fee target.
FeeTargetCodeLow is the low priority fee target.
FeeTargetCodeMempoolFastest is the mempool highest priority fee target.
FeeTargetCodeMempoolHalfHour is the mempool half hour fee target.
FeeTargetCodeMempoolHour is the mempool hour fee target.
FeeTargetCodeNormal is the normal priority fee target.
TxStatusComplete means the tx is complete, depending on the number of confirmations needed for the respective coin.
TxStatusFailed means the tx is confirmed but considered failed, e.g.
TxStatusPending means the tx is unconfirmed.
TxTypeReceive is a tx which sends funds to our account.
TxTypeSend is a tx which sends funds out of our account.
TxTypeSendSelf is a tx from out account to our account.
# Structs
AccountConfig holds account configuration.
AddressAndAmount holds an address and the corresponding amount.
AddressList is a list of addresses.
Balance contains the available and incoming balance of an account.
BaseAccount is an account struct with common functionality to all coin accounts.
Info holds account information.
MempoolSpaceFees contains mempool.space recommended fees API response (https://mempool.space/docs/api/rest#get-recommended-fees).
PaymentRequest contains the data needed to fulfill a slip-0024 payment request.
TextMemo represents a slip-0024 text memo.
TimeseriesEntry contains the balance of the account at the given time.
TransactionData holds transaction data to be shown to the user.
TxProposalArgs are the arguments needed when creating a tx proposal.
# Type aliases
FeeTargetCode models the code of a fee target.
OrderedTransactions is a list of transactions sorted from newest to oldest.
TxStatus is the status of the tx and helps the frontend show the appropriate information.
TxType is a type of transaction.