# README
Xlm
Package xlm contains all the packages that are exclusive to the Stellar Lumens Network.
# 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
No description provided by the author
No description provided by the author
# Functions
AccountExists checks whether an account exists.
FreezeAccount freezes an account.
GetAccountData gets the account data.
GetAllBalances gets all the balances associated with a certain account.
GetAssetBalance gets the balance of the user in the specific asset.
GetAssetTrustLimit gets the trust limit that the user has with an issuer.
GetBlockHash gets the block hash corresponding to a block number.
GetKeyPair gets a keypair that can be used to interact with the stellar blockchain.
GetLatestBlock fetches the latest block from the blockchain.
GetLatestBlockHash gets the lastest block hash.
GetLedgerData gets the latest data from the ledger.
GetNativeBalance gets the xlm balance of a specific account.
GetTransactionData gets tx data.
GetTransactionHeight gets height at which a tx was confirmed.
GetXLM makes an API call to the stellar friendbot, which gives 10000 testnet XLM.
HasStableCoin checks whether the PublicKey has a stablecoin balance.
RefillAccount refills an account.
ReturnSourceAccount returns the source account of the seed.
ReturnSourceAccountPubkey returns the source account of the pubkey.
SendTx signs and broadcasts a given stellar tx.
SendXLM sends xlm to a destination address.
SendXLMCreateAccount creates and sends XLM to a new account.
SetAuthImmutable sets the auth_immutable flag on an account.
SetConsts XLM consts.
# Variables
Mainnet is a bool which decides which chain to connect to.
Passphrase defines the stellar network passphrase.
RefillAmount defines the default stellar refill amount.
TestNetClient defines the horizon client to connect to.