Documentation ¶
Index ¶
- type CoinEstimate
- type MinterGate
- func (mg *MinterGate) EstimateCoinBuy(coinToSell string, coinToBuy string, value string) (*CoinEstimate, error)
- func (mg *MinterGate) EstimateCoinSell(coinToSell string, coinToBuy string, value string) (*CoinEstimate, error)
- func (mg *MinterGate) EstimateTxCommission(transaction string) (*string, error)
- func (mg *MinterGate) GetActiveNodes() []models.MinterNode
- func (mg *MinterGate) GetMinGas() (*string, error)
- func (mg *MinterGate) GetNonce(address string) (*string, error)
- func (mg MinterGate) TxPush(transaction string) (*string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoinEstimate ¶
type MinterGate ¶
type MinterGate struct {
// contains filtered or unexported fields
}
func (*MinterGate) EstimateCoinBuy ¶
func (mg *MinterGate) EstimateCoinBuy(coinToSell string, coinToBuy string, value string) (*CoinEstimate, error)
Return estimate of buy coin
func (*MinterGate) EstimateCoinSell ¶
func (mg *MinterGate) EstimateCoinSell(coinToSell string, coinToBuy string, value string) (*CoinEstimate, error)
Return estimate of sell coin
func (*MinterGate) EstimateTxCommission ¶
func (mg *MinterGate) EstimateTxCommission(transaction string) (*string, error)
Return estimate of transaction
func (*MinterGate) GetActiveNodes ¶
func (mg *MinterGate) GetActiveNodes() []models.MinterNode
func (*MinterGate) GetMinGas ¶
func (mg *MinterGate) GetMinGas() (*string, error)
Return nonce for address
Click to show internal directories.
Click to hide internal directories.