Documentation
¶
Index ¶
- type MultiversxApiService
- type MultiversxService
- func (m MultiversxService) CreateSwapTokensFixedInput(pemPath string, contract string, fromToken string, amount decimal.Decimal, ...) (core.SwapResult, error)
- func (m MultiversxService) CreateWallet(folderPath string, password string) (core.Wallet, error)
- func (m MultiversxService) GetAccount(address string) (float64, error)
- func (m MultiversxService) GetContractStatus(hash string) (string, error)
- func (m MultiversxService) GetTrxStatus(hash string) (string, error)
- func (m MultiversxService) SendTransactions(pemPath string, to []string, amount decimal.Decimal, dataStr string) ([]string, error)
- func (m MultiversxService) SwapTokensFixedInputData(fromToken string, amount decimal.Decimal, toToken string, ...) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiversxApiService ¶
type MultiversxApiService struct {
ApiUrl string
}
func (MultiversxApiService) GetAccountToken ¶
func (MultiversxApiService) GetTokensPrice ¶
func (m MultiversxApiService) GetTokensPrice(token string) (core.TokenApi, error)
type MultiversxService ¶
type MultiversxService struct {
ProxyUrl string
}
func (MultiversxService) CreateSwapTokensFixedInput ¶
func (MultiversxService) CreateWallet ¶
Function for create a single wallet, returning a struct
func (MultiversxService) GetAccount ¶
func (m MultiversxService) GetAccount(address string) (float64, error)
func (MultiversxService) GetContractStatus ¶
func (m MultiversxService) GetContractStatus(hash string) (string, error)
func (MultiversxService) GetTrxStatus ¶
func (m MultiversxService) GetTrxStatus(hash string) (string, error)
func (MultiversxService) SendTransactions ¶
func (MultiversxService) SwapTokensFixedInputData ¶
Click to show internal directories.
Click to hide internal directories.