minter_node_go_api

package module
v1.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2019 License: MIT Imports: 9 Imported by: 12

README

License undefined

Minter Node API

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MinterNodeApi

type MinterNodeApi struct {
	// contains filtered or unexported fields
}

func New

func New(link string) *MinterNodeApi

func NewWithFallbackRetries added in v1.3.2

func NewWithFallbackRetries(link string, fallbackRetries int, fallbackTimeout time.Duration) *MinterNodeApi

func (*MinterNodeApi) GetAddress

func (api *MinterNodeApi) GetAddress(address string) (*responses.AddressResponse, error)

func (*MinterNodeApi) GetAddresses

func (api *MinterNodeApi) GetAddresses(addresses []string, height uint64) (*responses.BalancesResponse, error)

func (*MinterNodeApi) GetBlock

func (api *MinterNodeApi) GetBlock(height uint64) (*responses.BlockResponse, error)

func (*MinterNodeApi) GetBlockEvents

func (api *MinterNodeApi) GetBlockEvents(height uint64) (*responses.EventsResponse, error)

func (*MinterNodeApi) GetBlockValidators

func (api *MinterNodeApi) GetBlockValidators(height uint64) (*responses.ValidatorsResponse, error)

func (*MinterNodeApi) GetCandidate

func (api *MinterNodeApi) GetCandidate(pubKey string, height uint64) (*responses.CandidateResponse, error)

func (*MinterNodeApi) GetCandidates

func (api *MinterNodeApi) GetCandidates(height uint64, stakes bool) (*responses.BlockCandidatesResponse, error)

func (*MinterNodeApi) GetCoinInfo

func (api *MinterNodeApi) GetCoinInfo(symbol string) (*responses.CoinInfoResponse, error)

func (*MinterNodeApi) GetEstimateCoinBuy

func (api *MinterNodeApi) GetEstimateCoinBuy(coinToSell string, coinToBuy string, value string) (*responses.EstimateCoinBuyResponse, error)

func (*MinterNodeApi) GetEstimateCoinSell

func (api *MinterNodeApi) GetEstimateCoinSell(coinToSell string, coinToBuy string, value string, height uint64) (*responses.EstimateCoinSellResponse, error)

func (*MinterNodeApi) GetEstimateCoinSellAll

func (api *MinterNodeApi) GetEstimateCoinSellAll(coinToSell string, coinToBuy string, value string, gasPrice string) (*responses.EstimateCoinSellAllResponse, error)

func (*MinterNodeApi) GetEstimateTx

func (api *MinterNodeApi) GetEstimateTx(tx string) (*responses.EstimateTxResponse, error)
func (api *MinterNodeApi) GetLink() string

func (*MinterNodeApi) GetMinGasPrice

func (api *MinterNodeApi) GetMinGasPrice() (*responses.GasResponse, error)

func (*MinterNodeApi) GetStatus

func (api *MinterNodeApi) GetStatus() (*responses.StatusResponse, error)

func (*MinterNodeApi) GetTransaction added in v1.3.0

func (api *MinterNodeApi) GetTransaction(hash string) (*responses.TransactionResponse, error)

func (*MinterNodeApi) GetTransactionsByQuery added in v1.3.0

func (api *MinterNodeApi) GetTransactionsByQuery(query string) (*responses.TransactionsResponse, error)

func (*MinterNodeApi) PushTransaction

func (api *MinterNodeApi) PushTransaction(tx string) (*responses.SendTransactionResponse, error)

func (*MinterNodeApi) SetHttpClient added in v1.3.5

func (api *MinterNodeApi) SetHttpClient(client *fasthttp.Client)
func (api *MinterNodeApi) SetLink(link string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL