Documentation ¶
Index ¶
- Variables
- func CreatePaymentTransaction(gClient gasserviceclient.Client, sender string, receiver string, ...) (*b.TransactionBuilder, error)
- func GetAssets(accountAddress string, prclient pr_client.PRServiceClient) ([]*model.Asset, error)
- func GetTrustedWWAssets(accountAddress string, prclient pr_client.PRServiceClient) ([]*model.Asset, error)
- func SubmitPaymentTransaction(gClient gasserviceclient.Client, sourceAccount string, ...) (hash string, ledger uint64, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var LOGGER = logging.MustGetLogger("utility")
Functions ¶
func CreatePaymentTransaction ¶
func CreatePaymentTransaction(gClient gasserviceclient.Client, sender string, receiver string, assetCode string, assetIssuer string, amount float64) (*b.TransactionBuilder, error)
func GetAssets ¶
GetAssets : This function combines the list of requested as well as trusted(allowed trust) assets by an account
func GetTrustedWWAssets ¶
func GetTrustedWWAssets(accountAddress string, prclient pr_client.PRServiceClient) ([]*model.Asset, error)
GetTrustedWWAssets : Gets account information from stellar and parses trusted assets to return
func SubmitPaymentTransaction ¶
func SubmitPaymentTransaction(gClient gasserviceclient.Client, sourceAccount string, tx *b.TransactionBuilder, cClient crypto_client.CryptoServiceClient) (hash string, ledger uint64, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.