Documentation
¶
Index ¶
- type AddressDefault
- type AddressOK
- type AddressParams
- func (o *AddressParams) SetAddress(address string)
- func (o *AddressParams) SetContext(ctx context.Context)
- func (o *AddressParams) SetDelegated(delegated *bool)
- func (o *AddressParams) SetHTTPClient(client *http.Client)
- func (o *AddressParams) SetHeight(height *uint64)
- func (o *AddressParams) SetTimeout(timeout time.Duration)
- func (o *AddressParams) WithAddress(address string) *AddressParams
- func (o *AddressParams) WithContext(ctx context.Context) *AddressParams
- func (o *AddressParams) WithDelegated(delegated *bool) *AddressParams
- func (o *AddressParams) WithHTTPClient(client *http.Client) *AddressParams
- func (o *AddressParams) WithHeight(height *uint64) *AddressParams
- func (o *AddressParams) WithTimeout(timeout time.Duration) *AddressParams
- func (o *AddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddressReader
- type AddressesDefault
- type AddressesOK
- type AddressesParams
- func (o *AddressesParams) SetAddresses(addresses []string)
- func (o *AddressesParams) SetContext(ctx context.Context)
- func (o *AddressesParams) SetDelegated(delegated *bool)
- func (o *AddressesParams) SetHTTPClient(client *http.Client)
- func (o *AddressesParams) SetHeight(height *uint64)
- func (o *AddressesParams) SetTimeout(timeout time.Duration)
- func (o *AddressesParams) WithAddresses(addresses []string) *AddressesParams
- func (o *AddressesParams) WithContext(ctx context.Context) *AddressesParams
- func (o *AddressesParams) WithDelegated(delegated *bool) *AddressesParams
- func (o *AddressesParams) WithHTTPClient(client *http.Client) *AddressesParams
- func (o *AddressesParams) WithHeight(height *uint64) *AddressesParams
- func (o *AddressesParams) WithTimeout(timeout time.Duration) *AddressesParams
- func (o *AddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddressesReader
- type BlockDefault
- type BlockOK
- type BlockParams
- func (o *BlockParams) SetContext(ctx context.Context)
- func (o *BlockParams) SetFields(fields []string)
- func (o *BlockParams) SetHTTPClient(client *http.Client)
- func (o *BlockParams) SetHeight(height string)
- func (o *BlockParams) SetTimeout(timeout time.Duration)
- func (o *BlockParams) WithContext(ctx context.Context) *BlockParams
- func (o *BlockParams) WithFields(fields []string) *BlockParams
- func (o *BlockParams) WithHTTPClient(client *http.Client) *BlockParams
- func (o *BlockParams) WithHeight(height string) *BlockParams
- func (o *BlockParams) WithTimeout(timeout time.Duration) *BlockParams
- func (o *BlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BlockReader
- type CandidateDefault
- type CandidateOK
- type CandidateParams
- func (o *CandidateParams) SetContext(ctx context.Context)
- func (o *CandidateParams) SetHTTPClient(client *http.Client)
- func (o *CandidateParams) SetHeight(height *uint64)
- func (o *CandidateParams) SetNotShowStakes(notShowStakes *bool)
- func (o *CandidateParams) SetPublicKey(publicKey string)
- func (o *CandidateParams) SetTimeout(timeout time.Duration)
- func (o *CandidateParams) WithContext(ctx context.Context) *CandidateParams
- func (o *CandidateParams) WithHTTPClient(client *http.Client) *CandidateParams
- func (o *CandidateParams) WithHeight(height *uint64) *CandidateParams
- func (o *CandidateParams) WithNotShowStakes(notShowStakes *bool) *CandidateParams
- func (o *CandidateParams) WithPublicKey(publicKey string) *CandidateParams
- func (o *CandidateParams) WithTimeout(timeout time.Duration) *CandidateParams
- func (o *CandidateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CandidateReader
- type CandidatesDefault
- type CandidatesOK
- type CandidatesParams
- func (o *CandidatesParams) SetContext(ctx context.Context)
- func (o *CandidatesParams) SetHTTPClient(client *http.Client)
- func (o *CandidatesParams) SetHeight(height *uint64)
- func (o *CandidatesParams) SetIncludeStakes(includeStakes *bool)
- func (o *CandidatesParams) SetNotShowStakes(notShowStakes *bool)
- func (o *CandidatesParams) SetStatus(status *string)
- func (o *CandidatesParams) SetTimeout(timeout time.Duration)
- func (o *CandidatesParams) WithContext(ctx context.Context) *CandidatesParams
- func (o *CandidatesParams) WithHTTPClient(client *http.Client) *CandidatesParams
- func (o *CandidatesParams) WithHeight(height *uint64) *CandidatesParams
- func (o *CandidatesParams) WithIncludeStakes(includeStakes *bool) *CandidatesParams
- func (o *CandidatesParams) WithNotShowStakes(notShowStakes *bool) *CandidatesParams
- func (o *CandidatesParams) WithStatus(status *string) *CandidatesParams
- func (o *CandidatesParams) WithTimeout(timeout time.Duration) *CandidatesParams
- func (o *CandidatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CandidatesReader
- type Client
- func (a *Client) Address(params *AddressParams) (*AddressOK, error)
- func (a *Client) Addresses(params *AddressesParams) (*AddressesOK, error)
- func (a *Client) Block(params *BlockParams) (*BlockOK, error)
- func (a *Client) Candidate(params *CandidateParams) (*CandidateOK, error)
- func (a *Client) Candidates(params *CandidatesParams) (*CandidatesOK, error)
- func (a *Client) CoinInfo(params *CoinInfoParams) (*CoinInfoOK, error)
- func (a *Client) CoinInfoByID(params *CoinInfoByIDParams) (*CoinInfoByIDOK, error)
- func (a *Client) EstimateCoinBuy(params *EstimateCoinBuyParams) (*EstimateCoinBuyOK, error)
- func (a *Client) EstimateCoinSell(params *EstimateCoinSellParams) (*EstimateCoinSellOK, error)
- func (a *Client) EstimateCoinSellAll(params *EstimateCoinSellAllParams) (*EstimateCoinSellAllOK, error)
- func (a *Client) EstimateTxCommission(params *EstimateTxCommissionParams) (*EstimateTxCommissionOK, error)
- func (a *Client) Events(params *EventsParams) (*EventsOK, error)
- func (a *Client) Frozen(params *FrozenParams) (*FrozenOK, error)
- func (a *Client) Genesis(params *GenesisParams) (*GenesisOK, error)
- func (a *Client) Halts(params *HaltsParams) (*HaltsOK, error)
- func (a *Client) MaxGasPrice(params *MaxGasPriceParams) (*MaxGasPriceOK, error)
- func (a *Client) MinGasPrice(params *MinGasPriceParams) (*MinGasPriceOK, error)
- func (a *Client) MissedBlocks(params *MissedBlocksParams) (*MissedBlocksOK, error)
- func (a *Client) NetInfo(params *NetInfoParams) (*NetInfoOK, error)
- func (a *Client) SendTransaction(params *SendTransactionParams) (*SendTransactionOK, error)
- func (a *Client) SendTransaction2(params *SendTransaction2Params) (*SendTransaction2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Status(params *StatusParams) (*StatusOK, error)
- func (a *Client) Subscribe(params *SubscribeParams) (*SubscribeOK, error)
- func (a *Client) TestBlock(params *TestBlockParams) (*TestBlockOK, error)
- func (a *Client) Transaction(params *TransactionParams) (*TransactionOK, error)
- func (a *Client) Transactions(params *TransactionsParams) (*TransactionsOK, error)
- func (a *Client) UnconfirmedTxs(params *UnconfirmedTxsParams) (*UnconfirmedTxsOK, error)
- func (a *Client) Validators(params *ValidatorsParams) (*ValidatorsOK, error)
- func (a *Client) WaitList(params *WaitListParams) (*WaitListOK, error)
- type ClientService
- type CoinInfoByIDDefault
- type CoinInfoByIDOK
- type CoinInfoByIDParams
- func (o *CoinInfoByIDParams) SetContext(ctx context.Context)
- func (o *CoinInfoByIDParams) SetHTTPClient(client *http.Client)
- func (o *CoinInfoByIDParams) SetHeight(height *uint64)
- func (o *CoinInfoByIDParams) SetID(id string)
- func (o *CoinInfoByIDParams) SetTimeout(timeout time.Duration)
- func (o *CoinInfoByIDParams) WithContext(ctx context.Context) *CoinInfoByIDParams
- func (o *CoinInfoByIDParams) WithHTTPClient(client *http.Client) *CoinInfoByIDParams
- func (o *CoinInfoByIDParams) WithHeight(height *uint64) *CoinInfoByIDParams
- func (o *CoinInfoByIDParams) WithID(id string) *CoinInfoByIDParams
- func (o *CoinInfoByIDParams) WithTimeout(timeout time.Duration) *CoinInfoByIDParams
- func (o *CoinInfoByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CoinInfoByIDReader
- type CoinInfoDefault
- type CoinInfoOK
- type CoinInfoParams
- func (o *CoinInfoParams) SetContext(ctx context.Context)
- func (o *CoinInfoParams) SetHTTPClient(client *http.Client)
- func (o *CoinInfoParams) SetHeight(height *uint64)
- func (o *CoinInfoParams) SetSymbol(symbol string)
- func (o *CoinInfoParams) SetTimeout(timeout time.Duration)
- func (o *CoinInfoParams) WithContext(ctx context.Context) *CoinInfoParams
- func (o *CoinInfoParams) WithHTTPClient(client *http.Client) *CoinInfoParams
- func (o *CoinInfoParams) WithHeight(height *uint64) *CoinInfoParams
- func (o *CoinInfoParams) WithSymbol(symbol string) *CoinInfoParams
- func (o *CoinInfoParams) WithTimeout(timeout time.Duration) *CoinInfoParams
- func (o *CoinInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CoinInfoReader
- type EstimateCoinBuyDefault
- type EstimateCoinBuyOK
- type EstimateCoinBuyParams
- func NewEstimateCoinBuyParams() *EstimateCoinBuyParams
- func NewEstimateCoinBuyParamsWithContext(ctx context.Context) *EstimateCoinBuyParams
- func NewEstimateCoinBuyParamsWithHTTPClient(client *http.Client) *EstimateCoinBuyParams
- func NewEstimateCoinBuyParamsWithTimeout(timeout time.Duration) *EstimateCoinBuyParams
- func (o *EstimateCoinBuyParams) SetCoinIDToBuy(coinIDToBuy *uint64)
- func (o *EstimateCoinBuyParams) SetCoinIDToSell(coinIDToSell *uint64)
- func (o *EstimateCoinBuyParams) SetCoinToBuy(coinToBuy *string)
- func (o *EstimateCoinBuyParams) SetCoinToSell(coinToSell *string)
- func (o *EstimateCoinBuyParams) SetContext(ctx context.Context)
- func (o *EstimateCoinBuyParams) SetHTTPClient(client *http.Client)
- func (o *EstimateCoinBuyParams) SetHeight(height *uint64)
- func (o *EstimateCoinBuyParams) SetTimeout(timeout time.Duration)
- func (o *EstimateCoinBuyParams) SetValueToBuy(valueToBuy string)
- func (o *EstimateCoinBuyParams) WithCoinIDToBuy(coinIDToBuy *uint64) *EstimateCoinBuyParams
- func (o *EstimateCoinBuyParams) WithCoinIDToSell(coinIDToSell *uint64) *EstimateCoinBuyParams
- func (o *EstimateCoinBuyParams) WithCoinToBuy(coinToBuy *string) *EstimateCoinBuyParams
- func (o *EstimateCoinBuyParams) WithCoinToSell(coinToSell *string) *EstimateCoinBuyParams
- func (o *EstimateCoinBuyParams) WithContext(ctx context.Context) *EstimateCoinBuyParams
- func (o *EstimateCoinBuyParams) WithHTTPClient(client *http.Client) *EstimateCoinBuyParams
- func (o *EstimateCoinBuyParams) WithHeight(height *uint64) *EstimateCoinBuyParams
- func (o *EstimateCoinBuyParams) WithTimeout(timeout time.Duration) *EstimateCoinBuyParams
- func (o *EstimateCoinBuyParams) WithValueToBuy(valueToBuy string) *EstimateCoinBuyParams
- func (o *EstimateCoinBuyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EstimateCoinBuyReader
- type EstimateCoinSellAllDefault
- type EstimateCoinSellAllOK
- type EstimateCoinSellAllParams
- func NewEstimateCoinSellAllParams() *EstimateCoinSellAllParams
- func NewEstimateCoinSellAllParamsWithContext(ctx context.Context) *EstimateCoinSellAllParams
- func NewEstimateCoinSellAllParamsWithHTTPClient(client *http.Client) *EstimateCoinSellAllParams
- func NewEstimateCoinSellAllParamsWithTimeout(timeout time.Duration) *EstimateCoinSellAllParams
- func (o *EstimateCoinSellAllParams) SetCoinIDToBuy(coinIDToBuy *uint64)
- func (o *EstimateCoinSellAllParams) SetCoinIDToSell(coinIDToSell *uint64)
- func (o *EstimateCoinSellAllParams) SetCoinToBuy(coinToBuy *string)
- func (o *EstimateCoinSellAllParams) SetCoinToSell(coinToSell *string)
- func (o *EstimateCoinSellAllParams) SetContext(ctx context.Context)
- func (o *EstimateCoinSellAllParams) SetGasPrice(gasPrice *uint64)
- func (o *EstimateCoinSellAllParams) SetHTTPClient(client *http.Client)
- func (o *EstimateCoinSellAllParams) SetHeight(height *uint64)
- func (o *EstimateCoinSellAllParams) SetTimeout(timeout time.Duration)
- func (o *EstimateCoinSellAllParams) SetValueToSell(valueToSell string)
- func (o *EstimateCoinSellAllParams) WithCoinIDToBuy(coinIDToBuy *uint64) *EstimateCoinSellAllParams
- func (o *EstimateCoinSellAllParams) WithCoinIDToSell(coinIDToSell *uint64) *EstimateCoinSellAllParams
- func (o *EstimateCoinSellAllParams) WithCoinToBuy(coinToBuy *string) *EstimateCoinSellAllParams
- func (o *EstimateCoinSellAllParams) WithCoinToSell(coinToSell *string) *EstimateCoinSellAllParams
- func (o *EstimateCoinSellAllParams) WithContext(ctx context.Context) *EstimateCoinSellAllParams
- func (o *EstimateCoinSellAllParams) WithGasPrice(gasPrice *uint64) *EstimateCoinSellAllParams
- func (o *EstimateCoinSellAllParams) WithHTTPClient(client *http.Client) *EstimateCoinSellAllParams
- func (o *EstimateCoinSellAllParams) WithHeight(height *uint64) *EstimateCoinSellAllParams
- func (o *EstimateCoinSellAllParams) WithTimeout(timeout time.Duration) *EstimateCoinSellAllParams
- func (o *EstimateCoinSellAllParams) WithValueToSell(valueToSell string) *EstimateCoinSellAllParams
- func (o *EstimateCoinSellAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EstimateCoinSellAllReader
- type EstimateCoinSellDefault
- type EstimateCoinSellOK
- type EstimateCoinSellParams
- func NewEstimateCoinSellParams() *EstimateCoinSellParams
- func NewEstimateCoinSellParamsWithContext(ctx context.Context) *EstimateCoinSellParams
- func NewEstimateCoinSellParamsWithHTTPClient(client *http.Client) *EstimateCoinSellParams
- func NewEstimateCoinSellParamsWithTimeout(timeout time.Duration) *EstimateCoinSellParams
- func (o *EstimateCoinSellParams) SetCoinIDToBuy(coinIDToBuy *uint64)
- func (o *EstimateCoinSellParams) SetCoinIDToSell(coinIDToSell *uint64)
- func (o *EstimateCoinSellParams) SetCoinToBuy(coinToBuy *string)
- func (o *EstimateCoinSellParams) SetCoinToSell(coinToSell *string)
- func (o *EstimateCoinSellParams) SetContext(ctx context.Context)
- func (o *EstimateCoinSellParams) SetHTTPClient(client *http.Client)
- func (o *EstimateCoinSellParams) SetHeight(height *uint64)
- func (o *EstimateCoinSellParams) SetTimeout(timeout time.Duration)
- func (o *EstimateCoinSellParams) SetValueToSell(valueToSell string)
- func (o *EstimateCoinSellParams) WithCoinIDToBuy(coinIDToBuy *uint64) *EstimateCoinSellParams
- func (o *EstimateCoinSellParams) WithCoinIDToSell(coinIDToSell *uint64) *EstimateCoinSellParams
- func (o *EstimateCoinSellParams) WithCoinToBuy(coinToBuy *string) *EstimateCoinSellParams
- func (o *EstimateCoinSellParams) WithCoinToSell(coinToSell *string) *EstimateCoinSellParams
- func (o *EstimateCoinSellParams) WithContext(ctx context.Context) *EstimateCoinSellParams
- func (o *EstimateCoinSellParams) WithHTTPClient(client *http.Client) *EstimateCoinSellParams
- func (o *EstimateCoinSellParams) WithHeight(height *uint64) *EstimateCoinSellParams
- func (o *EstimateCoinSellParams) WithTimeout(timeout time.Duration) *EstimateCoinSellParams
- func (o *EstimateCoinSellParams) WithValueToSell(valueToSell string) *EstimateCoinSellParams
- func (o *EstimateCoinSellParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EstimateCoinSellReader
- type EstimateTxCommissionDefault
- type EstimateTxCommissionOK
- type EstimateTxCommissionParams
- func NewEstimateTxCommissionParams() *EstimateTxCommissionParams
- func NewEstimateTxCommissionParamsWithContext(ctx context.Context) *EstimateTxCommissionParams
- func NewEstimateTxCommissionParamsWithHTTPClient(client *http.Client) *EstimateTxCommissionParams
- func NewEstimateTxCommissionParamsWithTimeout(timeout time.Duration) *EstimateTxCommissionParams
- func (o *EstimateTxCommissionParams) SetContext(ctx context.Context)
- func (o *EstimateTxCommissionParams) SetHTTPClient(client *http.Client)
- func (o *EstimateTxCommissionParams) SetHeight(height *uint64)
- func (o *EstimateTxCommissionParams) SetTimeout(timeout time.Duration)
- func (o *EstimateTxCommissionParams) SetTx(tx string)
- func (o *EstimateTxCommissionParams) WithContext(ctx context.Context) *EstimateTxCommissionParams
- func (o *EstimateTxCommissionParams) WithHTTPClient(client *http.Client) *EstimateTxCommissionParams
- func (o *EstimateTxCommissionParams) WithHeight(height *uint64) *EstimateTxCommissionParams
- func (o *EstimateTxCommissionParams) WithTimeout(timeout time.Duration) *EstimateTxCommissionParams
- func (o *EstimateTxCommissionParams) WithTx(tx string) *EstimateTxCommissionParams
- func (o *EstimateTxCommissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EstimateTxCommissionReader
- type EventsDefault
- type EventsOK
- type EventsParams
- func (o *EventsParams) SetContext(ctx context.Context)
- func (o *EventsParams) SetHTTPClient(client *http.Client)
- func (o *EventsParams) SetHeight(height string)
- func (o *EventsParams) SetSearch(search []string)
- func (o *EventsParams) SetTimeout(timeout time.Duration)
- func (o *EventsParams) WithContext(ctx context.Context) *EventsParams
- func (o *EventsParams) WithHTTPClient(client *http.Client) *EventsParams
- func (o *EventsParams) WithHeight(height string) *EventsParams
- func (o *EventsParams) WithSearch(search []string) *EventsParams
- func (o *EventsParams) WithTimeout(timeout time.Duration) *EventsParams
- func (o *EventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EventsReader
- type FrozenDefault
- type FrozenOK
- type FrozenParams
- func (o *FrozenParams) SetAddress(address string)
- func (o *FrozenParams) SetCoinID(coinID *uint64)
- func (o *FrozenParams) SetContext(ctx context.Context)
- func (o *FrozenParams) SetHTTPClient(client *http.Client)
- func (o *FrozenParams) SetTimeout(timeout time.Duration)
- func (o *FrozenParams) WithAddress(address string) *FrozenParams
- func (o *FrozenParams) WithCoinID(coinID *uint64) *FrozenParams
- func (o *FrozenParams) WithContext(ctx context.Context) *FrozenParams
- func (o *FrozenParams) WithHTTPClient(client *http.Client) *FrozenParams
- func (o *FrozenParams) WithTimeout(timeout time.Duration) *FrozenParams
- func (o *FrozenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FrozenReader
- type GenesisDefault
- type GenesisOK
- type GenesisParams
- func (o *GenesisParams) SetContext(ctx context.Context)
- func (o *GenesisParams) SetHTTPClient(client *http.Client)
- func (o *GenesisParams) SetTimeout(timeout time.Duration)
- func (o *GenesisParams) WithContext(ctx context.Context) *GenesisParams
- func (o *GenesisParams) WithHTTPClient(client *http.Client) *GenesisParams
- func (o *GenesisParams) WithTimeout(timeout time.Duration) *GenesisParams
- func (o *GenesisParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GenesisReader
- type HaltsDefault
- type HaltsOK
- type HaltsParams
- func (o *HaltsParams) SetContext(ctx context.Context)
- func (o *HaltsParams) SetHTTPClient(client *http.Client)
- func (o *HaltsParams) SetHeight(height string)
- func (o *HaltsParams) SetTimeout(timeout time.Duration)
- func (o *HaltsParams) WithContext(ctx context.Context) *HaltsParams
- func (o *HaltsParams) WithHTTPClient(client *http.Client) *HaltsParams
- func (o *HaltsParams) WithHeight(height string) *HaltsParams
- func (o *HaltsParams) WithTimeout(timeout time.Duration) *HaltsParams
- func (o *HaltsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HaltsReader
- type MaxGasPriceDefault
- type MaxGasPriceOK
- type MaxGasPriceParams
- func (o *MaxGasPriceParams) SetContext(ctx context.Context)
- func (o *MaxGasPriceParams) SetHTTPClient(client *http.Client)
- func (o *MaxGasPriceParams) SetHeight(height *uint64)
- func (o *MaxGasPriceParams) SetTimeout(timeout time.Duration)
- func (o *MaxGasPriceParams) WithContext(ctx context.Context) *MaxGasPriceParams
- func (o *MaxGasPriceParams) WithHTTPClient(client *http.Client) *MaxGasPriceParams
- func (o *MaxGasPriceParams) WithHeight(height *uint64) *MaxGasPriceParams
- func (o *MaxGasPriceParams) WithTimeout(timeout time.Duration) *MaxGasPriceParams
- func (o *MaxGasPriceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MaxGasPriceReader
- type MinGasPriceDefault
- type MinGasPriceOK
- type MinGasPriceParams
- func (o *MinGasPriceParams) SetContext(ctx context.Context)
- func (o *MinGasPriceParams) SetHTTPClient(client *http.Client)
- func (o *MinGasPriceParams) SetTimeout(timeout time.Duration)
- func (o *MinGasPriceParams) WithContext(ctx context.Context) *MinGasPriceParams
- func (o *MinGasPriceParams) WithHTTPClient(client *http.Client) *MinGasPriceParams
- func (o *MinGasPriceParams) WithTimeout(timeout time.Duration) *MinGasPriceParams
- func (o *MinGasPriceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MinGasPriceReader
- type MissedBlocksDefault
- type MissedBlocksOK
- type MissedBlocksParams
- func (o *MissedBlocksParams) SetContext(ctx context.Context)
- func (o *MissedBlocksParams) SetHTTPClient(client *http.Client)
- func (o *MissedBlocksParams) SetHeight(height *uint64)
- func (o *MissedBlocksParams) SetPublicKey(publicKey string)
- func (o *MissedBlocksParams) SetTimeout(timeout time.Duration)
- func (o *MissedBlocksParams) WithContext(ctx context.Context) *MissedBlocksParams
- func (o *MissedBlocksParams) WithHTTPClient(client *http.Client) *MissedBlocksParams
- func (o *MissedBlocksParams) WithHeight(height *uint64) *MissedBlocksParams
- func (o *MissedBlocksParams) WithPublicKey(publicKey string) *MissedBlocksParams
- func (o *MissedBlocksParams) WithTimeout(timeout time.Duration) *MissedBlocksParams
- func (o *MissedBlocksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MissedBlocksReader
- type NetInfoDefault
- type NetInfoOK
- type NetInfoParams
- func (o *NetInfoParams) SetContext(ctx context.Context)
- func (o *NetInfoParams) SetHTTPClient(client *http.Client)
- func (o *NetInfoParams) SetTimeout(timeout time.Duration)
- func (o *NetInfoParams) WithContext(ctx context.Context) *NetInfoParams
- func (o *NetInfoParams) WithHTTPClient(client *http.Client) *NetInfoParams
- func (o *NetInfoParams) WithTimeout(timeout time.Duration) *NetInfoParams
- func (o *NetInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetInfoReader
- type SendTransaction2Default
- type SendTransaction2OK
- type SendTransaction2Params
- func NewSendTransaction2Params() *SendTransaction2Params
- func NewSendTransaction2ParamsWithContext(ctx context.Context) *SendTransaction2Params
- func NewSendTransaction2ParamsWithHTTPClient(client *http.Client) *SendTransaction2Params
- func NewSendTransaction2ParamsWithTimeout(timeout time.Duration) *SendTransaction2Params
- func (o *SendTransaction2Params) SetBody(body *models.SendTransactionRequest)
- func (o *SendTransaction2Params) SetContext(ctx context.Context)
- func (o *SendTransaction2Params) SetHTTPClient(client *http.Client)
- func (o *SendTransaction2Params) SetTimeout(timeout time.Duration)
- func (o *SendTransaction2Params) WithBody(body *models.SendTransactionRequest) *SendTransaction2Params
- func (o *SendTransaction2Params) WithContext(ctx context.Context) *SendTransaction2Params
- func (o *SendTransaction2Params) WithHTTPClient(client *http.Client) *SendTransaction2Params
- func (o *SendTransaction2Params) WithTimeout(timeout time.Duration) *SendTransaction2Params
- func (o *SendTransaction2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendTransaction2Reader
- type SendTransactionDefault
- type SendTransactionOK
- type SendTransactionParams
- func NewSendTransactionParams() *SendTransactionParams
- func NewSendTransactionParamsWithContext(ctx context.Context) *SendTransactionParams
- func NewSendTransactionParamsWithHTTPClient(client *http.Client) *SendTransactionParams
- func NewSendTransactionParamsWithTimeout(timeout time.Duration) *SendTransactionParams
- func (o *SendTransactionParams) SetContext(ctx context.Context)
- func (o *SendTransactionParams) SetHTTPClient(client *http.Client)
- func (o *SendTransactionParams) SetTimeout(timeout time.Duration)
- func (o *SendTransactionParams) SetTx(tx string)
- func (o *SendTransactionParams) WithContext(ctx context.Context) *SendTransactionParams
- func (o *SendTransactionParams) WithHTTPClient(client *http.Client) *SendTransactionParams
- func (o *SendTransactionParams) WithTimeout(timeout time.Duration) *SendTransactionParams
- func (o *SendTransactionParams) WithTx(tx string) *SendTransactionParams
- func (o *SendTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendTransactionReader
- type StatusDefault
- type StatusOK
- type StatusParams
- func (o *StatusParams) SetContext(ctx context.Context)
- func (o *StatusParams) SetHTTPClient(client *http.Client)
- func (o *StatusParams) SetTimeout(timeout time.Duration)
- func (o *StatusParams) WithContext(ctx context.Context) *StatusParams
- func (o *StatusParams) WithHTTPClient(client *http.Client) *StatusParams
- func (o *StatusParams) WithTimeout(timeout time.Duration) *StatusParams
- func (o *StatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusReader
- type SubscribeDefault
- type SubscribeOK
- type SubscribeOKBody
- type SubscribeParams
- func (o *SubscribeParams) SetContext(ctx context.Context)
- func (o *SubscribeParams) SetHTTPClient(client *http.Client)
- func (o *SubscribeParams) SetQuery(query string)
- func (o *SubscribeParams) SetTimeout(timeout time.Duration)
- func (o *SubscribeParams) WithContext(ctx context.Context) *SubscribeParams
- func (o *SubscribeParams) WithHTTPClient(client *http.Client) *SubscribeParams
- func (o *SubscribeParams) WithQuery(query string) *SubscribeParams
- func (o *SubscribeParams) WithTimeout(timeout time.Duration) *SubscribeParams
- func (o *SubscribeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubscribeReader
- type TestBlockDefault
- type TestBlockOK
- type TestBlockParams
- func (o *TestBlockParams) SetContext(ctx context.Context)
- func (o *TestBlockParams) SetHTTPClient(client *http.Client)
- func (o *TestBlockParams) SetTimeout(timeout time.Duration)
- func (o *TestBlockParams) WithContext(ctx context.Context) *TestBlockParams
- func (o *TestBlockParams) WithHTTPClient(client *http.Client) *TestBlockParams
- func (o *TestBlockParams) WithTimeout(timeout time.Duration) *TestBlockParams
- func (o *TestBlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestBlockReader
- type TransactionDefault
- type TransactionOK
- type TransactionParams
- func (o *TransactionParams) SetContext(ctx context.Context)
- func (o *TransactionParams) SetHTTPClient(client *http.Client)
- func (o *TransactionParams) SetHash(hash string)
- func (o *TransactionParams) SetTimeout(timeout time.Duration)
- func (o *TransactionParams) WithContext(ctx context.Context) *TransactionParams
- func (o *TransactionParams) WithHTTPClient(client *http.Client) *TransactionParams
- func (o *TransactionParams) WithHash(hash string) *TransactionParams
- func (o *TransactionParams) WithTimeout(timeout time.Duration) *TransactionParams
- func (o *TransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TransactionReader
- type TransactionsDefault
- type TransactionsOK
- type TransactionsParams
- func (o *TransactionsParams) SetContext(ctx context.Context)
- func (o *TransactionsParams) SetHTTPClient(client *http.Client)
- func (o *TransactionsParams) SetPage(page *int32)
- func (o *TransactionsParams) SetPerPage(perPage *int32)
- func (o *TransactionsParams) SetQuery(query string)
- func (o *TransactionsParams) SetTimeout(timeout time.Duration)
- func (o *TransactionsParams) WithContext(ctx context.Context) *TransactionsParams
- func (o *TransactionsParams) WithHTTPClient(client *http.Client) *TransactionsParams
- func (o *TransactionsParams) WithPage(page *int32) *TransactionsParams
- func (o *TransactionsParams) WithPerPage(perPage *int32) *TransactionsParams
- func (o *TransactionsParams) WithQuery(query string) *TransactionsParams
- func (o *TransactionsParams) WithTimeout(timeout time.Duration) *TransactionsParams
- func (o *TransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TransactionsReader
- type UnconfirmedTxsDefault
- type UnconfirmedTxsOK
- type UnconfirmedTxsParams
- func NewUnconfirmedTxsParams() *UnconfirmedTxsParams
- func NewUnconfirmedTxsParamsWithContext(ctx context.Context) *UnconfirmedTxsParams
- func NewUnconfirmedTxsParamsWithHTTPClient(client *http.Client) *UnconfirmedTxsParams
- func NewUnconfirmedTxsParamsWithTimeout(timeout time.Duration) *UnconfirmedTxsParams
- func (o *UnconfirmedTxsParams) SetContext(ctx context.Context)
- func (o *UnconfirmedTxsParams) SetHTTPClient(client *http.Client)
- func (o *UnconfirmedTxsParams) SetLimit(limit *int32)
- func (o *UnconfirmedTxsParams) SetTimeout(timeout time.Duration)
- func (o *UnconfirmedTxsParams) WithContext(ctx context.Context) *UnconfirmedTxsParams
- func (o *UnconfirmedTxsParams) WithHTTPClient(client *http.Client) *UnconfirmedTxsParams
- func (o *UnconfirmedTxsParams) WithLimit(limit *int32) *UnconfirmedTxsParams
- func (o *UnconfirmedTxsParams) WithTimeout(timeout time.Duration) *UnconfirmedTxsParams
- func (o *UnconfirmedTxsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnconfirmedTxsReader
- type ValidatorsDefault
- type ValidatorsOK
- type ValidatorsParams
- func (o *ValidatorsParams) SetContext(ctx context.Context)
- func (o *ValidatorsParams) SetHTTPClient(client *http.Client)
- func (o *ValidatorsParams) SetHeight(height *uint64)
- func (o *ValidatorsParams) SetTimeout(timeout time.Duration)
- func (o *ValidatorsParams) WithContext(ctx context.Context) *ValidatorsParams
- func (o *ValidatorsParams) WithHTTPClient(client *http.Client) *ValidatorsParams
- func (o *ValidatorsParams) WithHeight(height *uint64) *ValidatorsParams
- func (o *ValidatorsParams) WithTimeout(timeout time.Duration) *ValidatorsParams
- func (o *ValidatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidatorsReader
- type WaitListDefault
- type WaitListOK
- type WaitListParams
- func (o *WaitListParams) SetAddress(address string)
- func (o *WaitListParams) SetContext(ctx context.Context)
- func (o *WaitListParams) SetHTTPClient(client *http.Client)
- func (o *WaitListParams) SetHeight(height *uint64)
- func (o *WaitListParams) SetPublicKey(publicKey *string)
- func (o *WaitListParams) SetTimeout(timeout time.Duration)
- func (o *WaitListParams) WithAddress(address string) *WaitListParams
- func (o *WaitListParams) WithContext(ctx context.Context) *WaitListParams
- func (o *WaitListParams) WithHTTPClient(client *http.Client) *WaitListParams
- func (o *WaitListParams) WithHeight(height *uint64) *WaitListParams
- func (o *WaitListParams) WithPublicKey(publicKey *string) *WaitListParams
- func (o *WaitListParams) WithTimeout(timeout time.Duration) *WaitListParams
- func (o *WaitListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WaitListReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressDefault ¶
AddressDefault handles this case with default header values.
An unexpected error response.
func NewAddressDefault ¶
func NewAddressDefault(code int) *AddressDefault
NewAddressDefault creates a AddressDefault with default headers values
func (*AddressDefault) Code ¶
func (o *AddressDefault) Code() int
Code gets the status code for the address default response
func (*AddressDefault) Error ¶
func (o *AddressDefault) Error() string
func (*AddressDefault) GetPayload ¶
func (o *AddressDefault) GetPayload() *models.ErrorBody
type AddressOK ¶
type AddressOK struct {
Payload *models.AddressResponse
}
AddressOK handles this case with default header values.
A successful response.
func NewAddressOK ¶
func NewAddressOK() *AddressOK
NewAddressOK creates a AddressOK with default headers values
func (*AddressOK) GetPayload ¶
func (o *AddressOK) GetPayload() *models.AddressResponse
type AddressParams ¶
type AddressParams struct { /*Address*/ Address string /*Delegated*/ Delegated *bool /*Height*/ Height *uint64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddressParams contains all the parameters to send to the API endpoint for the address operation typically these are written to a http.Request
func NewAddressParams ¶
func NewAddressParams() *AddressParams
NewAddressParams creates a new AddressParams object with the default values initialized.
func NewAddressParamsWithContext ¶
func NewAddressParamsWithContext(ctx context.Context) *AddressParams
NewAddressParamsWithContext creates a new AddressParams object with the default values initialized, and the ability to set a context for a request
func NewAddressParamsWithHTTPClient ¶
func NewAddressParamsWithHTTPClient(client *http.Client) *AddressParams
NewAddressParamsWithHTTPClient creates a new AddressParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddressParamsWithTimeout ¶
func NewAddressParamsWithTimeout(timeout time.Duration) *AddressParams
NewAddressParamsWithTimeout creates a new AddressParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddressParams) SetAddress ¶
func (o *AddressParams) SetAddress(address string)
SetAddress adds the address to the address params
func (*AddressParams) SetContext ¶
func (o *AddressParams) SetContext(ctx context.Context)
SetContext adds the context to the address params
func (*AddressParams) SetDelegated ¶
func (o *AddressParams) SetDelegated(delegated *bool)
SetDelegated adds the delegated to the address params
func (*AddressParams) SetHTTPClient ¶
func (o *AddressParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the address params
func (*AddressParams) SetHeight ¶
func (o *AddressParams) SetHeight(height *uint64)
SetHeight adds the height to the address params
func (*AddressParams) SetTimeout ¶
func (o *AddressParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the address params
func (*AddressParams) WithAddress ¶
func (o *AddressParams) WithAddress(address string) *AddressParams
WithAddress adds the address to the address params
func (*AddressParams) WithContext ¶
func (o *AddressParams) WithContext(ctx context.Context) *AddressParams
WithContext adds the context to the address params
func (*AddressParams) WithDelegated ¶
func (o *AddressParams) WithDelegated(delegated *bool) *AddressParams
WithDelegated adds the delegated to the address params
func (*AddressParams) WithHTTPClient ¶
func (o *AddressParams) WithHTTPClient(client *http.Client) *AddressParams
WithHTTPClient adds the HTTPClient to the address params
func (*AddressParams) WithHeight ¶
func (o *AddressParams) WithHeight(height *uint64) *AddressParams
WithHeight adds the height to the address params
func (*AddressParams) WithTimeout ¶
func (o *AddressParams) WithTimeout(timeout time.Duration) *AddressParams
WithTimeout adds the timeout to the address params
func (*AddressParams) WriteToRequest ¶
func (o *AddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddressReader ¶
type AddressReader struct {
// contains filtered or unexported fields
}
AddressReader is a Reader for the Address structure.
func (*AddressReader) ReadResponse ¶
func (o *AddressReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddressesDefault ¶
type AddressesDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
AddressesDefault handles this case with default header values.
An unexpected error response.
func NewAddressesDefault ¶
func NewAddressesDefault(code int) *AddressesDefault
NewAddressesDefault creates a AddressesDefault with default headers values
func (*AddressesDefault) Code ¶
func (o *AddressesDefault) Code() int
Code gets the status code for the addresses default response
func (*AddressesDefault) Error ¶
func (o *AddressesDefault) Error() string
func (*AddressesDefault) GetPayload ¶
func (o *AddressesDefault) GetPayload() *models.ErrorBody
type AddressesOK ¶
type AddressesOK struct {
Payload *models.AddressesResponse
}
AddressesOK handles this case with default header values.
A successful response.
func NewAddressesOK ¶
func NewAddressesOK() *AddressesOK
NewAddressesOK creates a AddressesOK with default headers values
func (*AddressesOK) Error ¶
func (o *AddressesOK) Error() string
func (*AddressesOK) GetPayload ¶
func (o *AddressesOK) GetPayload() *models.AddressesResponse
type AddressesParams ¶
type AddressesParams struct { /*Addresses*/ Addresses []string /*Delegated*/ Delegated *bool /*Height*/ Height *uint64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddressesParams contains all the parameters to send to the API endpoint for the addresses operation typically these are written to a http.Request
func NewAddressesParams ¶
func NewAddressesParams() *AddressesParams
NewAddressesParams creates a new AddressesParams object with the default values initialized.
func NewAddressesParamsWithContext ¶
func NewAddressesParamsWithContext(ctx context.Context) *AddressesParams
NewAddressesParamsWithContext creates a new AddressesParams object with the default values initialized, and the ability to set a context for a request
func NewAddressesParamsWithHTTPClient ¶
func NewAddressesParamsWithHTTPClient(client *http.Client) *AddressesParams
NewAddressesParamsWithHTTPClient creates a new AddressesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddressesParamsWithTimeout ¶
func NewAddressesParamsWithTimeout(timeout time.Duration) *AddressesParams
NewAddressesParamsWithTimeout creates a new AddressesParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddressesParams) SetAddresses ¶
func (o *AddressesParams) SetAddresses(addresses []string)
SetAddresses adds the addresses to the addresses params
func (*AddressesParams) SetContext ¶
func (o *AddressesParams) SetContext(ctx context.Context)
SetContext adds the context to the addresses params
func (*AddressesParams) SetDelegated ¶
func (o *AddressesParams) SetDelegated(delegated *bool)
SetDelegated adds the delegated to the addresses params
func (*AddressesParams) SetHTTPClient ¶
func (o *AddressesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the addresses params
func (*AddressesParams) SetHeight ¶
func (o *AddressesParams) SetHeight(height *uint64)
SetHeight adds the height to the addresses params
func (*AddressesParams) SetTimeout ¶
func (o *AddressesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the addresses params
func (*AddressesParams) WithAddresses ¶
func (o *AddressesParams) WithAddresses(addresses []string) *AddressesParams
WithAddresses adds the addresses to the addresses params
func (*AddressesParams) WithContext ¶
func (o *AddressesParams) WithContext(ctx context.Context) *AddressesParams
WithContext adds the context to the addresses params
func (*AddressesParams) WithDelegated ¶
func (o *AddressesParams) WithDelegated(delegated *bool) *AddressesParams
WithDelegated adds the delegated to the addresses params
func (*AddressesParams) WithHTTPClient ¶
func (o *AddressesParams) WithHTTPClient(client *http.Client) *AddressesParams
WithHTTPClient adds the HTTPClient to the addresses params
func (*AddressesParams) WithHeight ¶
func (o *AddressesParams) WithHeight(height *uint64) *AddressesParams
WithHeight adds the height to the addresses params
func (*AddressesParams) WithTimeout ¶
func (o *AddressesParams) WithTimeout(timeout time.Duration) *AddressesParams
WithTimeout adds the timeout to the addresses params
func (*AddressesParams) WriteToRequest ¶
func (o *AddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddressesReader ¶
type AddressesReader struct {
// contains filtered or unexported fields
}
AddressesReader is a Reader for the Addresses structure.
func (*AddressesReader) ReadResponse ¶
func (o *AddressesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BlockDefault ¶
BlockDefault handles this case with default header values.
An unexpected error response.
func NewBlockDefault ¶
func NewBlockDefault(code int) *BlockDefault
NewBlockDefault creates a BlockDefault with default headers values
func (*BlockDefault) Code ¶
func (o *BlockDefault) Code() int
Code gets the status code for the block default response
func (*BlockDefault) Error ¶
func (o *BlockDefault) Error() string
func (*BlockDefault) GetPayload ¶
func (o *BlockDefault) GetPayload() *models.ErrorBody
type BlockOK ¶
type BlockOK struct {
Payload *models.BlockResponse
}
BlockOK handles this case with default header values.
A successful response.
func NewBlockOK ¶
func NewBlockOK() *BlockOK
NewBlockOK creates a BlockOK with default headers values
func (*BlockOK) GetPayload ¶
func (o *BlockOK) GetPayload() *models.BlockResponse
type BlockParams ¶
type BlockParams struct { /*Fields*/ Fields []string /*Height*/ Height string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BlockParams contains all the parameters to send to the API endpoint for the block operation typically these are written to a http.Request
func NewBlockParams ¶
func NewBlockParams() *BlockParams
NewBlockParams creates a new BlockParams object with the default values initialized.
func NewBlockParamsWithContext ¶
func NewBlockParamsWithContext(ctx context.Context) *BlockParams
NewBlockParamsWithContext creates a new BlockParams object with the default values initialized, and the ability to set a context for a request
func NewBlockParamsWithHTTPClient ¶
func NewBlockParamsWithHTTPClient(client *http.Client) *BlockParams
NewBlockParamsWithHTTPClient creates a new BlockParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBlockParamsWithTimeout ¶
func NewBlockParamsWithTimeout(timeout time.Duration) *BlockParams
NewBlockParamsWithTimeout creates a new BlockParams object with the default values initialized, and the ability to set a timeout on a request
func (*BlockParams) SetContext ¶
func (o *BlockParams) SetContext(ctx context.Context)
SetContext adds the context to the block params
func (*BlockParams) SetFields ¶
func (o *BlockParams) SetFields(fields []string)
SetFields adds the fields to the block params
func (*BlockParams) SetHTTPClient ¶
func (o *BlockParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the block params
func (*BlockParams) SetHeight ¶
func (o *BlockParams) SetHeight(height string)
SetHeight adds the height to the block params
func (*BlockParams) SetTimeout ¶
func (o *BlockParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the block params
func (*BlockParams) WithContext ¶
func (o *BlockParams) WithContext(ctx context.Context) *BlockParams
WithContext adds the context to the block params
func (*BlockParams) WithFields ¶
func (o *BlockParams) WithFields(fields []string) *BlockParams
WithFields adds the fields to the block params
func (*BlockParams) WithHTTPClient ¶
func (o *BlockParams) WithHTTPClient(client *http.Client) *BlockParams
WithHTTPClient adds the HTTPClient to the block params
func (*BlockParams) WithHeight ¶
func (o *BlockParams) WithHeight(height string) *BlockParams
WithHeight adds the height to the block params
func (*BlockParams) WithTimeout ¶
func (o *BlockParams) WithTimeout(timeout time.Duration) *BlockParams
WithTimeout adds the timeout to the block params
func (*BlockParams) WriteToRequest ¶
func (o *BlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BlockReader ¶
type BlockReader struct {
// contains filtered or unexported fields
}
BlockReader is a Reader for the Block structure.
func (*BlockReader) ReadResponse ¶
func (o *BlockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CandidateDefault ¶
type CandidateDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
CandidateDefault handles this case with default header values.
An unexpected error response.
func NewCandidateDefault ¶
func NewCandidateDefault(code int) *CandidateDefault
NewCandidateDefault creates a CandidateDefault with default headers values
func (*CandidateDefault) Code ¶
func (o *CandidateDefault) Code() int
Code gets the status code for the candidate default response
func (*CandidateDefault) Error ¶
func (o *CandidateDefault) Error() string
func (*CandidateDefault) GetPayload ¶
func (o *CandidateDefault) GetPayload() *models.ErrorBody
type CandidateOK ¶
type CandidateOK struct {
Payload *models.CandidateResponse
}
CandidateOK handles this case with default header values.
A successful response.
func NewCandidateOK ¶
func NewCandidateOK() *CandidateOK
NewCandidateOK creates a CandidateOK with default headers values
func (*CandidateOK) Error ¶
func (o *CandidateOK) Error() string
func (*CandidateOK) GetPayload ¶
func (o *CandidateOK) GetPayload() *models.CandidateResponse
type CandidateParams ¶
type CandidateParams struct { /*Height Blockchain state height for the current request. Optional, the last default state of the node is used. */ Height *uint64 /*NotShowStakes Do not display a list of steaks. Note: used_slots, uniq_users, min_stake will be filled. */ NotShowStakes *bool /*PublicKey Public key of a candidate */ PublicKey string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CandidateParams contains all the parameters to send to the API endpoint for the candidate operation typically these are written to a http.Request
func NewCandidateParams ¶
func NewCandidateParams() *CandidateParams
NewCandidateParams creates a new CandidateParams object with the default values initialized.
func NewCandidateParamsWithContext ¶
func NewCandidateParamsWithContext(ctx context.Context) *CandidateParams
NewCandidateParamsWithContext creates a new CandidateParams object with the default values initialized, and the ability to set a context for a request
func NewCandidateParamsWithHTTPClient ¶
func NewCandidateParamsWithHTTPClient(client *http.Client) *CandidateParams
NewCandidateParamsWithHTTPClient creates a new CandidateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCandidateParamsWithTimeout ¶
func NewCandidateParamsWithTimeout(timeout time.Duration) *CandidateParams
NewCandidateParamsWithTimeout creates a new CandidateParams object with the default values initialized, and the ability to set a timeout on a request
func (*CandidateParams) SetContext ¶
func (o *CandidateParams) SetContext(ctx context.Context)
SetContext adds the context to the candidate params
func (*CandidateParams) SetHTTPClient ¶
func (o *CandidateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the candidate params
func (*CandidateParams) SetHeight ¶
func (o *CandidateParams) SetHeight(height *uint64)
SetHeight adds the height to the candidate params
func (*CandidateParams) SetNotShowStakes ¶ added in v2.1.0
func (o *CandidateParams) SetNotShowStakes(notShowStakes *bool)
SetNotShowStakes adds the notShowStakes to the candidate params
func (*CandidateParams) SetPublicKey ¶
func (o *CandidateParams) SetPublicKey(publicKey string)
SetPublicKey adds the publicKey to the candidate params
func (*CandidateParams) SetTimeout ¶
func (o *CandidateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the candidate params
func (*CandidateParams) WithContext ¶
func (o *CandidateParams) WithContext(ctx context.Context) *CandidateParams
WithContext adds the context to the candidate params
func (*CandidateParams) WithHTTPClient ¶
func (o *CandidateParams) WithHTTPClient(client *http.Client) *CandidateParams
WithHTTPClient adds the HTTPClient to the candidate params
func (*CandidateParams) WithHeight ¶
func (o *CandidateParams) WithHeight(height *uint64) *CandidateParams
WithHeight adds the height to the candidate params
func (*CandidateParams) WithNotShowStakes ¶ added in v2.1.0
func (o *CandidateParams) WithNotShowStakes(notShowStakes *bool) *CandidateParams
WithNotShowStakes adds the notShowStakes to the candidate params
func (*CandidateParams) WithPublicKey ¶
func (o *CandidateParams) WithPublicKey(publicKey string) *CandidateParams
WithPublicKey adds the publicKey to the candidate params
func (*CandidateParams) WithTimeout ¶
func (o *CandidateParams) WithTimeout(timeout time.Duration) *CandidateParams
WithTimeout adds the timeout to the candidate params
func (*CandidateParams) WriteToRequest ¶
func (o *CandidateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CandidateReader ¶
type CandidateReader struct {
// contains filtered or unexported fields
}
CandidateReader is a Reader for the Candidate structure.
func (*CandidateReader) ReadResponse ¶
func (o *CandidateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CandidatesDefault ¶
type CandidatesDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
CandidatesDefault handles this case with default header values.
An unexpected error response.
func NewCandidatesDefault ¶
func NewCandidatesDefault(code int) *CandidatesDefault
NewCandidatesDefault creates a CandidatesDefault with default headers values
func (*CandidatesDefault) Code ¶
func (o *CandidatesDefault) Code() int
Code gets the status code for the candidates default response
func (*CandidatesDefault) Error ¶
func (o *CandidatesDefault) Error() string
func (*CandidatesDefault) GetPayload ¶
func (o *CandidatesDefault) GetPayload() *models.ErrorBody
type CandidatesOK ¶
type CandidatesOK struct {
Payload *models.CandidatesResponse
}
CandidatesOK handles this case with default header values.
A successful response.
func NewCandidatesOK ¶
func NewCandidatesOK() *CandidatesOK
NewCandidatesOK creates a CandidatesOK with default headers values
func (*CandidatesOK) Error ¶
func (o *CandidatesOK) Error() string
func (*CandidatesOK) GetPayload ¶
func (o *CandidatesOK) GetPayload() *models.CandidatesResponse
type CandidatesParams ¶
type CandidatesParams struct { /*Height Blockchain state height for the current request. Optional, the last default state of the node is used. */ Height *uint64 /*IncludeStakes Calculate field values used_slots, uniq_users, min_stake. */ IncludeStakes *bool /*NotShowStakes Do not display the list of stakes, the include_stakes flag is also required to display. Note: used_slots, uniq_users, min_stake will still be filled if include_stakes flag is used. */ NotShowStakes *bool /*Status*/ Status *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CandidatesParams contains all the parameters to send to the API endpoint for the candidates operation typically these are written to a http.Request
func NewCandidatesParams ¶
func NewCandidatesParams() *CandidatesParams
NewCandidatesParams creates a new CandidatesParams object with the default values initialized.
func NewCandidatesParamsWithContext ¶
func NewCandidatesParamsWithContext(ctx context.Context) *CandidatesParams
NewCandidatesParamsWithContext creates a new CandidatesParams object with the default values initialized, and the ability to set a context for a request
func NewCandidatesParamsWithHTTPClient ¶
func NewCandidatesParamsWithHTTPClient(client *http.Client) *CandidatesParams
NewCandidatesParamsWithHTTPClient creates a new CandidatesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCandidatesParamsWithTimeout ¶
func NewCandidatesParamsWithTimeout(timeout time.Duration) *CandidatesParams
NewCandidatesParamsWithTimeout creates a new CandidatesParams object with the default values initialized, and the ability to set a timeout on a request
func (*CandidatesParams) SetContext ¶
func (o *CandidatesParams) SetContext(ctx context.Context)
SetContext adds the context to the candidates params
func (*CandidatesParams) SetHTTPClient ¶
func (o *CandidatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the candidates params
func (*CandidatesParams) SetHeight ¶
func (o *CandidatesParams) SetHeight(height *uint64)
SetHeight adds the height to the candidates params
func (*CandidatesParams) SetIncludeStakes ¶
func (o *CandidatesParams) SetIncludeStakes(includeStakes *bool)
SetIncludeStakes adds the includeStakes to the candidates params
func (*CandidatesParams) SetNotShowStakes ¶ added in v2.1.0
func (o *CandidatesParams) SetNotShowStakes(notShowStakes *bool)
SetNotShowStakes adds the notShowStakes to the candidates params
func (*CandidatesParams) SetStatus ¶
func (o *CandidatesParams) SetStatus(status *string)
SetStatus adds the status to the candidates params
func (*CandidatesParams) SetTimeout ¶
func (o *CandidatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the candidates params
func (*CandidatesParams) WithContext ¶
func (o *CandidatesParams) WithContext(ctx context.Context) *CandidatesParams
WithContext adds the context to the candidates params
func (*CandidatesParams) WithHTTPClient ¶
func (o *CandidatesParams) WithHTTPClient(client *http.Client) *CandidatesParams
WithHTTPClient adds the HTTPClient to the candidates params
func (*CandidatesParams) WithHeight ¶
func (o *CandidatesParams) WithHeight(height *uint64) *CandidatesParams
WithHeight adds the height to the candidates params
func (*CandidatesParams) WithIncludeStakes ¶
func (o *CandidatesParams) WithIncludeStakes(includeStakes *bool) *CandidatesParams
WithIncludeStakes adds the includeStakes to the candidates params
func (*CandidatesParams) WithNotShowStakes ¶ added in v2.1.0
func (o *CandidatesParams) WithNotShowStakes(notShowStakes *bool) *CandidatesParams
WithNotShowStakes adds the notShowStakes to the candidates params
func (*CandidatesParams) WithStatus ¶
func (o *CandidatesParams) WithStatus(status *string) *CandidatesParams
WithStatus adds the status to the candidates params
func (*CandidatesParams) WithTimeout ¶
func (o *CandidatesParams) WithTimeout(timeout time.Duration) *CandidatesParams
WithTimeout adds the timeout to the candidates params
func (*CandidatesParams) WriteToRequest ¶
func (o *CandidatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CandidatesReader ¶
type CandidatesReader struct {
// contains filtered or unexported fields
}
CandidatesReader is a Reader for the Candidates structure.
func (*CandidatesReader) ReadResponse ¶
func (o *CandidatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for api service API
func (*Client) Address ¶
func (a *Client) Address(params *AddressParams) (*AddressOK, error)
Address addresses
Address returns coins list, balance and transaction count of an address.
func (*Client) Addresses ¶
func (a *Client) Addresses(params *AddressesParams) (*AddressesOK, error)
Addresses addresses
Addresses returns list of addresses.
func (*Client) Block ¶
func (a *Client) Block(params *BlockParams) (*BlockOK, error)
Block blocks
Block returns block data at given height.
func (*Client) Candidate ¶
func (a *Client) Candidate(params *CandidateParams) (*CandidateOK, error)
Candidate candidates Candidate returns candidate’s info by provided public key.
## Fields of response | Name | Description | | --------- | ---------------------------- | | reward_address | Address where validator’s rewards go to. | | owner_address | Address that allows one to start the candidate by sending the SetCandidateOnline transaction or stop it by sending the SetCandidateOffline transaction. It also enables the owner to edit the node by sending EditCandidate. | | control_address | Address that allows one to start the candidate by sending the SetCandidateOnline transaction or stop it by sending the SetCandidateOffline transaction. | | total_stake | Total stake of a candidate | | public_key | Public key of a candidate | | commission | Commission (from 0 to 100) from rewards which delegators will pay to validator | | used_slots | Number of occupied steak slots. Note: filled in when request includes_stakes | | uniq_users | Number of unique wallets in steaks. Note: filled in when request includes_stakes | | min_stake | Smallest steak size. Note: filled in when request includes_stakes | | stakes | List of stakes. Note: filled in when request includes_stakes | | status | Candidate status. Available values: offline = 1, online = 2 | | validator | Is a validator at the current height |
func (*Client) Candidates ¶
func (a *Client) Candidates(params *CandidatesParams) (*CandidatesOK, error)
Candidates candidates
Candidates returns list of candidates.
func (*Client) CoinInfo ¶
func (a *Client) CoinInfo(params *CoinInfoParams) (*CoinInfoOK, error)
CoinInfo coins info
CoinInfo returns information about coin symbol.
func (*Client) CoinInfoByID ¶
func (a *Client) CoinInfoByID(params *CoinInfoByIDParams) (*CoinInfoByIDOK, error)
CoinInfoByID coins info by Id
CoinInfoById returns information about coin ID.
func (*Client) EstimateCoinBuy ¶
func (a *Client) EstimateCoinBuy(params *EstimateCoinBuyParams) (*EstimateCoinBuyOK, error)
EstimateCoinBuy estimates coin buy
EstimateCoinBuy returns estimate of buy coin transaction.
func (*Client) EstimateCoinSell ¶
func (a *Client) EstimateCoinSell(params *EstimateCoinSellParams) (*EstimateCoinSellOK, error)
EstimateCoinSell estimates coin sell
EstimateCoinSell returns estimate of sell coin transaction.
func (*Client) EstimateCoinSellAll ¶
func (a *Client) EstimateCoinSellAll(params *EstimateCoinSellAllParams) (*EstimateCoinSellAllOK, error)
EstimateCoinSellAll estimates coin sell all
EstimateCoinSellAll returns estimate of sell all coin transaction.
func (*Client) EstimateTxCommission ¶
func (a *Client) EstimateTxCommission(params *EstimateTxCommissionParams) (*EstimateTxCommissionOK, error)
EstimateTxCommission estimates tx commission
EstimateTxCommission returns estimate of transaction.
func (*Client) Events ¶
func (a *Client) Events(params *EventsParams) (*EventsOK, error)
Events events
Events returns events at given height.
func (*Client) Frozen ¶
func (a *Client) Frozen(params *FrozenParams) (*FrozenOK, error)
Frozen frozens
Frozen returns frozen balance.
func (*Client) Genesis ¶
func (a *Client) Genesis(params *GenesisParams) (*GenesisOK, error)
Genesis geneses
Genesis returns genesis file.
func (*Client) Halts ¶
func (a *Client) Halts(params *HaltsParams) (*HaltsOK, error)
Halts halts
Halts returns the candidate votes for stopping the network at block.
func (*Client) MaxGasPrice ¶
func (a *Client) MaxGasPrice(params *MaxGasPriceParams) (*MaxGasPriceOK, error)
MaxGasPrice maxes gas price
MaxGasPrice returns current max gas.
func (*Client) MinGasPrice ¶
func (a *Client) MinGasPrice(params *MinGasPriceParams) (*MinGasPriceOK, error)
MinGasPrice mins gas price
MinGasPrice returns current min gas price.
func (*Client) MissedBlocks ¶
func (a *Client) MissedBlocks(params *MissedBlocksParams) (*MissedBlocksOK, error)
MissedBlocks misseds blocks
MissedBlocks returns missed blocks by validator public key.
func (*Client) NetInfo ¶
func (a *Client) NetInfo(params *NetInfoParams) (*NetInfoOK, error)
NetInfo nets info
NetInfo returns network info
func (*Client) SendTransaction ¶
func (a *Client) SendTransaction(params *SendTransactionParams) (*SendTransactionOK, error)
SendTransaction sends transaction
SendTransaction returns the result of sending signed tx. To ensure that transaction was successfully committed to the blockchain, you need to find the transaction by the hash and ensure that the status code equals to 0.
func (*Client) SendTransaction2 ¶
func (a *Client) SendTransaction2(params *SendTransaction2Params) (*SendTransaction2OK, error)
SendTransaction2 sends transaction
SendTransaction returns the result of sending signed tx. To ensure that transaction was successfully committed to the blockchain, you need to find the transaction by the hash and ensure that the status code equals to 0.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Status ¶
func (a *Client) Status(params *StatusParams) (*StatusOK, error)
Status statuses
Status returns node status including pubkey, latest block.
func (*Client) Subscribe ¶
func (a *Client) Subscribe(params *SubscribeParams) (*SubscribeOK, error)
Subscribe subscribes
Subscribe returns a subscription for events by query. Only supported in WS and gRPC methods.
func (*Client) TestBlock ¶ added in v2.1.0
func (a *Client) TestBlock(params *TestBlockParams) (*TestBlockOK, error)
TestBlock tests block
TestBlock returns the list of example transactions in block. Available only testnet mode.
func (*Client) Transaction ¶
func (a *Client) Transaction(params *TransactionParams) (*TransactionOK, error)
Transaction transactions
Transaction returns transaction info.
func (*Client) Transactions ¶
func (a *Client) Transactions(params *TransactionsParams) (*TransactionsOK, error)
Transactions transactions
Transactions returns transactions by query.
func (*Client) UnconfirmedTxs ¶
func (a *Client) UnconfirmedTxs(params *UnconfirmedTxsParams) (*UnconfirmedTxsOK, error)
UnconfirmedTxs unconfirmeds txs
UnconfirmedTxs returns unconfirmed transactions.
func (*Client) Validators ¶
func (a *Client) Validators(params *ValidatorsParams) (*ValidatorsOK, error)
Validators validators
Validators returns list of active validators.
func (*Client) WaitList ¶
func (a *Client) WaitList(params *WaitListParams) (*WaitListOK, error)
WaitList waits list
WaitList returns the list of address stakes in waitlist.
type ClientService ¶
type ClientService interface { Address(params *AddressParams) (*AddressOK, error) Addresses(params *AddressesParams) (*AddressesOK, error) Block(params *BlockParams) (*BlockOK, error) Candidate(params *CandidateParams) (*CandidateOK, error) Candidates(params *CandidatesParams) (*CandidatesOK, error) CoinInfo(params *CoinInfoParams) (*CoinInfoOK, error) CoinInfoByID(params *CoinInfoByIDParams) (*CoinInfoByIDOK, error) EstimateCoinBuy(params *EstimateCoinBuyParams) (*EstimateCoinBuyOK, error) EstimateCoinSell(params *EstimateCoinSellParams) (*EstimateCoinSellOK, error) EstimateCoinSellAll(params *EstimateCoinSellAllParams) (*EstimateCoinSellAllOK, error) EstimateTxCommission(params *EstimateTxCommissionParams) (*EstimateTxCommissionOK, error) Events(params *EventsParams) (*EventsOK, error) Frozen(params *FrozenParams) (*FrozenOK, error) Genesis(params *GenesisParams) (*GenesisOK, error) Halts(params *HaltsParams) (*HaltsOK, error) MaxGasPrice(params *MaxGasPriceParams) (*MaxGasPriceOK, error) MinGasPrice(params *MinGasPriceParams) (*MinGasPriceOK, error) MissedBlocks(params *MissedBlocksParams) (*MissedBlocksOK, error) NetInfo(params *NetInfoParams) (*NetInfoOK, error) SendTransaction(params *SendTransactionParams) (*SendTransactionOK, error) SendTransaction2(params *SendTransaction2Params) (*SendTransaction2OK, error) Status(params *StatusParams) (*StatusOK, error) Subscribe(params *SubscribeParams) (*SubscribeOK, error) TestBlock(params *TestBlockParams) (*TestBlockOK, error) Transaction(params *TransactionParams) (*TransactionOK, error) Transactions(params *TransactionsParams) (*TransactionsOK, error) UnconfirmedTxs(params *UnconfirmedTxsParams) (*UnconfirmedTxsOK, error) Validators(params *ValidatorsParams) (*ValidatorsOK, error) WaitList(params *WaitListParams) (*WaitListOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new api service API client.
type CoinInfoByIDDefault ¶
type CoinInfoByIDDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
CoinInfoByIDDefault handles this case with default header values.
An unexpected error response.
func NewCoinInfoByIDDefault ¶
func NewCoinInfoByIDDefault(code int) *CoinInfoByIDDefault
NewCoinInfoByIDDefault creates a CoinInfoByIDDefault with default headers values
func (*CoinInfoByIDDefault) Code ¶
func (o *CoinInfoByIDDefault) Code() int
Code gets the status code for the coin info by Id default response
func (*CoinInfoByIDDefault) Error ¶
func (o *CoinInfoByIDDefault) Error() string
func (*CoinInfoByIDDefault) GetPayload ¶
func (o *CoinInfoByIDDefault) GetPayload() *models.ErrorBody
type CoinInfoByIDOK ¶
type CoinInfoByIDOK struct {
Payload *models.CoinInfoResponse
}
CoinInfoByIDOK handles this case with default header values.
A successful response.
func NewCoinInfoByIDOK ¶
func NewCoinInfoByIDOK() *CoinInfoByIDOK
NewCoinInfoByIDOK creates a CoinInfoByIDOK with default headers values
func (*CoinInfoByIDOK) Error ¶
func (o *CoinInfoByIDOK) Error() string
func (*CoinInfoByIDOK) GetPayload ¶
func (o *CoinInfoByIDOK) GetPayload() *models.CoinInfoResponse
type CoinInfoByIDParams ¶
type CoinInfoByIDParams struct { /*Height*/ Height *uint64 /*ID*/ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CoinInfoByIDParams contains all the parameters to send to the API endpoint for the coin info by Id operation typically these are written to a http.Request
func NewCoinInfoByIDParams ¶
func NewCoinInfoByIDParams() *CoinInfoByIDParams
NewCoinInfoByIDParams creates a new CoinInfoByIDParams object with the default values initialized.
func NewCoinInfoByIDParamsWithContext ¶
func NewCoinInfoByIDParamsWithContext(ctx context.Context) *CoinInfoByIDParams
NewCoinInfoByIDParamsWithContext creates a new CoinInfoByIDParams object with the default values initialized, and the ability to set a context for a request
func NewCoinInfoByIDParamsWithHTTPClient ¶
func NewCoinInfoByIDParamsWithHTTPClient(client *http.Client) *CoinInfoByIDParams
NewCoinInfoByIDParamsWithHTTPClient creates a new CoinInfoByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCoinInfoByIDParamsWithTimeout ¶
func NewCoinInfoByIDParamsWithTimeout(timeout time.Duration) *CoinInfoByIDParams
NewCoinInfoByIDParamsWithTimeout creates a new CoinInfoByIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*CoinInfoByIDParams) SetContext ¶
func (o *CoinInfoByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the coin info by Id params
func (*CoinInfoByIDParams) SetHTTPClient ¶
func (o *CoinInfoByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the coin info by Id params
func (*CoinInfoByIDParams) SetHeight ¶
func (o *CoinInfoByIDParams) SetHeight(height *uint64)
SetHeight adds the height to the coin info by Id params
func (*CoinInfoByIDParams) SetID ¶
func (o *CoinInfoByIDParams) SetID(id string)
SetID adds the id to the coin info by Id params
func (*CoinInfoByIDParams) SetTimeout ¶
func (o *CoinInfoByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the coin info by Id params
func (*CoinInfoByIDParams) WithContext ¶
func (o *CoinInfoByIDParams) WithContext(ctx context.Context) *CoinInfoByIDParams
WithContext adds the context to the coin info by Id params
func (*CoinInfoByIDParams) WithHTTPClient ¶
func (o *CoinInfoByIDParams) WithHTTPClient(client *http.Client) *CoinInfoByIDParams
WithHTTPClient adds the HTTPClient to the coin info by Id params
func (*CoinInfoByIDParams) WithHeight ¶
func (o *CoinInfoByIDParams) WithHeight(height *uint64) *CoinInfoByIDParams
WithHeight adds the height to the coin info by Id params
func (*CoinInfoByIDParams) WithID ¶
func (o *CoinInfoByIDParams) WithID(id string) *CoinInfoByIDParams
WithID adds the id to the coin info by Id params
func (*CoinInfoByIDParams) WithTimeout ¶
func (o *CoinInfoByIDParams) WithTimeout(timeout time.Duration) *CoinInfoByIDParams
WithTimeout adds the timeout to the coin info by Id params
func (*CoinInfoByIDParams) WriteToRequest ¶
func (o *CoinInfoByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CoinInfoByIDReader ¶
type CoinInfoByIDReader struct {
// contains filtered or unexported fields
}
CoinInfoByIDReader is a Reader for the CoinInfoByID structure.
func (*CoinInfoByIDReader) ReadResponse ¶
func (o *CoinInfoByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CoinInfoDefault ¶
CoinInfoDefault handles this case with default header values.
An unexpected error response.
func NewCoinInfoDefault ¶
func NewCoinInfoDefault(code int) *CoinInfoDefault
NewCoinInfoDefault creates a CoinInfoDefault with default headers values
func (*CoinInfoDefault) Code ¶
func (o *CoinInfoDefault) Code() int
Code gets the status code for the coin info default response
func (*CoinInfoDefault) Error ¶
func (o *CoinInfoDefault) Error() string
func (*CoinInfoDefault) GetPayload ¶
func (o *CoinInfoDefault) GetPayload() *models.ErrorBody
type CoinInfoOK ¶
type CoinInfoOK struct {
Payload *models.CoinInfoResponse
}
CoinInfoOK handles this case with default header values.
A successful response.
func NewCoinInfoOK ¶
func NewCoinInfoOK() *CoinInfoOK
NewCoinInfoOK creates a CoinInfoOK with default headers values
func (*CoinInfoOK) Error ¶
func (o *CoinInfoOK) Error() string
func (*CoinInfoOK) GetPayload ¶
func (o *CoinInfoOK) GetPayload() *models.CoinInfoResponse
type CoinInfoParams ¶
type CoinInfoParams struct { /*Height*/ Height *uint64 /*Symbol*/ Symbol string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CoinInfoParams contains all the parameters to send to the API endpoint for the coin info operation typically these are written to a http.Request
func NewCoinInfoParams ¶
func NewCoinInfoParams() *CoinInfoParams
NewCoinInfoParams creates a new CoinInfoParams object with the default values initialized.
func NewCoinInfoParamsWithContext ¶
func NewCoinInfoParamsWithContext(ctx context.Context) *CoinInfoParams
NewCoinInfoParamsWithContext creates a new CoinInfoParams object with the default values initialized, and the ability to set a context for a request
func NewCoinInfoParamsWithHTTPClient ¶
func NewCoinInfoParamsWithHTTPClient(client *http.Client) *CoinInfoParams
NewCoinInfoParamsWithHTTPClient creates a new CoinInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCoinInfoParamsWithTimeout ¶
func NewCoinInfoParamsWithTimeout(timeout time.Duration) *CoinInfoParams
NewCoinInfoParamsWithTimeout creates a new CoinInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*CoinInfoParams) SetContext ¶
func (o *CoinInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the coin info params
func (*CoinInfoParams) SetHTTPClient ¶
func (o *CoinInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the coin info params
func (*CoinInfoParams) SetHeight ¶
func (o *CoinInfoParams) SetHeight(height *uint64)
SetHeight adds the height to the coin info params
func (*CoinInfoParams) SetSymbol ¶
func (o *CoinInfoParams) SetSymbol(symbol string)
SetSymbol adds the symbol to the coin info params
func (*CoinInfoParams) SetTimeout ¶
func (o *CoinInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the coin info params
func (*CoinInfoParams) WithContext ¶
func (o *CoinInfoParams) WithContext(ctx context.Context) *CoinInfoParams
WithContext adds the context to the coin info params
func (*CoinInfoParams) WithHTTPClient ¶
func (o *CoinInfoParams) WithHTTPClient(client *http.Client) *CoinInfoParams
WithHTTPClient adds the HTTPClient to the coin info params
func (*CoinInfoParams) WithHeight ¶
func (o *CoinInfoParams) WithHeight(height *uint64) *CoinInfoParams
WithHeight adds the height to the coin info params
func (*CoinInfoParams) WithSymbol ¶
func (o *CoinInfoParams) WithSymbol(symbol string) *CoinInfoParams
WithSymbol adds the symbol to the coin info params
func (*CoinInfoParams) WithTimeout ¶
func (o *CoinInfoParams) WithTimeout(timeout time.Duration) *CoinInfoParams
WithTimeout adds the timeout to the coin info params
func (*CoinInfoParams) WriteToRequest ¶
func (o *CoinInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CoinInfoReader ¶
type CoinInfoReader struct {
// contains filtered or unexported fields
}
CoinInfoReader is a Reader for the CoinInfo structure.
func (*CoinInfoReader) ReadResponse ¶
func (o *CoinInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EstimateCoinBuyDefault ¶
type EstimateCoinBuyDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
EstimateCoinBuyDefault handles this case with default header values.
An unexpected error response.
func NewEstimateCoinBuyDefault ¶
func NewEstimateCoinBuyDefault(code int) *EstimateCoinBuyDefault
NewEstimateCoinBuyDefault creates a EstimateCoinBuyDefault with default headers values
func (*EstimateCoinBuyDefault) Code ¶
func (o *EstimateCoinBuyDefault) Code() int
Code gets the status code for the estimate coin buy default response
func (*EstimateCoinBuyDefault) Error ¶
func (o *EstimateCoinBuyDefault) Error() string
func (*EstimateCoinBuyDefault) GetPayload ¶
func (o *EstimateCoinBuyDefault) GetPayload() *models.ErrorBody
type EstimateCoinBuyOK ¶
type EstimateCoinBuyOK struct {
Payload *models.EstimateCoinBuyResponse
}
EstimateCoinBuyOK handles this case with default header values.
A successful response.
func NewEstimateCoinBuyOK ¶
func NewEstimateCoinBuyOK() *EstimateCoinBuyOK
NewEstimateCoinBuyOK creates a EstimateCoinBuyOK with default headers values
func (*EstimateCoinBuyOK) Error ¶
func (o *EstimateCoinBuyOK) Error() string
func (*EstimateCoinBuyOK) GetPayload ¶
func (o *EstimateCoinBuyOK) GetPayload() *models.EstimateCoinBuyResponse
type EstimateCoinBuyParams ¶
type EstimateCoinBuyParams struct { /*CoinIDToBuy*/ CoinIDToBuy *uint64 /*CoinIDToSell*/ CoinIDToSell *uint64 /*CoinToBuy*/ CoinToBuy *string /*CoinToSell*/ CoinToSell *string /*Height*/ Height *uint64 /*ValueToBuy*/ ValueToBuy string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EstimateCoinBuyParams contains all the parameters to send to the API endpoint for the estimate coin buy operation typically these are written to a http.Request
func NewEstimateCoinBuyParams ¶
func NewEstimateCoinBuyParams() *EstimateCoinBuyParams
NewEstimateCoinBuyParams creates a new EstimateCoinBuyParams object with the default values initialized.
func NewEstimateCoinBuyParamsWithContext ¶
func NewEstimateCoinBuyParamsWithContext(ctx context.Context) *EstimateCoinBuyParams
NewEstimateCoinBuyParamsWithContext creates a new EstimateCoinBuyParams object with the default values initialized, and the ability to set a context for a request
func NewEstimateCoinBuyParamsWithHTTPClient ¶
func NewEstimateCoinBuyParamsWithHTTPClient(client *http.Client) *EstimateCoinBuyParams
NewEstimateCoinBuyParamsWithHTTPClient creates a new EstimateCoinBuyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEstimateCoinBuyParamsWithTimeout ¶
func NewEstimateCoinBuyParamsWithTimeout(timeout time.Duration) *EstimateCoinBuyParams
NewEstimateCoinBuyParamsWithTimeout creates a new EstimateCoinBuyParams object with the default values initialized, and the ability to set a timeout on a request
func (*EstimateCoinBuyParams) SetCoinIDToBuy ¶
func (o *EstimateCoinBuyParams) SetCoinIDToBuy(coinIDToBuy *uint64)
SetCoinIDToBuy adds the coinIdToBuy to the estimate coin buy params
func (*EstimateCoinBuyParams) SetCoinIDToSell ¶
func (o *EstimateCoinBuyParams) SetCoinIDToSell(coinIDToSell *uint64)
SetCoinIDToSell adds the coinIdToSell to the estimate coin buy params
func (*EstimateCoinBuyParams) SetCoinToBuy ¶
func (o *EstimateCoinBuyParams) SetCoinToBuy(coinToBuy *string)
SetCoinToBuy adds the coinToBuy to the estimate coin buy params
func (*EstimateCoinBuyParams) SetCoinToSell ¶
func (o *EstimateCoinBuyParams) SetCoinToSell(coinToSell *string)
SetCoinToSell adds the coinToSell to the estimate coin buy params
func (*EstimateCoinBuyParams) SetContext ¶
func (o *EstimateCoinBuyParams) SetContext(ctx context.Context)
SetContext adds the context to the estimate coin buy params
func (*EstimateCoinBuyParams) SetHTTPClient ¶
func (o *EstimateCoinBuyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the estimate coin buy params
func (*EstimateCoinBuyParams) SetHeight ¶
func (o *EstimateCoinBuyParams) SetHeight(height *uint64)
SetHeight adds the height to the estimate coin buy params
func (*EstimateCoinBuyParams) SetTimeout ¶
func (o *EstimateCoinBuyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the estimate coin buy params
func (*EstimateCoinBuyParams) SetValueToBuy ¶
func (o *EstimateCoinBuyParams) SetValueToBuy(valueToBuy string)
SetValueToBuy adds the valueToBuy to the estimate coin buy params
func (*EstimateCoinBuyParams) WithCoinIDToBuy ¶
func (o *EstimateCoinBuyParams) WithCoinIDToBuy(coinIDToBuy *uint64) *EstimateCoinBuyParams
WithCoinIDToBuy adds the coinIDToBuy to the estimate coin buy params
func (*EstimateCoinBuyParams) WithCoinIDToSell ¶
func (o *EstimateCoinBuyParams) WithCoinIDToSell(coinIDToSell *uint64) *EstimateCoinBuyParams
WithCoinIDToSell adds the coinIDToSell to the estimate coin buy params
func (*EstimateCoinBuyParams) WithCoinToBuy ¶
func (o *EstimateCoinBuyParams) WithCoinToBuy(coinToBuy *string) *EstimateCoinBuyParams
WithCoinToBuy adds the coinToBuy to the estimate coin buy params
func (*EstimateCoinBuyParams) WithCoinToSell ¶
func (o *EstimateCoinBuyParams) WithCoinToSell(coinToSell *string) *EstimateCoinBuyParams
WithCoinToSell adds the coinToSell to the estimate coin buy params
func (*EstimateCoinBuyParams) WithContext ¶
func (o *EstimateCoinBuyParams) WithContext(ctx context.Context) *EstimateCoinBuyParams
WithContext adds the context to the estimate coin buy params
func (*EstimateCoinBuyParams) WithHTTPClient ¶
func (o *EstimateCoinBuyParams) WithHTTPClient(client *http.Client) *EstimateCoinBuyParams
WithHTTPClient adds the HTTPClient to the estimate coin buy params
func (*EstimateCoinBuyParams) WithHeight ¶
func (o *EstimateCoinBuyParams) WithHeight(height *uint64) *EstimateCoinBuyParams
WithHeight adds the height to the estimate coin buy params
func (*EstimateCoinBuyParams) WithTimeout ¶
func (o *EstimateCoinBuyParams) WithTimeout(timeout time.Duration) *EstimateCoinBuyParams
WithTimeout adds the timeout to the estimate coin buy params
func (*EstimateCoinBuyParams) WithValueToBuy ¶
func (o *EstimateCoinBuyParams) WithValueToBuy(valueToBuy string) *EstimateCoinBuyParams
WithValueToBuy adds the valueToBuy to the estimate coin buy params
func (*EstimateCoinBuyParams) WriteToRequest ¶
func (o *EstimateCoinBuyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EstimateCoinBuyReader ¶
type EstimateCoinBuyReader struct {
// contains filtered or unexported fields
}
EstimateCoinBuyReader is a Reader for the EstimateCoinBuy structure.
func (*EstimateCoinBuyReader) ReadResponse ¶
func (o *EstimateCoinBuyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EstimateCoinSellAllDefault ¶
type EstimateCoinSellAllDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
EstimateCoinSellAllDefault handles this case with default header values.
An unexpected error response.
func NewEstimateCoinSellAllDefault ¶
func NewEstimateCoinSellAllDefault(code int) *EstimateCoinSellAllDefault
NewEstimateCoinSellAllDefault creates a EstimateCoinSellAllDefault with default headers values
func (*EstimateCoinSellAllDefault) Code ¶
func (o *EstimateCoinSellAllDefault) Code() int
Code gets the status code for the estimate coin sell all default response
func (*EstimateCoinSellAllDefault) Error ¶
func (o *EstimateCoinSellAllDefault) Error() string
func (*EstimateCoinSellAllDefault) GetPayload ¶
func (o *EstimateCoinSellAllDefault) GetPayload() *models.ErrorBody
type EstimateCoinSellAllOK ¶
type EstimateCoinSellAllOK struct {
Payload *models.EstimateCoinSellAllResponse
}
EstimateCoinSellAllOK handles this case with default header values.
A successful response.
func NewEstimateCoinSellAllOK ¶
func NewEstimateCoinSellAllOK() *EstimateCoinSellAllOK
NewEstimateCoinSellAllOK creates a EstimateCoinSellAllOK with default headers values
func (*EstimateCoinSellAllOK) Error ¶
func (o *EstimateCoinSellAllOK) Error() string
func (*EstimateCoinSellAllOK) GetPayload ¶
func (o *EstimateCoinSellAllOK) GetPayload() *models.EstimateCoinSellAllResponse
type EstimateCoinSellAllParams ¶
type EstimateCoinSellAllParams struct { /*CoinIDToBuy*/ CoinIDToBuy *uint64 /*CoinIDToSell*/ CoinIDToSell *uint64 /*CoinToBuy*/ CoinToBuy *string /*CoinToSell*/ CoinToSell *string /*GasPrice*/ GasPrice *uint64 /*Height*/ Height *uint64 /*ValueToSell*/ ValueToSell string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EstimateCoinSellAllParams contains all the parameters to send to the API endpoint for the estimate coin sell all operation typically these are written to a http.Request
func NewEstimateCoinSellAllParams ¶
func NewEstimateCoinSellAllParams() *EstimateCoinSellAllParams
NewEstimateCoinSellAllParams creates a new EstimateCoinSellAllParams object with the default values initialized.
func NewEstimateCoinSellAllParamsWithContext ¶
func NewEstimateCoinSellAllParamsWithContext(ctx context.Context) *EstimateCoinSellAllParams
NewEstimateCoinSellAllParamsWithContext creates a new EstimateCoinSellAllParams object with the default values initialized, and the ability to set a context for a request
func NewEstimateCoinSellAllParamsWithHTTPClient ¶
func NewEstimateCoinSellAllParamsWithHTTPClient(client *http.Client) *EstimateCoinSellAllParams
NewEstimateCoinSellAllParamsWithHTTPClient creates a new EstimateCoinSellAllParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEstimateCoinSellAllParamsWithTimeout ¶
func NewEstimateCoinSellAllParamsWithTimeout(timeout time.Duration) *EstimateCoinSellAllParams
NewEstimateCoinSellAllParamsWithTimeout creates a new EstimateCoinSellAllParams object with the default values initialized, and the ability to set a timeout on a request
func (*EstimateCoinSellAllParams) SetCoinIDToBuy ¶
func (o *EstimateCoinSellAllParams) SetCoinIDToBuy(coinIDToBuy *uint64)
SetCoinIDToBuy adds the coinIdToBuy to the estimate coin sell all params
func (*EstimateCoinSellAllParams) SetCoinIDToSell ¶
func (o *EstimateCoinSellAllParams) SetCoinIDToSell(coinIDToSell *uint64)
SetCoinIDToSell adds the coinIdToSell to the estimate coin sell all params
func (*EstimateCoinSellAllParams) SetCoinToBuy ¶
func (o *EstimateCoinSellAllParams) SetCoinToBuy(coinToBuy *string)
SetCoinToBuy adds the coinToBuy to the estimate coin sell all params
func (*EstimateCoinSellAllParams) SetCoinToSell ¶
func (o *EstimateCoinSellAllParams) SetCoinToSell(coinToSell *string)
SetCoinToSell adds the coinToSell to the estimate coin sell all params
func (*EstimateCoinSellAllParams) SetContext ¶
func (o *EstimateCoinSellAllParams) SetContext(ctx context.Context)
SetContext adds the context to the estimate coin sell all params
func (*EstimateCoinSellAllParams) SetGasPrice ¶
func (o *EstimateCoinSellAllParams) SetGasPrice(gasPrice *uint64)
SetGasPrice adds the gasPrice to the estimate coin sell all params
func (*EstimateCoinSellAllParams) SetHTTPClient ¶
func (o *EstimateCoinSellAllParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the estimate coin sell all params
func (*EstimateCoinSellAllParams) SetHeight ¶
func (o *EstimateCoinSellAllParams) SetHeight(height *uint64)
SetHeight adds the height to the estimate coin sell all params
func (*EstimateCoinSellAllParams) SetTimeout ¶
func (o *EstimateCoinSellAllParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the estimate coin sell all params
func (*EstimateCoinSellAllParams) SetValueToSell ¶
func (o *EstimateCoinSellAllParams) SetValueToSell(valueToSell string)
SetValueToSell adds the valueToSell to the estimate coin sell all params
func (*EstimateCoinSellAllParams) WithCoinIDToBuy ¶
func (o *EstimateCoinSellAllParams) WithCoinIDToBuy(coinIDToBuy *uint64) *EstimateCoinSellAllParams
WithCoinIDToBuy adds the coinIDToBuy to the estimate coin sell all params
func (*EstimateCoinSellAllParams) WithCoinIDToSell ¶
func (o *EstimateCoinSellAllParams) WithCoinIDToSell(coinIDToSell *uint64) *EstimateCoinSellAllParams
WithCoinIDToSell adds the coinIDToSell to the estimate coin sell all params
func (*EstimateCoinSellAllParams) WithCoinToBuy ¶
func (o *EstimateCoinSellAllParams) WithCoinToBuy(coinToBuy *string) *EstimateCoinSellAllParams
WithCoinToBuy adds the coinToBuy to the estimate coin sell all params
func (*EstimateCoinSellAllParams) WithCoinToSell ¶
func (o *EstimateCoinSellAllParams) WithCoinToSell(coinToSell *string) *EstimateCoinSellAllParams
WithCoinToSell adds the coinToSell to the estimate coin sell all params
func (*EstimateCoinSellAllParams) WithContext ¶
func (o *EstimateCoinSellAllParams) WithContext(ctx context.Context) *EstimateCoinSellAllParams
WithContext adds the context to the estimate coin sell all params
func (*EstimateCoinSellAllParams) WithGasPrice ¶
func (o *EstimateCoinSellAllParams) WithGasPrice(gasPrice *uint64) *EstimateCoinSellAllParams
WithGasPrice adds the gasPrice to the estimate coin sell all params
func (*EstimateCoinSellAllParams) WithHTTPClient ¶
func (o *EstimateCoinSellAllParams) WithHTTPClient(client *http.Client) *EstimateCoinSellAllParams
WithHTTPClient adds the HTTPClient to the estimate coin sell all params
func (*EstimateCoinSellAllParams) WithHeight ¶
func (o *EstimateCoinSellAllParams) WithHeight(height *uint64) *EstimateCoinSellAllParams
WithHeight adds the height to the estimate coin sell all params
func (*EstimateCoinSellAllParams) WithTimeout ¶
func (o *EstimateCoinSellAllParams) WithTimeout(timeout time.Duration) *EstimateCoinSellAllParams
WithTimeout adds the timeout to the estimate coin sell all params
func (*EstimateCoinSellAllParams) WithValueToSell ¶
func (o *EstimateCoinSellAllParams) WithValueToSell(valueToSell string) *EstimateCoinSellAllParams
WithValueToSell adds the valueToSell to the estimate coin sell all params
func (*EstimateCoinSellAllParams) WriteToRequest ¶
func (o *EstimateCoinSellAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EstimateCoinSellAllReader ¶
type EstimateCoinSellAllReader struct {
// contains filtered or unexported fields
}
EstimateCoinSellAllReader is a Reader for the EstimateCoinSellAll structure.
func (*EstimateCoinSellAllReader) ReadResponse ¶
func (o *EstimateCoinSellAllReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EstimateCoinSellDefault ¶
type EstimateCoinSellDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
EstimateCoinSellDefault handles this case with default header values.
An unexpected error response.
func NewEstimateCoinSellDefault ¶
func NewEstimateCoinSellDefault(code int) *EstimateCoinSellDefault
NewEstimateCoinSellDefault creates a EstimateCoinSellDefault with default headers values
func (*EstimateCoinSellDefault) Code ¶
func (o *EstimateCoinSellDefault) Code() int
Code gets the status code for the estimate coin sell default response
func (*EstimateCoinSellDefault) Error ¶
func (o *EstimateCoinSellDefault) Error() string
func (*EstimateCoinSellDefault) GetPayload ¶
func (o *EstimateCoinSellDefault) GetPayload() *models.ErrorBody
type EstimateCoinSellOK ¶
type EstimateCoinSellOK struct {
Payload *models.EstimateCoinSellResponse
}
EstimateCoinSellOK handles this case with default header values.
A successful response.
func NewEstimateCoinSellOK ¶
func NewEstimateCoinSellOK() *EstimateCoinSellOK
NewEstimateCoinSellOK creates a EstimateCoinSellOK with default headers values
func (*EstimateCoinSellOK) Error ¶
func (o *EstimateCoinSellOK) Error() string
func (*EstimateCoinSellOK) GetPayload ¶
func (o *EstimateCoinSellOK) GetPayload() *models.EstimateCoinSellResponse
type EstimateCoinSellParams ¶
type EstimateCoinSellParams struct { /*CoinIDToBuy*/ CoinIDToBuy *uint64 /*CoinIDToSell*/ CoinIDToSell *uint64 /*CoinToBuy*/ CoinToBuy *string /*CoinToSell*/ CoinToSell *string /*Height*/ Height *uint64 /*ValueToSell*/ ValueToSell string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EstimateCoinSellParams contains all the parameters to send to the API endpoint for the estimate coin sell operation typically these are written to a http.Request
func NewEstimateCoinSellParams ¶
func NewEstimateCoinSellParams() *EstimateCoinSellParams
NewEstimateCoinSellParams creates a new EstimateCoinSellParams object with the default values initialized.
func NewEstimateCoinSellParamsWithContext ¶
func NewEstimateCoinSellParamsWithContext(ctx context.Context) *EstimateCoinSellParams
NewEstimateCoinSellParamsWithContext creates a new EstimateCoinSellParams object with the default values initialized, and the ability to set a context for a request
func NewEstimateCoinSellParamsWithHTTPClient ¶
func NewEstimateCoinSellParamsWithHTTPClient(client *http.Client) *EstimateCoinSellParams
NewEstimateCoinSellParamsWithHTTPClient creates a new EstimateCoinSellParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEstimateCoinSellParamsWithTimeout ¶
func NewEstimateCoinSellParamsWithTimeout(timeout time.Duration) *EstimateCoinSellParams
NewEstimateCoinSellParamsWithTimeout creates a new EstimateCoinSellParams object with the default values initialized, and the ability to set a timeout on a request
func (*EstimateCoinSellParams) SetCoinIDToBuy ¶
func (o *EstimateCoinSellParams) SetCoinIDToBuy(coinIDToBuy *uint64)
SetCoinIDToBuy adds the coinIdToBuy to the estimate coin sell params
func (*EstimateCoinSellParams) SetCoinIDToSell ¶
func (o *EstimateCoinSellParams) SetCoinIDToSell(coinIDToSell *uint64)
SetCoinIDToSell adds the coinIdToSell to the estimate coin sell params
func (*EstimateCoinSellParams) SetCoinToBuy ¶
func (o *EstimateCoinSellParams) SetCoinToBuy(coinToBuy *string)
SetCoinToBuy adds the coinToBuy to the estimate coin sell params
func (*EstimateCoinSellParams) SetCoinToSell ¶
func (o *EstimateCoinSellParams) SetCoinToSell(coinToSell *string)
SetCoinToSell adds the coinToSell to the estimate coin sell params
func (*EstimateCoinSellParams) SetContext ¶
func (o *EstimateCoinSellParams) SetContext(ctx context.Context)
SetContext adds the context to the estimate coin sell params
func (*EstimateCoinSellParams) SetHTTPClient ¶
func (o *EstimateCoinSellParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the estimate coin sell params
func (*EstimateCoinSellParams) SetHeight ¶
func (o *EstimateCoinSellParams) SetHeight(height *uint64)
SetHeight adds the height to the estimate coin sell params
func (*EstimateCoinSellParams) SetTimeout ¶
func (o *EstimateCoinSellParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the estimate coin sell params
func (*EstimateCoinSellParams) SetValueToSell ¶
func (o *EstimateCoinSellParams) SetValueToSell(valueToSell string)
SetValueToSell adds the valueToSell to the estimate coin sell params
func (*EstimateCoinSellParams) WithCoinIDToBuy ¶
func (o *EstimateCoinSellParams) WithCoinIDToBuy(coinIDToBuy *uint64) *EstimateCoinSellParams
WithCoinIDToBuy adds the coinIDToBuy to the estimate coin sell params
func (*EstimateCoinSellParams) WithCoinIDToSell ¶
func (o *EstimateCoinSellParams) WithCoinIDToSell(coinIDToSell *uint64) *EstimateCoinSellParams
WithCoinIDToSell adds the coinIDToSell to the estimate coin sell params
func (*EstimateCoinSellParams) WithCoinToBuy ¶
func (o *EstimateCoinSellParams) WithCoinToBuy(coinToBuy *string) *EstimateCoinSellParams
WithCoinToBuy adds the coinToBuy to the estimate coin sell params
func (*EstimateCoinSellParams) WithCoinToSell ¶
func (o *EstimateCoinSellParams) WithCoinToSell(coinToSell *string) *EstimateCoinSellParams
WithCoinToSell adds the coinToSell to the estimate coin sell params
func (*EstimateCoinSellParams) WithContext ¶
func (o *EstimateCoinSellParams) WithContext(ctx context.Context) *EstimateCoinSellParams
WithContext adds the context to the estimate coin sell params
func (*EstimateCoinSellParams) WithHTTPClient ¶
func (o *EstimateCoinSellParams) WithHTTPClient(client *http.Client) *EstimateCoinSellParams
WithHTTPClient adds the HTTPClient to the estimate coin sell params
func (*EstimateCoinSellParams) WithHeight ¶
func (o *EstimateCoinSellParams) WithHeight(height *uint64) *EstimateCoinSellParams
WithHeight adds the height to the estimate coin sell params
func (*EstimateCoinSellParams) WithTimeout ¶
func (o *EstimateCoinSellParams) WithTimeout(timeout time.Duration) *EstimateCoinSellParams
WithTimeout adds the timeout to the estimate coin sell params
func (*EstimateCoinSellParams) WithValueToSell ¶
func (o *EstimateCoinSellParams) WithValueToSell(valueToSell string) *EstimateCoinSellParams
WithValueToSell adds the valueToSell to the estimate coin sell params
func (*EstimateCoinSellParams) WriteToRequest ¶
func (o *EstimateCoinSellParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EstimateCoinSellReader ¶
type EstimateCoinSellReader struct {
// contains filtered or unexported fields
}
EstimateCoinSellReader is a Reader for the EstimateCoinSell structure.
func (*EstimateCoinSellReader) ReadResponse ¶
func (o *EstimateCoinSellReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EstimateTxCommissionDefault ¶
type EstimateTxCommissionDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
EstimateTxCommissionDefault handles this case with default header values.
An unexpected error response.
func NewEstimateTxCommissionDefault ¶
func NewEstimateTxCommissionDefault(code int) *EstimateTxCommissionDefault
NewEstimateTxCommissionDefault creates a EstimateTxCommissionDefault with default headers values
func (*EstimateTxCommissionDefault) Code ¶
func (o *EstimateTxCommissionDefault) Code() int
Code gets the status code for the estimate tx commission default response
func (*EstimateTxCommissionDefault) Error ¶
func (o *EstimateTxCommissionDefault) Error() string
func (*EstimateTxCommissionDefault) GetPayload ¶
func (o *EstimateTxCommissionDefault) GetPayload() *models.ErrorBody
type EstimateTxCommissionOK ¶
type EstimateTxCommissionOK struct {
Payload *models.EstimateTxCommissionResponse
}
EstimateTxCommissionOK handles this case with default header values.
A successful response.
func NewEstimateTxCommissionOK ¶
func NewEstimateTxCommissionOK() *EstimateTxCommissionOK
NewEstimateTxCommissionOK creates a EstimateTxCommissionOK with default headers values
func (*EstimateTxCommissionOK) Error ¶
func (o *EstimateTxCommissionOK) Error() string
func (*EstimateTxCommissionOK) GetPayload ¶
func (o *EstimateTxCommissionOK) GetPayload() *models.EstimateTxCommissionResponse
type EstimateTxCommissionParams ¶
type EstimateTxCommissionParams struct { /*Height*/ Height *uint64 /*Tx*/ Tx string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EstimateTxCommissionParams contains all the parameters to send to the API endpoint for the estimate tx commission operation typically these are written to a http.Request
func NewEstimateTxCommissionParams ¶
func NewEstimateTxCommissionParams() *EstimateTxCommissionParams
NewEstimateTxCommissionParams creates a new EstimateTxCommissionParams object with the default values initialized.
func NewEstimateTxCommissionParamsWithContext ¶
func NewEstimateTxCommissionParamsWithContext(ctx context.Context) *EstimateTxCommissionParams
NewEstimateTxCommissionParamsWithContext creates a new EstimateTxCommissionParams object with the default values initialized, and the ability to set a context for a request
func NewEstimateTxCommissionParamsWithHTTPClient ¶
func NewEstimateTxCommissionParamsWithHTTPClient(client *http.Client) *EstimateTxCommissionParams
NewEstimateTxCommissionParamsWithHTTPClient creates a new EstimateTxCommissionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEstimateTxCommissionParamsWithTimeout ¶
func NewEstimateTxCommissionParamsWithTimeout(timeout time.Duration) *EstimateTxCommissionParams
NewEstimateTxCommissionParamsWithTimeout creates a new EstimateTxCommissionParams object with the default values initialized, and the ability to set a timeout on a request
func (*EstimateTxCommissionParams) SetContext ¶
func (o *EstimateTxCommissionParams) SetContext(ctx context.Context)
SetContext adds the context to the estimate tx commission params
func (*EstimateTxCommissionParams) SetHTTPClient ¶
func (o *EstimateTxCommissionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the estimate tx commission params
func (*EstimateTxCommissionParams) SetHeight ¶
func (o *EstimateTxCommissionParams) SetHeight(height *uint64)
SetHeight adds the height to the estimate tx commission params
func (*EstimateTxCommissionParams) SetTimeout ¶
func (o *EstimateTxCommissionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the estimate tx commission params
func (*EstimateTxCommissionParams) SetTx ¶
func (o *EstimateTxCommissionParams) SetTx(tx string)
SetTx adds the tx to the estimate tx commission params
func (*EstimateTxCommissionParams) WithContext ¶
func (o *EstimateTxCommissionParams) WithContext(ctx context.Context) *EstimateTxCommissionParams
WithContext adds the context to the estimate tx commission params
func (*EstimateTxCommissionParams) WithHTTPClient ¶
func (o *EstimateTxCommissionParams) WithHTTPClient(client *http.Client) *EstimateTxCommissionParams
WithHTTPClient adds the HTTPClient to the estimate tx commission params
func (*EstimateTxCommissionParams) WithHeight ¶
func (o *EstimateTxCommissionParams) WithHeight(height *uint64) *EstimateTxCommissionParams
WithHeight adds the height to the estimate tx commission params
func (*EstimateTxCommissionParams) WithTimeout ¶
func (o *EstimateTxCommissionParams) WithTimeout(timeout time.Duration) *EstimateTxCommissionParams
WithTimeout adds the timeout to the estimate tx commission params
func (*EstimateTxCommissionParams) WithTx ¶
func (o *EstimateTxCommissionParams) WithTx(tx string) *EstimateTxCommissionParams
WithTx adds the tx to the estimate tx commission params
func (*EstimateTxCommissionParams) WriteToRequest ¶
func (o *EstimateTxCommissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EstimateTxCommissionReader ¶
type EstimateTxCommissionReader struct {
// contains filtered or unexported fields
}
EstimateTxCommissionReader is a Reader for the EstimateTxCommission structure.
func (*EstimateTxCommissionReader) ReadResponse ¶
func (o *EstimateTxCommissionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EventsDefault ¶
EventsDefault handles this case with default header values.
An unexpected error response.
func NewEventsDefault ¶
func NewEventsDefault(code int) *EventsDefault
NewEventsDefault creates a EventsDefault with default headers values
func (*EventsDefault) Code ¶
func (o *EventsDefault) Code() int
Code gets the status code for the events default response
func (*EventsDefault) Error ¶
func (o *EventsDefault) Error() string
func (*EventsDefault) GetPayload ¶
func (o *EventsDefault) GetPayload() *models.ErrorBody
type EventsOK ¶
type EventsOK struct {
Payload *models.EventsResponse
}
EventsOK handles this case with default header values.
A successful response.
func NewEventsOK ¶
func NewEventsOK() *EventsOK
NewEventsOK creates a EventsOK with default headers values
func (*EventsOK) GetPayload ¶
func (o *EventsOK) GetPayload() *models.EventsResponse
type EventsParams ¶
type EventsParams struct { /*Height*/ Height string /*Search Array of public keys of validators and wallet addresses of validators for filtering. */ Search []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EventsParams contains all the parameters to send to the API endpoint for the events operation typically these are written to a http.Request
func NewEventsParams ¶
func NewEventsParams() *EventsParams
NewEventsParams creates a new EventsParams object with the default values initialized.
func NewEventsParamsWithContext ¶
func NewEventsParamsWithContext(ctx context.Context) *EventsParams
NewEventsParamsWithContext creates a new EventsParams object with the default values initialized, and the ability to set a context for a request
func NewEventsParamsWithHTTPClient ¶
func NewEventsParamsWithHTTPClient(client *http.Client) *EventsParams
NewEventsParamsWithHTTPClient creates a new EventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEventsParamsWithTimeout ¶
func NewEventsParamsWithTimeout(timeout time.Duration) *EventsParams
NewEventsParamsWithTimeout creates a new EventsParams object with the default values initialized, and the ability to set a timeout on a request
func (*EventsParams) SetContext ¶
func (o *EventsParams) SetContext(ctx context.Context)
SetContext adds the context to the events params
func (*EventsParams) SetHTTPClient ¶
func (o *EventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the events params
func (*EventsParams) SetHeight ¶
func (o *EventsParams) SetHeight(height string)
SetHeight adds the height to the events params
func (*EventsParams) SetSearch ¶
func (o *EventsParams) SetSearch(search []string)
SetSearch adds the search to the events params
func (*EventsParams) SetTimeout ¶
func (o *EventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the events params
func (*EventsParams) WithContext ¶
func (o *EventsParams) WithContext(ctx context.Context) *EventsParams
WithContext adds the context to the events params
func (*EventsParams) WithHTTPClient ¶
func (o *EventsParams) WithHTTPClient(client *http.Client) *EventsParams
WithHTTPClient adds the HTTPClient to the events params
func (*EventsParams) WithHeight ¶
func (o *EventsParams) WithHeight(height string) *EventsParams
WithHeight adds the height to the events params
func (*EventsParams) WithSearch ¶
func (o *EventsParams) WithSearch(search []string) *EventsParams
WithSearch adds the search to the events params
func (*EventsParams) WithTimeout ¶
func (o *EventsParams) WithTimeout(timeout time.Duration) *EventsParams
WithTimeout adds the timeout to the events params
func (*EventsParams) WriteToRequest ¶
func (o *EventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EventsReader ¶
type EventsReader struct {
// contains filtered or unexported fields
}
EventsReader is a Reader for the Events structure.
func (*EventsReader) ReadResponse ¶
func (o *EventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FrozenDefault ¶
FrozenDefault handles this case with default header values.
An unexpected error response.
func NewFrozenDefault ¶
func NewFrozenDefault(code int) *FrozenDefault
NewFrozenDefault creates a FrozenDefault with default headers values
func (*FrozenDefault) Code ¶
func (o *FrozenDefault) Code() int
Code gets the status code for the frozen default response
func (*FrozenDefault) Error ¶
func (o *FrozenDefault) Error() string
func (*FrozenDefault) GetPayload ¶
func (o *FrozenDefault) GetPayload() *models.ErrorBody
type FrozenOK ¶
type FrozenOK struct {
Payload *models.FrozenResponse
}
FrozenOK handles this case with default header values.
A successful response.
func NewFrozenOK ¶
func NewFrozenOK() *FrozenOK
NewFrozenOK creates a FrozenOK with default headers values
func (*FrozenOK) GetPayload ¶
func (o *FrozenOK) GetPayload() *models.FrozenResponse
type FrozenParams ¶
type FrozenParams struct { /*Address*/ Address string /*CoinID*/ CoinID *uint64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FrozenParams contains all the parameters to send to the API endpoint for the frozen operation typically these are written to a http.Request
func NewFrozenParams ¶
func NewFrozenParams() *FrozenParams
NewFrozenParams creates a new FrozenParams object with the default values initialized.
func NewFrozenParamsWithContext ¶
func NewFrozenParamsWithContext(ctx context.Context) *FrozenParams
NewFrozenParamsWithContext creates a new FrozenParams object with the default values initialized, and the ability to set a context for a request
func NewFrozenParamsWithHTTPClient ¶
func NewFrozenParamsWithHTTPClient(client *http.Client) *FrozenParams
NewFrozenParamsWithHTTPClient creates a new FrozenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFrozenParamsWithTimeout ¶
func NewFrozenParamsWithTimeout(timeout time.Duration) *FrozenParams
NewFrozenParamsWithTimeout creates a new FrozenParams object with the default values initialized, and the ability to set a timeout on a request
func (*FrozenParams) SetAddress ¶
func (o *FrozenParams) SetAddress(address string)
SetAddress adds the address to the frozen params
func (*FrozenParams) SetCoinID ¶
func (o *FrozenParams) SetCoinID(coinID *uint64)
SetCoinID adds the coinId to the frozen params
func (*FrozenParams) SetContext ¶
func (o *FrozenParams) SetContext(ctx context.Context)
SetContext adds the context to the frozen params
func (*FrozenParams) SetHTTPClient ¶
func (o *FrozenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the frozen params
func (*FrozenParams) SetTimeout ¶
func (o *FrozenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the frozen params
func (*FrozenParams) WithAddress ¶
func (o *FrozenParams) WithAddress(address string) *FrozenParams
WithAddress adds the address to the frozen params
func (*FrozenParams) WithCoinID ¶
func (o *FrozenParams) WithCoinID(coinID *uint64) *FrozenParams
WithCoinID adds the coinID to the frozen params
func (*FrozenParams) WithContext ¶
func (o *FrozenParams) WithContext(ctx context.Context) *FrozenParams
WithContext adds the context to the frozen params
func (*FrozenParams) WithHTTPClient ¶
func (o *FrozenParams) WithHTTPClient(client *http.Client) *FrozenParams
WithHTTPClient adds the HTTPClient to the frozen params
func (*FrozenParams) WithTimeout ¶
func (o *FrozenParams) WithTimeout(timeout time.Duration) *FrozenParams
WithTimeout adds the timeout to the frozen params
func (*FrozenParams) WriteToRequest ¶
func (o *FrozenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FrozenReader ¶
type FrozenReader struct {
// contains filtered or unexported fields
}
FrozenReader is a Reader for the Frozen structure.
func (*FrozenReader) ReadResponse ¶
func (o *FrozenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GenesisDefault ¶
GenesisDefault handles this case with default header values.
An unexpected error response.
func NewGenesisDefault ¶
func NewGenesisDefault(code int) *GenesisDefault
NewGenesisDefault creates a GenesisDefault with default headers values
func (*GenesisDefault) Code ¶
func (o *GenesisDefault) Code() int
Code gets the status code for the genesis default response
func (*GenesisDefault) Error ¶
func (o *GenesisDefault) Error() string
func (*GenesisDefault) GetPayload ¶
func (o *GenesisDefault) GetPayload() *models.ErrorBody
type GenesisOK ¶
type GenesisOK struct {
Payload *models.GenesisResponse
}
GenesisOK handles this case with default header values.
A successful response.
func NewGenesisOK ¶
func NewGenesisOK() *GenesisOK
NewGenesisOK creates a GenesisOK with default headers values
func (*GenesisOK) GetPayload ¶
func (o *GenesisOK) GetPayload() *models.GenesisResponse
type GenesisParams ¶
type GenesisParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GenesisParams contains all the parameters to send to the API endpoint for the genesis operation typically these are written to a http.Request
func NewGenesisParams ¶
func NewGenesisParams() *GenesisParams
NewGenesisParams creates a new GenesisParams object with the default values initialized.
func NewGenesisParamsWithContext ¶
func NewGenesisParamsWithContext(ctx context.Context) *GenesisParams
NewGenesisParamsWithContext creates a new GenesisParams object with the default values initialized, and the ability to set a context for a request
func NewGenesisParamsWithHTTPClient ¶
func NewGenesisParamsWithHTTPClient(client *http.Client) *GenesisParams
NewGenesisParamsWithHTTPClient creates a new GenesisParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGenesisParamsWithTimeout ¶
func NewGenesisParamsWithTimeout(timeout time.Duration) *GenesisParams
NewGenesisParamsWithTimeout creates a new GenesisParams object with the default values initialized, and the ability to set a timeout on a request
func (*GenesisParams) SetContext ¶
func (o *GenesisParams) SetContext(ctx context.Context)
SetContext adds the context to the genesis params
func (*GenesisParams) SetHTTPClient ¶
func (o *GenesisParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the genesis params
func (*GenesisParams) SetTimeout ¶
func (o *GenesisParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the genesis params
func (*GenesisParams) WithContext ¶
func (o *GenesisParams) WithContext(ctx context.Context) *GenesisParams
WithContext adds the context to the genesis params
func (*GenesisParams) WithHTTPClient ¶
func (o *GenesisParams) WithHTTPClient(client *http.Client) *GenesisParams
WithHTTPClient adds the HTTPClient to the genesis params
func (*GenesisParams) WithTimeout ¶
func (o *GenesisParams) WithTimeout(timeout time.Duration) *GenesisParams
WithTimeout adds the timeout to the genesis params
func (*GenesisParams) WriteToRequest ¶
func (o *GenesisParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GenesisReader ¶
type GenesisReader struct {
// contains filtered or unexported fields
}
GenesisReader is a Reader for the Genesis structure.
func (*GenesisReader) ReadResponse ¶
func (o *GenesisReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HaltsDefault ¶
HaltsDefault handles this case with default header values.
An unexpected error response.
func NewHaltsDefault ¶
func NewHaltsDefault(code int) *HaltsDefault
NewHaltsDefault creates a HaltsDefault with default headers values
func (*HaltsDefault) Code ¶
func (o *HaltsDefault) Code() int
Code gets the status code for the halts default response
func (*HaltsDefault) Error ¶
func (o *HaltsDefault) Error() string
func (*HaltsDefault) GetPayload ¶
func (o *HaltsDefault) GetPayload() *models.ErrorBody
type HaltsOK ¶
type HaltsOK struct {
Payload *models.HaltsResponse
}
HaltsOK handles this case with default header values.
A successful response.
func NewHaltsOK ¶
func NewHaltsOK() *HaltsOK
NewHaltsOK creates a HaltsOK with default headers values
func (*HaltsOK) GetPayload ¶
func (o *HaltsOK) GetPayload() *models.HaltsResponse
type HaltsParams ¶
type HaltsParams struct { /*Height*/ Height string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HaltsParams contains all the parameters to send to the API endpoint for the halts operation typically these are written to a http.Request
func NewHaltsParams ¶
func NewHaltsParams() *HaltsParams
NewHaltsParams creates a new HaltsParams object with the default values initialized.
func NewHaltsParamsWithContext ¶
func NewHaltsParamsWithContext(ctx context.Context) *HaltsParams
NewHaltsParamsWithContext creates a new HaltsParams object with the default values initialized, and the ability to set a context for a request
func NewHaltsParamsWithHTTPClient ¶
func NewHaltsParamsWithHTTPClient(client *http.Client) *HaltsParams
NewHaltsParamsWithHTTPClient creates a new HaltsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewHaltsParamsWithTimeout ¶
func NewHaltsParamsWithTimeout(timeout time.Duration) *HaltsParams
NewHaltsParamsWithTimeout creates a new HaltsParams object with the default values initialized, and the ability to set a timeout on a request
func (*HaltsParams) SetContext ¶
func (o *HaltsParams) SetContext(ctx context.Context)
SetContext adds the context to the halts params
func (*HaltsParams) SetHTTPClient ¶
func (o *HaltsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the halts params
func (*HaltsParams) SetHeight ¶
func (o *HaltsParams) SetHeight(height string)
SetHeight adds the height to the halts params
func (*HaltsParams) SetTimeout ¶
func (o *HaltsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the halts params
func (*HaltsParams) WithContext ¶
func (o *HaltsParams) WithContext(ctx context.Context) *HaltsParams
WithContext adds the context to the halts params
func (*HaltsParams) WithHTTPClient ¶
func (o *HaltsParams) WithHTTPClient(client *http.Client) *HaltsParams
WithHTTPClient adds the HTTPClient to the halts params
func (*HaltsParams) WithHeight ¶
func (o *HaltsParams) WithHeight(height string) *HaltsParams
WithHeight adds the height to the halts params
func (*HaltsParams) WithTimeout ¶
func (o *HaltsParams) WithTimeout(timeout time.Duration) *HaltsParams
WithTimeout adds the timeout to the halts params
func (*HaltsParams) WriteToRequest ¶
func (o *HaltsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HaltsReader ¶
type HaltsReader struct {
// contains filtered or unexported fields
}
HaltsReader is a Reader for the Halts structure.
func (*HaltsReader) ReadResponse ¶
func (o *HaltsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MaxGasPriceDefault ¶
type MaxGasPriceDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
MaxGasPriceDefault handles this case with default header values.
An unexpected error response.
func NewMaxGasPriceDefault ¶
func NewMaxGasPriceDefault(code int) *MaxGasPriceDefault
NewMaxGasPriceDefault creates a MaxGasPriceDefault with default headers values
func (*MaxGasPriceDefault) Code ¶
func (o *MaxGasPriceDefault) Code() int
Code gets the status code for the max gas price default response
func (*MaxGasPriceDefault) Error ¶
func (o *MaxGasPriceDefault) Error() string
func (*MaxGasPriceDefault) GetPayload ¶
func (o *MaxGasPriceDefault) GetPayload() *models.ErrorBody
type MaxGasPriceOK ¶
type MaxGasPriceOK struct {
Payload *models.MaxGasPriceResponse
}
MaxGasPriceOK handles this case with default header values.
A successful response.
func NewMaxGasPriceOK ¶
func NewMaxGasPriceOK() *MaxGasPriceOK
NewMaxGasPriceOK creates a MaxGasPriceOK with default headers values
func (*MaxGasPriceOK) Error ¶
func (o *MaxGasPriceOK) Error() string
func (*MaxGasPriceOK) GetPayload ¶
func (o *MaxGasPriceOK) GetPayload() *models.MaxGasPriceResponse
type MaxGasPriceParams ¶
type MaxGasPriceParams struct { /*Height*/ Height *uint64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MaxGasPriceParams contains all the parameters to send to the API endpoint for the max gas price operation typically these are written to a http.Request
func NewMaxGasPriceParams ¶
func NewMaxGasPriceParams() *MaxGasPriceParams
NewMaxGasPriceParams creates a new MaxGasPriceParams object with the default values initialized.
func NewMaxGasPriceParamsWithContext ¶
func NewMaxGasPriceParamsWithContext(ctx context.Context) *MaxGasPriceParams
NewMaxGasPriceParamsWithContext creates a new MaxGasPriceParams object with the default values initialized, and the ability to set a context for a request
func NewMaxGasPriceParamsWithHTTPClient ¶
func NewMaxGasPriceParamsWithHTTPClient(client *http.Client) *MaxGasPriceParams
NewMaxGasPriceParamsWithHTTPClient creates a new MaxGasPriceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMaxGasPriceParamsWithTimeout ¶
func NewMaxGasPriceParamsWithTimeout(timeout time.Duration) *MaxGasPriceParams
NewMaxGasPriceParamsWithTimeout creates a new MaxGasPriceParams object with the default values initialized, and the ability to set a timeout on a request
func (*MaxGasPriceParams) SetContext ¶
func (o *MaxGasPriceParams) SetContext(ctx context.Context)
SetContext adds the context to the max gas price params
func (*MaxGasPriceParams) SetHTTPClient ¶
func (o *MaxGasPriceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the max gas price params
func (*MaxGasPriceParams) SetHeight ¶
func (o *MaxGasPriceParams) SetHeight(height *uint64)
SetHeight adds the height to the max gas price params
func (*MaxGasPriceParams) SetTimeout ¶
func (o *MaxGasPriceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the max gas price params
func (*MaxGasPriceParams) WithContext ¶
func (o *MaxGasPriceParams) WithContext(ctx context.Context) *MaxGasPriceParams
WithContext adds the context to the max gas price params
func (*MaxGasPriceParams) WithHTTPClient ¶
func (o *MaxGasPriceParams) WithHTTPClient(client *http.Client) *MaxGasPriceParams
WithHTTPClient adds the HTTPClient to the max gas price params
func (*MaxGasPriceParams) WithHeight ¶
func (o *MaxGasPriceParams) WithHeight(height *uint64) *MaxGasPriceParams
WithHeight adds the height to the max gas price params
func (*MaxGasPriceParams) WithTimeout ¶
func (o *MaxGasPriceParams) WithTimeout(timeout time.Duration) *MaxGasPriceParams
WithTimeout adds the timeout to the max gas price params
func (*MaxGasPriceParams) WriteToRequest ¶
func (o *MaxGasPriceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MaxGasPriceReader ¶
type MaxGasPriceReader struct {
// contains filtered or unexported fields
}
MaxGasPriceReader is a Reader for the MaxGasPrice structure.
func (*MaxGasPriceReader) ReadResponse ¶
func (o *MaxGasPriceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MinGasPriceDefault ¶
type MinGasPriceDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
MinGasPriceDefault handles this case with default header values.
An unexpected error response.
func NewMinGasPriceDefault ¶
func NewMinGasPriceDefault(code int) *MinGasPriceDefault
NewMinGasPriceDefault creates a MinGasPriceDefault with default headers values
func (*MinGasPriceDefault) Code ¶
func (o *MinGasPriceDefault) Code() int
Code gets the status code for the min gas price default response
func (*MinGasPriceDefault) Error ¶
func (o *MinGasPriceDefault) Error() string
func (*MinGasPriceDefault) GetPayload ¶
func (o *MinGasPriceDefault) GetPayload() *models.ErrorBody
type MinGasPriceOK ¶
type MinGasPriceOK struct {
Payload *models.MinGasPriceResponse
}
MinGasPriceOK handles this case with default header values.
A successful response.
func NewMinGasPriceOK ¶
func NewMinGasPriceOK() *MinGasPriceOK
NewMinGasPriceOK creates a MinGasPriceOK with default headers values
func (*MinGasPriceOK) Error ¶
func (o *MinGasPriceOK) Error() string
func (*MinGasPriceOK) GetPayload ¶
func (o *MinGasPriceOK) GetPayload() *models.MinGasPriceResponse
type MinGasPriceParams ¶
type MinGasPriceParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MinGasPriceParams contains all the parameters to send to the API endpoint for the min gas price operation typically these are written to a http.Request
func NewMinGasPriceParams ¶
func NewMinGasPriceParams() *MinGasPriceParams
NewMinGasPriceParams creates a new MinGasPriceParams object with the default values initialized.
func NewMinGasPriceParamsWithContext ¶
func NewMinGasPriceParamsWithContext(ctx context.Context) *MinGasPriceParams
NewMinGasPriceParamsWithContext creates a new MinGasPriceParams object with the default values initialized, and the ability to set a context for a request
func NewMinGasPriceParamsWithHTTPClient ¶
func NewMinGasPriceParamsWithHTTPClient(client *http.Client) *MinGasPriceParams
NewMinGasPriceParamsWithHTTPClient creates a new MinGasPriceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMinGasPriceParamsWithTimeout ¶
func NewMinGasPriceParamsWithTimeout(timeout time.Duration) *MinGasPriceParams
NewMinGasPriceParamsWithTimeout creates a new MinGasPriceParams object with the default values initialized, and the ability to set a timeout on a request
func (*MinGasPriceParams) SetContext ¶
func (o *MinGasPriceParams) SetContext(ctx context.Context)
SetContext adds the context to the min gas price params
func (*MinGasPriceParams) SetHTTPClient ¶
func (o *MinGasPriceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the min gas price params
func (*MinGasPriceParams) SetTimeout ¶
func (o *MinGasPriceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the min gas price params
func (*MinGasPriceParams) WithContext ¶
func (o *MinGasPriceParams) WithContext(ctx context.Context) *MinGasPriceParams
WithContext adds the context to the min gas price params
func (*MinGasPriceParams) WithHTTPClient ¶
func (o *MinGasPriceParams) WithHTTPClient(client *http.Client) *MinGasPriceParams
WithHTTPClient adds the HTTPClient to the min gas price params
func (*MinGasPriceParams) WithTimeout ¶
func (o *MinGasPriceParams) WithTimeout(timeout time.Duration) *MinGasPriceParams
WithTimeout adds the timeout to the min gas price params
func (*MinGasPriceParams) WriteToRequest ¶
func (o *MinGasPriceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MinGasPriceReader ¶
type MinGasPriceReader struct {
// contains filtered or unexported fields
}
MinGasPriceReader is a Reader for the MinGasPrice structure.
func (*MinGasPriceReader) ReadResponse ¶
func (o *MinGasPriceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MissedBlocksDefault ¶
type MissedBlocksDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
MissedBlocksDefault handles this case with default header values.
An unexpected error response.
func NewMissedBlocksDefault ¶
func NewMissedBlocksDefault(code int) *MissedBlocksDefault
NewMissedBlocksDefault creates a MissedBlocksDefault with default headers values
func (*MissedBlocksDefault) Code ¶
func (o *MissedBlocksDefault) Code() int
Code gets the status code for the missed blocks default response
func (*MissedBlocksDefault) Error ¶
func (o *MissedBlocksDefault) Error() string
func (*MissedBlocksDefault) GetPayload ¶
func (o *MissedBlocksDefault) GetPayload() *models.ErrorBody
type MissedBlocksOK ¶
type MissedBlocksOK struct {
Payload *models.MissedBlocksResponse
}
MissedBlocksOK handles this case with default header values.
A successful response.
func NewMissedBlocksOK ¶
func NewMissedBlocksOK() *MissedBlocksOK
NewMissedBlocksOK creates a MissedBlocksOK with default headers values
func (*MissedBlocksOK) Error ¶
func (o *MissedBlocksOK) Error() string
func (*MissedBlocksOK) GetPayload ¶
func (o *MissedBlocksOK) GetPayload() *models.MissedBlocksResponse
type MissedBlocksParams ¶
type MissedBlocksParams struct { /*Height*/ Height *uint64 /*PublicKey*/ PublicKey string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MissedBlocksParams contains all the parameters to send to the API endpoint for the missed blocks operation typically these are written to a http.Request
func NewMissedBlocksParams ¶
func NewMissedBlocksParams() *MissedBlocksParams
NewMissedBlocksParams creates a new MissedBlocksParams object with the default values initialized.
func NewMissedBlocksParamsWithContext ¶
func NewMissedBlocksParamsWithContext(ctx context.Context) *MissedBlocksParams
NewMissedBlocksParamsWithContext creates a new MissedBlocksParams object with the default values initialized, and the ability to set a context for a request
func NewMissedBlocksParamsWithHTTPClient ¶
func NewMissedBlocksParamsWithHTTPClient(client *http.Client) *MissedBlocksParams
NewMissedBlocksParamsWithHTTPClient creates a new MissedBlocksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMissedBlocksParamsWithTimeout ¶
func NewMissedBlocksParamsWithTimeout(timeout time.Duration) *MissedBlocksParams
NewMissedBlocksParamsWithTimeout creates a new MissedBlocksParams object with the default values initialized, and the ability to set a timeout on a request
func (*MissedBlocksParams) SetContext ¶
func (o *MissedBlocksParams) SetContext(ctx context.Context)
SetContext adds the context to the missed blocks params
func (*MissedBlocksParams) SetHTTPClient ¶
func (o *MissedBlocksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the missed blocks params
func (*MissedBlocksParams) SetHeight ¶
func (o *MissedBlocksParams) SetHeight(height *uint64)
SetHeight adds the height to the missed blocks params
func (*MissedBlocksParams) SetPublicKey ¶
func (o *MissedBlocksParams) SetPublicKey(publicKey string)
SetPublicKey adds the publicKey to the missed blocks params
func (*MissedBlocksParams) SetTimeout ¶
func (o *MissedBlocksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the missed blocks params
func (*MissedBlocksParams) WithContext ¶
func (o *MissedBlocksParams) WithContext(ctx context.Context) *MissedBlocksParams
WithContext adds the context to the missed blocks params
func (*MissedBlocksParams) WithHTTPClient ¶
func (o *MissedBlocksParams) WithHTTPClient(client *http.Client) *MissedBlocksParams
WithHTTPClient adds the HTTPClient to the missed blocks params
func (*MissedBlocksParams) WithHeight ¶
func (o *MissedBlocksParams) WithHeight(height *uint64) *MissedBlocksParams
WithHeight adds the height to the missed blocks params
func (*MissedBlocksParams) WithPublicKey ¶
func (o *MissedBlocksParams) WithPublicKey(publicKey string) *MissedBlocksParams
WithPublicKey adds the publicKey to the missed blocks params
func (*MissedBlocksParams) WithTimeout ¶
func (o *MissedBlocksParams) WithTimeout(timeout time.Duration) *MissedBlocksParams
WithTimeout adds the timeout to the missed blocks params
func (*MissedBlocksParams) WriteToRequest ¶
func (o *MissedBlocksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MissedBlocksReader ¶
type MissedBlocksReader struct {
// contains filtered or unexported fields
}
MissedBlocksReader is a Reader for the MissedBlocks structure.
func (*MissedBlocksReader) ReadResponse ¶
func (o *MissedBlocksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type NetInfoDefault ¶
NetInfoDefault handles this case with default header values.
An unexpected error response.
func NewNetInfoDefault ¶
func NewNetInfoDefault(code int) *NetInfoDefault
NewNetInfoDefault creates a NetInfoDefault with default headers values
func (*NetInfoDefault) Code ¶
func (o *NetInfoDefault) Code() int
Code gets the status code for the net info default response
func (*NetInfoDefault) Error ¶
func (o *NetInfoDefault) Error() string
func (*NetInfoDefault) GetPayload ¶
func (o *NetInfoDefault) GetPayload() *models.ErrorBody
type NetInfoOK ¶
type NetInfoOK struct {
Payload *models.NetInfoResponse
}
NetInfoOK handles this case with default header values.
A successful response.
func NewNetInfoOK ¶
func NewNetInfoOK() *NetInfoOK
NewNetInfoOK creates a NetInfoOK with default headers values
func (*NetInfoOK) GetPayload ¶
func (o *NetInfoOK) GetPayload() *models.NetInfoResponse
type NetInfoParams ¶
type NetInfoParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
NetInfoParams contains all the parameters to send to the API endpoint for the net info operation typically these are written to a http.Request
func NewNetInfoParams ¶
func NewNetInfoParams() *NetInfoParams
NewNetInfoParams creates a new NetInfoParams object with the default values initialized.
func NewNetInfoParamsWithContext ¶
func NewNetInfoParamsWithContext(ctx context.Context) *NetInfoParams
NewNetInfoParamsWithContext creates a new NetInfoParams object with the default values initialized, and the ability to set a context for a request
func NewNetInfoParamsWithHTTPClient ¶
func NewNetInfoParamsWithHTTPClient(client *http.Client) *NetInfoParams
NewNetInfoParamsWithHTTPClient creates a new NetInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewNetInfoParamsWithTimeout ¶
func NewNetInfoParamsWithTimeout(timeout time.Duration) *NetInfoParams
NewNetInfoParamsWithTimeout creates a new NetInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*NetInfoParams) SetContext ¶
func (o *NetInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the net info params
func (*NetInfoParams) SetHTTPClient ¶
func (o *NetInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the net info params
func (*NetInfoParams) SetTimeout ¶
func (o *NetInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the net info params
func (*NetInfoParams) WithContext ¶
func (o *NetInfoParams) WithContext(ctx context.Context) *NetInfoParams
WithContext adds the context to the net info params
func (*NetInfoParams) WithHTTPClient ¶
func (o *NetInfoParams) WithHTTPClient(client *http.Client) *NetInfoParams
WithHTTPClient adds the HTTPClient to the net info params
func (*NetInfoParams) WithTimeout ¶
func (o *NetInfoParams) WithTimeout(timeout time.Duration) *NetInfoParams
WithTimeout adds the timeout to the net info params
func (*NetInfoParams) WriteToRequest ¶
func (o *NetInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NetInfoReader ¶
type NetInfoReader struct {
// contains filtered or unexported fields
}
NetInfoReader is a Reader for the NetInfo structure.
func (*NetInfoReader) ReadResponse ¶
func (o *NetInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SendTransaction2Default ¶
type SendTransaction2Default struct { Payload *models.ErrorBody // contains filtered or unexported fields }
SendTransaction2Default handles this case with default header values.
An unexpected error response.
func NewSendTransaction2Default ¶
func NewSendTransaction2Default(code int) *SendTransaction2Default
NewSendTransaction2Default creates a SendTransaction2Default with default headers values
func (*SendTransaction2Default) Code ¶
func (o *SendTransaction2Default) Code() int
Code gets the status code for the send transaction2 default response
func (*SendTransaction2Default) Error ¶
func (o *SendTransaction2Default) Error() string
func (*SendTransaction2Default) GetPayload ¶
func (o *SendTransaction2Default) GetPayload() *models.ErrorBody
type SendTransaction2OK ¶
type SendTransaction2OK struct {
Payload *models.SendTransactionResponse
}
SendTransaction2OK handles this case with default header values.
A successful response.
func NewSendTransaction2OK ¶
func NewSendTransaction2OK() *SendTransaction2OK
NewSendTransaction2OK creates a SendTransaction2OK with default headers values
func (*SendTransaction2OK) Error ¶
func (o *SendTransaction2OK) Error() string
func (*SendTransaction2OK) GetPayload ¶
func (o *SendTransaction2OK) GetPayload() *models.SendTransactionResponse
type SendTransaction2Params ¶
type SendTransaction2Params struct { /*Body*/ Body *models.SendTransactionRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendTransaction2Params contains all the parameters to send to the API endpoint for the send transaction2 operation typically these are written to a http.Request
func NewSendTransaction2Params ¶
func NewSendTransaction2Params() *SendTransaction2Params
NewSendTransaction2Params creates a new SendTransaction2Params object with the default values initialized.
func NewSendTransaction2ParamsWithContext ¶
func NewSendTransaction2ParamsWithContext(ctx context.Context) *SendTransaction2Params
NewSendTransaction2ParamsWithContext creates a new SendTransaction2Params object with the default values initialized, and the ability to set a context for a request
func NewSendTransaction2ParamsWithHTTPClient ¶
func NewSendTransaction2ParamsWithHTTPClient(client *http.Client) *SendTransaction2Params
NewSendTransaction2ParamsWithHTTPClient creates a new SendTransaction2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSendTransaction2ParamsWithTimeout ¶
func NewSendTransaction2ParamsWithTimeout(timeout time.Duration) *SendTransaction2Params
NewSendTransaction2ParamsWithTimeout creates a new SendTransaction2Params object with the default values initialized, and the ability to set a timeout on a request
func (*SendTransaction2Params) SetBody ¶
func (o *SendTransaction2Params) SetBody(body *models.SendTransactionRequest)
SetBody adds the body to the send transaction2 params
func (*SendTransaction2Params) SetContext ¶
func (o *SendTransaction2Params) SetContext(ctx context.Context)
SetContext adds the context to the send transaction2 params
func (*SendTransaction2Params) SetHTTPClient ¶
func (o *SendTransaction2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send transaction2 params
func (*SendTransaction2Params) SetTimeout ¶
func (o *SendTransaction2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send transaction2 params
func (*SendTransaction2Params) WithBody ¶
func (o *SendTransaction2Params) WithBody(body *models.SendTransactionRequest) *SendTransaction2Params
WithBody adds the body to the send transaction2 params
func (*SendTransaction2Params) WithContext ¶
func (o *SendTransaction2Params) WithContext(ctx context.Context) *SendTransaction2Params
WithContext adds the context to the send transaction2 params
func (*SendTransaction2Params) WithHTTPClient ¶
func (o *SendTransaction2Params) WithHTTPClient(client *http.Client) *SendTransaction2Params
WithHTTPClient adds the HTTPClient to the send transaction2 params
func (*SendTransaction2Params) WithTimeout ¶
func (o *SendTransaction2Params) WithTimeout(timeout time.Duration) *SendTransaction2Params
WithTimeout adds the timeout to the send transaction2 params
func (*SendTransaction2Params) WriteToRequest ¶
func (o *SendTransaction2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SendTransaction2Reader ¶
type SendTransaction2Reader struct {
// contains filtered or unexported fields
}
SendTransaction2Reader is a Reader for the SendTransaction2 structure.
func (*SendTransaction2Reader) ReadResponse ¶
func (o *SendTransaction2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SendTransactionDefault ¶
type SendTransactionDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
SendTransactionDefault handles this case with default header values.
An unexpected error response.
func NewSendTransactionDefault ¶
func NewSendTransactionDefault(code int) *SendTransactionDefault
NewSendTransactionDefault creates a SendTransactionDefault with default headers values
func (*SendTransactionDefault) Code ¶
func (o *SendTransactionDefault) Code() int
Code gets the status code for the send transaction default response
func (*SendTransactionDefault) Error ¶
func (o *SendTransactionDefault) Error() string
func (*SendTransactionDefault) GetPayload ¶
func (o *SendTransactionDefault) GetPayload() *models.ErrorBody
type SendTransactionOK ¶
type SendTransactionOK struct {
Payload *models.SendTransactionResponse
}
SendTransactionOK handles this case with default header values.
A successful response.
func NewSendTransactionOK ¶
func NewSendTransactionOK() *SendTransactionOK
NewSendTransactionOK creates a SendTransactionOK with default headers values
func (*SendTransactionOK) Error ¶
func (o *SendTransactionOK) Error() string
func (*SendTransactionOK) GetPayload ¶
func (o *SendTransactionOK) GetPayload() *models.SendTransactionResponse
type SendTransactionParams ¶
type SendTransactionParams struct { /*Tx*/ Tx string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendTransactionParams contains all the parameters to send to the API endpoint for the send transaction operation typically these are written to a http.Request
func NewSendTransactionParams ¶
func NewSendTransactionParams() *SendTransactionParams
NewSendTransactionParams creates a new SendTransactionParams object with the default values initialized.
func NewSendTransactionParamsWithContext ¶
func NewSendTransactionParamsWithContext(ctx context.Context) *SendTransactionParams
NewSendTransactionParamsWithContext creates a new SendTransactionParams object with the default values initialized, and the ability to set a context for a request
func NewSendTransactionParamsWithHTTPClient ¶
func NewSendTransactionParamsWithHTTPClient(client *http.Client) *SendTransactionParams
NewSendTransactionParamsWithHTTPClient creates a new SendTransactionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSendTransactionParamsWithTimeout ¶
func NewSendTransactionParamsWithTimeout(timeout time.Duration) *SendTransactionParams
NewSendTransactionParamsWithTimeout creates a new SendTransactionParams object with the default values initialized, and the ability to set a timeout on a request
func (*SendTransactionParams) SetContext ¶
func (o *SendTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the send transaction params
func (*SendTransactionParams) SetHTTPClient ¶
func (o *SendTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send transaction params
func (*SendTransactionParams) SetTimeout ¶
func (o *SendTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send transaction params
func (*SendTransactionParams) SetTx ¶
func (o *SendTransactionParams) SetTx(tx string)
SetTx adds the tx to the send transaction params
func (*SendTransactionParams) WithContext ¶
func (o *SendTransactionParams) WithContext(ctx context.Context) *SendTransactionParams
WithContext adds the context to the send transaction params
func (*SendTransactionParams) WithHTTPClient ¶
func (o *SendTransactionParams) WithHTTPClient(client *http.Client) *SendTransactionParams
WithHTTPClient adds the HTTPClient to the send transaction params
func (*SendTransactionParams) WithTimeout ¶
func (o *SendTransactionParams) WithTimeout(timeout time.Duration) *SendTransactionParams
WithTimeout adds the timeout to the send transaction params
func (*SendTransactionParams) WithTx ¶
func (o *SendTransactionParams) WithTx(tx string) *SendTransactionParams
WithTx adds the tx to the send transaction params
func (*SendTransactionParams) WriteToRequest ¶
func (o *SendTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SendTransactionReader ¶
type SendTransactionReader struct {
// contains filtered or unexported fields
}
SendTransactionReader is a Reader for the SendTransaction structure.
func (*SendTransactionReader) ReadResponse ¶
func (o *SendTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StatusDefault ¶
StatusDefault handles this case with default header values.
An unexpected error response.
func NewStatusDefault ¶
func NewStatusDefault(code int) *StatusDefault
NewStatusDefault creates a StatusDefault with default headers values
func (*StatusDefault) Code ¶
func (o *StatusDefault) Code() int
Code gets the status code for the status default response
func (*StatusDefault) Error ¶
func (o *StatusDefault) Error() string
func (*StatusDefault) GetPayload ¶
func (o *StatusDefault) GetPayload() *models.ErrorBody
type StatusOK ¶
type StatusOK struct {
Payload *models.StatusResponse
}
StatusOK handles this case with default header values.
A successful response.
func NewStatusOK ¶
func NewStatusOK() *StatusOK
NewStatusOK creates a StatusOK with default headers values
func (*StatusOK) GetPayload ¶
func (o *StatusOK) GetPayload() *models.StatusResponse
type StatusParams ¶
type StatusParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StatusParams contains all the parameters to send to the API endpoint for the status operation typically these are written to a http.Request
func NewStatusParams ¶
func NewStatusParams() *StatusParams
NewStatusParams creates a new StatusParams object with the default values initialized.
func NewStatusParamsWithContext ¶
func NewStatusParamsWithContext(ctx context.Context) *StatusParams
NewStatusParamsWithContext creates a new StatusParams object with the default values initialized, and the ability to set a context for a request
func NewStatusParamsWithHTTPClient ¶
func NewStatusParamsWithHTTPClient(client *http.Client) *StatusParams
NewStatusParamsWithHTTPClient creates a new StatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStatusParamsWithTimeout ¶
func NewStatusParamsWithTimeout(timeout time.Duration) *StatusParams
NewStatusParamsWithTimeout creates a new StatusParams object with the default values initialized, and the ability to set a timeout on a request
func (*StatusParams) SetContext ¶
func (o *StatusParams) SetContext(ctx context.Context)
SetContext adds the context to the status params
func (*StatusParams) SetHTTPClient ¶
func (o *StatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the status params
func (*StatusParams) SetTimeout ¶
func (o *StatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the status params
func (*StatusParams) WithContext ¶
func (o *StatusParams) WithContext(ctx context.Context) *StatusParams
WithContext adds the context to the status params
func (*StatusParams) WithHTTPClient ¶
func (o *StatusParams) WithHTTPClient(client *http.Client) *StatusParams
WithHTTPClient adds the HTTPClient to the status params
func (*StatusParams) WithTimeout ¶
func (o *StatusParams) WithTimeout(timeout time.Duration) *StatusParams
WithTimeout adds the timeout to the status params
func (*StatusParams) WriteToRequest ¶
func (o *StatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StatusReader ¶
type StatusReader struct {
// contains filtered or unexported fields
}
StatusReader is a Reader for the Status structure.
func (*StatusReader) ReadResponse ¶
func (o *StatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SubscribeDefault ¶
type SubscribeDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
SubscribeDefault handles this case with default header values.
An unexpected error response.
func NewSubscribeDefault ¶
func NewSubscribeDefault(code int) *SubscribeDefault
NewSubscribeDefault creates a SubscribeDefault with default headers values
func (*SubscribeDefault) Code ¶
func (o *SubscribeDefault) Code() int
Code gets the status code for the subscribe default response
func (*SubscribeDefault) Error ¶
func (o *SubscribeDefault) Error() string
func (*SubscribeDefault) GetPayload ¶
func (o *SubscribeDefault) GetPayload() *models.ErrorBody
type SubscribeOK ¶
type SubscribeOK struct {
Payload *SubscribeOKBody
}
SubscribeOK handles this case with default header values.
A successful response.(streaming responses)
func NewSubscribeOK ¶
func NewSubscribeOK() *SubscribeOK
NewSubscribeOK creates a SubscribeOK with default headers values
func (*SubscribeOK) Error ¶
func (o *SubscribeOK) Error() string
func (*SubscribeOK) GetPayload ¶
func (o *SubscribeOK) GetPayload() *SubscribeOKBody
type SubscribeOKBody ¶
type SubscribeOKBody struct { // error Error *models.RuntimeStreamError `json:"error,omitempty"` // result Result *models.SubscribeResponse `json:"result,omitempty"` }
SubscribeOKBody Stream result of SubscribeResponse swagger:model SubscribeOKBody
func (*SubscribeOKBody) MarshalBinary ¶
func (o *SubscribeOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscribeOKBody) UnmarshalBinary ¶
func (o *SubscribeOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscribeParams ¶
type SubscribeParams struct { /*Query tm.event = 'NewBlock' or tm.event = 'Tx' */ Query string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SubscribeParams contains all the parameters to send to the API endpoint for the subscribe operation typically these are written to a http.Request
func NewSubscribeParams ¶
func NewSubscribeParams() *SubscribeParams
NewSubscribeParams creates a new SubscribeParams object with the default values initialized.
func NewSubscribeParamsWithContext ¶
func NewSubscribeParamsWithContext(ctx context.Context) *SubscribeParams
NewSubscribeParamsWithContext creates a new SubscribeParams object with the default values initialized, and the ability to set a context for a request
func NewSubscribeParamsWithHTTPClient ¶
func NewSubscribeParamsWithHTTPClient(client *http.Client) *SubscribeParams
NewSubscribeParamsWithHTTPClient creates a new SubscribeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSubscribeParamsWithTimeout ¶
func NewSubscribeParamsWithTimeout(timeout time.Duration) *SubscribeParams
NewSubscribeParamsWithTimeout creates a new SubscribeParams object with the default values initialized, and the ability to set a timeout on a request
func (*SubscribeParams) SetContext ¶
func (o *SubscribeParams) SetContext(ctx context.Context)
SetContext adds the context to the subscribe params
func (*SubscribeParams) SetHTTPClient ¶
func (o *SubscribeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the subscribe params
func (*SubscribeParams) SetQuery ¶
func (o *SubscribeParams) SetQuery(query string)
SetQuery adds the query to the subscribe params
func (*SubscribeParams) SetTimeout ¶
func (o *SubscribeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the subscribe params
func (*SubscribeParams) WithContext ¶
func (o *SubscribeParams) WithContext(ctx context.Context) *SubscribeParams
WithContext adds the context to the subscribe params
func (*SubscribeParams) WithHTTPClient ¶
func (o *SubscribeParams) WithHTTPClient(client *http.Client) *SubscribeParams
WithHTTPClient adds the HTTPClient to the subscribe params
func (*SubscribeParams) WithQuery ¶
func (o *SubscribeParams) WithQuery(query string) *SubscribeParams
WithQuery adds the query to the subscribe params
func (*SubscribeParams) WithTimeout ¶
func (o *SubscribeParams) WithTimeout(timeout time.Duration) *SubscribeParams
WithTimeout adds the timeout to the subscribe params
func (*SubscribeParams) WriteToRequest ¶
func (o *SubscribeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SubscribeReader ¶
type SubscribeReader struct {
// contains filtered or unexported fields
}
SubscribeReader is a Reader for the Subscribe structure.
func (*SubscribeReader) ReadResponse ¶
func (o *SubscribeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TestBlockDefault ¶ added in v2.1.0
type TestBlockDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
TestBlockDefault handles this case with default header values.
An unexpected error response.
func NewTestBlockDefault ¶ added in v2.1.0
func NewTestBlockDefault(code int) *TestBlockDefault
NewTestBlockDefault creates a TestBlockDefault with default headers values
func (*TestBlockDefault) Code ¶ added in v2.1.0
func (o *TestBlockDefault) Code() int
Code gets the status code for the test block default response
func (*TestBlockDefault) Error ¶ added in v2.1.0
func (o *TestBlockDefault) Error() string
func (*TestBlockDefault) GetPayload ¶ added in v2.1.0
func (o *TestBlockDefault) GetPayload() *models.ErrorBody
type TestBlockOK ¶ added in v2.1.0
type TestBlockOK struct {
Payload *models.BlockResponse
}
TestBlockOK handles this case with default header values.
A successful response.
func NewTestBlockOK ¶ added in v2.1.0
func NewTestBlockOK() *TestBlockOK
NewTestBlockOK creates a TestBlockOK with default headers values
func (*TestBlockOK) Error ¶ added in v2.1.0
func (o *TestBlockOK) Error() string
func (*TestBlockOK) GetPayload ¶ added in v2.1.0
func (o *TestBlockOK) GetPayload() *models.BlockResponse
type TestBlockParams ¶ added in v2.1.0
type TestBlockParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TestBlockParams contains all the parameters to send to the API endpoint for the test block operation typically these are written to a http.Request
func NewTestBlockParams ¶ added in v2.1.0
func NewTestBlockParams() *TestBlockParams
NewTestBlockParams creates a new TestBlockParams object with the default values initialized.
func NewTestBlockParamsWithContext ¶ added in v2.1.0
func NewTestBlockParamsWithContext(ctx context.Context) *TestBlockParams
NewTestBlockParamsWithContext creates a new TestBlockParams object with the default values initialized, and the ability to set a context for a request
func NewTestBlockParamsWithHTTPClient ¶ added in v2.1.0
func NewTestBlockParamsWithHTTPClient(client *http.Client) *TestBlockParams
NewTestBlockParamsWithHTTPClient creates a new TestBlockParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTestBlockParamsWithTimeout ¶ added in v2.1.0
func NewTestBlockParamsWithTimeout(timeout time.Duration) *TestBlockParams
NewTestBlockParamsWithTimeout creates a new TestBlockParams object with the default values initialized, and the ability to set a timeout on a request
func (*TestBlockParams) SetContext ¶ added in v2.1.0
func (o *TestBlockParams) SetContext(ctx context.Context)
SetContext adds the context to the test block params
func (*TestBlockParams) SetHTTPClient ¶ added in v2.1.0
func (o *TestBlockParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the test block params
func (*TestBlockParams) SetTimeout ¶ added in v2.1.0
func (o *TestBlockParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the test block params
func (*TestBlockParams) WithContext ¶ added in v2.1.0
func (o *TestBlockParams) WithContext(ctx context.Context) *TestBlockParams
WithContext adds the context to the test block params
func (*TestBlockParams) WithHTTPClient ¶ added in v2.1.0
func (o *TestBlockParams) WithHTTPClient(client *http.Client) *TestBlockParams
WithHTTPClient adds the HTTPClient to the test block params
func (*TestBlockParams) WithTimeout ¶ added in v2.1.0
func (o *TestBlockParams) WithTimeout(timeout time.Duration) *TestBlockParams
WithTimeout adds the timeout to the test block params
func (*TestBlockParams) WriteToRequest ¶ added in v2.1.0
func (o *TestBlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TestBlockReader ¶ added in v2.1.0
type TestBlockReader struct {
// contains filtered or unexported fields
}
TestBlockReader is a Reader for the TestBlock structure.
func (*TestBlockReader) ReadResponse ¶ added in v2.1.0
func (o *TestBlockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TransactionDefault ¶
type TransactionDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
TransactionDefault handles this case with default header values.
An unexpected error response.
func NewTransactionDefault ¶
func NewTransactionDefault(code int) *TransactionDefault
NewTransactionDefault creates a TransactionDefault with default headers values
func (*TransactionDefault) Code ¶
func (o *TransactionDefault) Code() int
Code gets the status code for the transaction default response
func (*TransactionDefault) Error ¶
func (o *TransactionDefault) Error() string
func (*TransactionDefault) GetPayload ¶
func (o *TransactionDefault) GetPayload() *models.ErrorBody
type TransactionOK ¶
type TransactionOK struct {
Payload *models.TransactionResponse
}
TransactionOK handles this case with default header values.
A successful response.
func NewTransactionOK ¶
func NewTransactionOK() *TransactionOK
NewTransactionOK creates a TransactionOK with default headers values
func (*TransactionOK) Error ¶
func (o *TransactionOK) Error() string
func (*TransactionOK) GetPayload ¶
func (o *TransactionOK) GetPayload() *models.TransactionResponse
type TransactionParams ¶
type TransactionParams struct { /*Hash*/ Hash string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TransactionParams contains all the parameters to send to the API endpoint for the transaction operation typically these are written to a http.Request
func NewTransactionParams ¶
func NewTransactionParams() *TransactionParams
NewTransactionParams creates a new TransactionParams object with the default values initialized.
func NewTransactionParamsWithContext ¶
func NewTransactionParamsWithContext(ctx context.Context) *TransactionParams
NewTransactionParamsWithContext creates a new TransactionParams object with the default values initialized, and the ability to set a context for a request
func NewTransactionParamsWithHTTPClient ¶
func NewTransactionParamsWithHTTPClient(client *http.Client) *TransactionParams
NewTransactionParamsWithHTTPClient creates a new TransactionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTransactionParamsWithTimeout ¶
func NewTransactionParamsWithTimeout(timeout time.Duration) *TransactionParams
NewTransactionParamsWithTimeout creates a new TransactionParams object with the default values initialized, and the ability to set a timeout on a request
func (*TransactionParams) SetContext ¶
func (o *TransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the transaction params
func (*TransactionParams) SetHTTPClient ¶
func (o *TransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the transaction params
func (*TransactionParams) SetHash ¶
func (o *TransactionParams) SetHash(hash string)
SetHash adds the hash to the transaction params
func (*TransactionParams) SetTimeout ¶
func (o *TransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the transaction params
func (*TransactionParams) WithContext ¶
func (o *TransactionParams) WithContext(ctx context.Context) *TransactionParams
WithContext adds the context to the transaction params
func (*TransactionParams) WithHTTPClient ¶
func (o *TransactionParams) WithHTTPClient(client *http.Client) *TransactionParams
WithHTTPClient adds the HTTPClient to the transaction params
func (*TransactionParams) WithHash ¶
func (o *TransactionParams) WithHash(hash string) *TransactionParams
WithHash adds the hash to the transaction params
func (*TransactionParams) WithTimeout ¶
func (o *TransactionParams) WithTimeout(timeout time.Duration) *TransactionParams
WithTimeout adds the timeout to the transaction params
func (*TransactionParams) WriteToRequest ¶
func (o *TransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TransactionReader ¶
type TransactionReader struct {
// contains filtered or unexported fields
}
TransactionReader is a Reader for the Transaction structure.
func (*TransactionReader) ReadResponse ¶
func (o *TransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TransactionsDefault ¶
type TransactionsDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
TransactionsDefault handles this case with default header values.
An unexpected error response.
func NewTransactionsDefault ¶
func NewTransactionsDefault(code int) *TransactionsDefault
NewTransactionsDefault creates a TransactionsDefault with default headers values
func (*TransactionsDefault) Code ¶
func (o *TransactionsDefault) Code() int
Code gets the status code for the transactions default response
func (*TransactionsDefault) Error ¶
func (o *TransactionsDefault) Error() string
func (*TransactionsDefault) GetPayload ¶
func (o *TransactionsDefault) GetPayload() *models.ErrorBody
type TransactionsOK ¶
type TransactionsOK struct {
Payload *models.TransactionsResponse
}
TransactionsOK handles this case with default header values.
A successful response.
func NewTransactionsOK ¶
func NewTransactionsOK() *TransactionsOK
NewTransactionsOK creates a TransactionsOK with default headers values
func (*TransactionsOK) Error ¶
func (o *TransactionsOK) Error() string
func (*TransactionsOK) GetPayload ¶
func (o *TransactionsOK) GetPayload() *models.TransactionsResponse
type TransactionsParams ¶
type TransactionsParams struct { /*Page*/ Page *int32 /*PerPage*/ PerPage *int32 /*Query*/ Query string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TransactionsParams contains all the parameters to send to the API endpoint for the transactions operation typically these are written to a http.Request
func NewTransactionsParams ¶
func NewTransactionsParams() *TransactionsParams
NewTransactionsParams creates a new TransactionsParams object with the default values initialized.
func NewTransactionsParamsWithContext ¶
func NewTransactionsParamsWithContext(ctx context.Context) *TransactionsParams
NewTransactionsParamsWithContext creates a new TransactionsParams object with the default values initialized, and the ability to set a context for a request
func NewTransactionsParamsWithHTTPClient ¶
func NewTransactionsParamsWithHTTPClient(client *http.Client) *TransactionsParams
NewTransactionsParamsWithHTTPClient creates a new TransactionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTransactionsParamsWithTimeout ¶
func NewTransactionsParamsWithTimeout(timeout time.Duration) *TransactionsParams
NewTransactionsParamsWithTimeout creates a new TransactionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*TransactionsParams) SetContext ¶
func (o *TransactionsParams) SetContext(ctx context.Context)
SetContext adds the context to the transactions params
func (*TransactionsParams) SetHTTPClient ¶
func (o *TransactionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the transactions params
func (*TransactionsParams) SetPage ¶
func (o *TransactionsParams) SetPage(page *int32)
SetPage adds the page to the transactions params
func (*TransactionsParams) SetPerPage ¶
func (o *TransactionsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the transactions params
func (*TransactionsParams) SetQuery ¶
func (o *TransactionsParams) SetQuery(query string)
SetQuery adds the query to the transactions params
func (*TransactionsParams) SetTimeout ¶
func (o *TransactionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the transactions params
func (*TransactionsParams) WithContext ¶
func (o *TransactionsParams) WithContext(ctx context.Context) *TransactionsParams
WithContext adds the context to the transactions params
func (*TransactionsParams) WithHTTPClient ¶
func (o *TransactionsParams) WithHTTPClient(client *http.Client) *TransactionsParams
WithHTTPClient adds the HTTPClient to the transactions params
func (*TransactionsParams) WithPage ¶
func (o *TransactionsParams) WithPage(page *int32) *TransactionsParams
WithPage adds the page to the transactions params
func (*TransactionsParams) WithPerPage ¶
func (o *TransactionsParams) WithPerPage(perPage *int32) *TransactionsParams
WithPerPage adds the perPage to the transactions params
func (*TransactionsParams) WithQuery ¶
func (o *TransactionsParams) WithQuery(query string) *TransactionsParams
WithQuery adds the query to the transactions params
func (*TransactionsParams) WithTimeout ¶
func (o *TransactionsParams) WithTimeout(timeout time.Duration) *TransactionsParams
WithTimeout adds the timeout to the transactions params
func (*TransactionsParams) WriteToRequest ¶
func (o *TransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TransactionsReader ¶
type TransactionsReader struct {
// contains filtered or unexported fields
}
TransactionsReader is a Reader for the Transactions structure.
func (*TransactionsReader) ReadResponse ¶
func (o *TransactionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnconfirmedTxsDefault ¶
type UnconfirmedTxsDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
UnconfirmedTxsDefault handles this case with default header values.
An unexpected error response.
func NewUnconfirmedTxsDefault ¶
func NewUnconfirmedTxsDefault(code int) *UnconfirmedTxsDefault
NewUnconfirmedTxsDefault creates a UnconfirmedTxsDefault with default headers values
func (*UnconfirmedTxsDefault) Code ¶
func (o *UnconfirmedTxsDefault) Code() int
Code gets the status code for the unconfirmed txs default response
func (*UnconfirmedTxsDefault) Error ¶
func (o *UnconfirmedTxsDefault) Error() string
func (*UnconfirmedTxsDefault) GetPayload ¶
func (o *UnconfirmedTxsDefault) GetPayload() *models.ErrorBody
type UnconfirmedTxsOK ¶
type UnconfirmedTxsOK struct {
Payload *models.UnconfirmedTxsResponse
}
UnconfirmedTxsOK handles this case with default header values.
A successful response.
func NewUnconfirmedTxsOK ¶
func NewUnconfirmedTxsOK() *UnconfirmedTxsOK
NewUnconfirmedTxsOK creates a UnconfirmedTxsOK with default headers values
func (*UnconfirmedTxsOK) Error ¶
func (o *UnconfirmedTxsOK) Error() string
func (*UnconfirmedTxsOK) GetPayload ¶
func (o *UnconfirmedTxsOK) GetPayload() *models.UnconfirmedTxsResponse
type UnconfirmedTxsParams ¶
type UnconfirmedTxsParams struct { /*Limit*/ Limit *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnconfirmedTxsParams contains all the parameters to send to the API endpoint for the unconfirmed txs operation typically these are written to a http.Request
func NewUnconfirmedTxsParams ¶
func NewUnconfirmedTxsParams() *UnconfirmedTxsParams
NewUnconfirmedTxsParams creates a new UnconfirmedTxsParams object with the default values initialized.
func NewUnconfirmedTxsParamsWithContext ¶
func NewUnconfirmedTxsParamsWithContext(ctx context.Context) *UnconfirmedTxsParams
NewUnconfirmedTxsParamsWithContext creates a new UnconfirmedTxsParams object with the default values initialized, and the ability to set a context for a request
func NewUnconfirmedTxsParamsWithHTTPClient ¶
func NewUnconfirmedTxsParamsWithHTTPClient(client *http.Client) *UnconfirmedTxsParams
NewUnconfirmedTxsParamsWithHTTPClient creates a new UnconfirmedTxsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUnconfirmedTxsParamsWithTimeout ¶
func NewUnconfirmedTxsParamsWithTimeout(timeout time.Duration) *UnconfirmedTxsParams
NewUnconfirmedTxsParamsWithTimeout creates a new UnconfirmedTxsParams object with the default values initialized, and the ability to set a timeout on a request
func (*UnconfirmedTxsParams) SetContext ¶
func (o *UnconfirmedTxsParams) SetContext(ctx context.Context)
SetContext adds the context to the unconfirmed txs params
func (*UnconfirmedTxsParams) SetHTTPClient ¶
func (o *UnconfirmedTxsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unconfirmed txs params
func (*UnconfirmedTxsParams) SetLimit ¶
func (o *UnconfirmedTxsParams) SetLimit(limit *int32)
SetLimit adds the limit to the unconfirmed txs params
func (*UnconfirmedTxsParams) SetTimeout ¶
func (o *UnconfirmedTxsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unconfirmed txs params
func (*UnconfirmedTxsParams) WithContext ¶
func (o *UnconfirmedTxsParams) WithContext(ctx context.Context) *UnconfirmedTxsParams
WithContext adds the context to the unconfirmed txs params
func (*UnconfirmedTxsParams) WithHTTPClient ¶
func (o *UnconfirmedTxsParams) WithHTTPClient(client *http.Client) *UnconfirmedTxsParams
WithHTTPClient adds the HTTPClient to the unconfirmed txs params
func (*UnconfirmedTxsParams) WithLimit ¶
func (o *UnconfirmedTxsParams) WithLimit(limit *int32) *UnconfirmedTxsParams
WithLimit adds the limit to the unconfirmed txs params
func (*UnconfirmedTxsParams) WithTimeout ¶
func (o *UnconfirmedTxsParams) WithTimeout(timeout time.Duration) *UnconfirmedTxsParams
WithTimeout adds the timeout to the unconfirmed txs params
func (*UnconfirmedTxsParams) WriteToRequest ¶
func (o *UnconfirmedTxsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnconfirmedTxsReader ¶
type UnconfirmedTxsReader struct {
// contains filtered or unexported fields
}
UnconfirmedTxsReader is a Reader for the UnconfirmedTxs structure.
func (*UnconfirmedTxsReader) ReadResponse ¶
func (o *UnconfirmedTxsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ValidatorsDefault ¶
type ValidatorsDefault struct { Payload *models.ErrorBody // contains filtered or unexported fields }
ValidatorsDefault handles this case with default header values.
An unexpected error response.
func NewValidatorsDefault ¶
func NewValidatorsDefault(code int) *ValidatorsDefault
NewValidatorsDefault creates a ValidatorsDefault with default headers values
func (*ValidatorsDefault) Code ¶
func (o *ValidatorsDefault) Code() int
Code gets the status code for the validators default response
func (*ValidatorsDefault) Error ¶
func (o *ValidatorsDefault) Error() string
func (*ValidatorsDefault) GetPayload ¶
func (o *ValidatorsDefault) GetPayload() *models.ErrorBody
type ValidatorsOK ¶
type ValidatorsOK struct {
Payload *models.ValidatorsResponse
}
ValidatorsOK handles this case with default header values.
A successful response.
func NewValidatorsOK ¶
func NewValidatorsOK() *ValidatorsOK
NewValidatorsOK creates a ValidatorsOK with default headers values
func (*ValidatorsOK) Error ¶
func (o *ValidatorsOK) Error() string
func (*ValidatorsOK) GetPayload ¶
func (o *ValidatorsOK) GetPayload() *models.ValidatorsResponse
type ValidatorsParams ¶
type ValidatorsParams struct { /*Height*/ Height *uint64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ValidatorsParams contains all the parameters to send to the API endpoint for the validators operation typically these are written to a http.Request
func NewValidatorsParams ¶
func NewValidatorsParams() *ValidatorsParams
NewValidatorsParams creates a new ValidatorsParams object with the default values initialized.
func NewValidatorsParamsWithContext ¶
func NewValidatorsParamsWithContext(ctx context.Context) *ValidatorsParams
NewValidatorsParamsWithContext creates a new ValidatorsParams object with the default values initialized, and the ability to set a context for a request
func NewValidatorsParamsWithHTTPClient ¶
func NewValidatorsParamsWithHTTPClient(client *http.Client) *ValidatorsParams
NewValidatorsParamsWithHTTPClient creates a new ValidatorsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewValidatorsParamsWithTimeout ¶
func NewValidatorsParamsWithTimeout(timeout time.Duration) *ValidatorsParams
NewValidatorsParamsWithTimeout creates a new ValidatorsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ValidatorsParams) SetContext ¶
func (o *ValidatorsParams) SetContext(ctx context.Context)
SetContext adds the context to the validators params
func (*ValidatorsParams) SetHTTPClient ¶
func (o *ValidatorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validators params
func (*ValidatorsParams) SetHeight ¶
func (o *ValidatorsParams) SetHeight(height *uint64)
SetHeight adds the height to the validators params
func (*ValidatorsParams) SetTimeout ¶
func (o *ValidatorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validators params
func (*ValidatorsParams) WithContext ¶
func (o *ValidatorsParams) WithContext(ctx context.Context) *ValidatorsParams
WithContext adds the context to the validators params
func (*ValidatorsParams) WithHTTPClient ¶
func (o *ValidatorsParams) WithHTTPClient(client *http.Client) *ValidatorsParams
WithHTTPClient adds the HTTPClient to the validators params
func (*ValidatorsParams) WithHeight ¶
func (o *ValidatorsParams) WithHeight(height *uint64) *ValidatorsParams
WithHeight adds the height to the validators params
func (*ValidatorsParams) WithTimeout ¶
func (o *ValidatorsParams) WithTimeout(timeout time.Duration) *ValidatorsParams
WithTimeout adds the timeout to the validators params
func (*ValidatorsParams) WriteToRequest ¶
func (o *ValidatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidatorsReader ¶
type ValidatorsReader struct {
// contains filtered or unexported fields
}
ValidatorsReader is a Reader for the Validators structure.
func (*ValidatorsReader) ReadResponse ¶
func (o *ValidatorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WaitListDefault ¶
WaitListDefault handles this case with default header values.
An unexpected error response.
func NewWaitListDefault ¶
func NewWaitListDefault(code int) *WaitListDefault
NewWaitListDefault creates a WaitListDefault with default headers values
func (*WaitListDefault) Code ¶
func (o *WaitListDefault) Code() int
Code gets the status code for the wait list default response
func (*WaitListDefault) Error ¶
func (o *WaitListDefault) Error() string
func (*WaitListDefault) GetPayload ¶
func (o *WaitListDefault) GetPayload() *models.ErrorBody
type WaitListOK ¶
type WaitListOK struct {
Payload *models.WaitListResponse
}
WaitListOK handles this case with default header values.
A successful response.
func NewWaitListOK ¶
func NewWaitListOK() *WaitListOK
NewWaitListOK creates a WaitListOK with default headers values
func (*WaitListOK) Error ¶
func (o *WaitListOK) Error() string
func (*WaitListOK) GetPayload ¶
func (o *WaitListOK) GetPayload() *models.WaitListResponse
type WaitListParams ¶
type WaitListParams struct { /*Address*/ Address string /*Height*/ Height *uint64 /*PublicKey*/ PublicKey *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WaitListParams contains all the parameters to send to the API endpoint for the wait list operation typically these are written to a http.Request
func NewWaitListParams ¶
func NewWaitListParams() *WaitListParams
NewWaitListParams creates a new WaitListParams object with the default values initialized.
func NewWaitListParamsWithContext ¶
func NewWaitListParamsWithContext(ctx context.Context) *WaitListParams
NewWaitListParamsWithContext creates a new WaitListParams object with the default values initialized, and the ability to set a context for a request
func NewWaitListParamsWithHTTPClient ¶
func NewWaitListParamsWithHTTPClient(client *http.Client) *WaitListParams
NewWaitListParamsWithHTTPClient creates a new WaitListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewWaitListParamsWithTimeout ¶
func NewWaitListParamsWithTimeout(timeout time.Duration) *WaitListParams
NewWaitListParamsWithTimeout creates a new WaitListParams object with the default values initialized, and the ability to set a timeout on a request
func (*WaitListParams) SetAddress ¶
func (o *WaitListParams) SetAddress(address string)
SetAddress adds the address to the wait list params
func (*WaitListParams) SetContext ¶
func (o *WaitListParams) SetContext(ctx context.Context)
SetContext adds the context to the wait list params
func (*WaitListParams) SetHTTPClient ¶
func (o *WaitListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the wait list params
func (*WaitListParams) SetHeight ¶
func (o *WaitListParams) SetHeight(height *uint64)
SetHeight adds the height to the wait list params
func (*WaitListParams) SetPublicKey ¶
func (o *WaitListParams) SetPublicKey(publicKey *string)
SetPublicKey adds the publicKey to the wait list params
func (*WaitListParams) SetTimeout ¶
func (o *WaitListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the wait list params
func (*WaitListParams) WithAddress ¶
func (o *WaitListParams) WithAddress(address string) *WaitListParams
WithAddress adds the address to the wait list params
func (*WaitListParams) WithContext ¶
func (o *WaitListParams) WithContext(ctx context.Context) *WaitListParams
WithContext adds the context to the wait list params
func (*WaitListParams) WithHTTPClient ¶
func (o *WaitListParams) WithHTTPClient(client *http.Client) *WaitListParams
WithHTTPClient adds the HTTPClient to the wait list params
func (*WaitListParams) WithHeight ¶
func (o *WaitListParams) WithHeight(height *uint64) *WaitListParams
WithHeight adds the height to the wait list params
func (*WaitListParams) WithPublicKey ¶
func (o *WaitListParams) WithPublicKey(publicKey *string) *WaitListParams
WithPublicKey adds the publicKey to the wait list params
func (*WaitListParams) WithTimeout ¶
func (o *WaitListParams) WithTimeout(timeout time.Duration) *WaitListParams
WithTimeout adds the timeout to the wait list params
func (*WaitListParams) WriteToRequest ¶
func (o *WaitListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WaitListReader ¶
type WaitListReader struct {
// contains filtered or unexported fields
}
WaitListReader is a Reader for the WaitList structure.
func (*WaitListReader) ReadResponse ¶
func (o *WaitListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- address_parameters.go
- address_responses.go
- addresses_parameters.go
- addresses_responses.go
- api_service_client.go
- block_parameters.go
- block_responses.go
- candidate_parameters.go
- candidate_responses.go
- candidates_parameters.go
- candidates_responses.go
- coin_info_by_id_parameters.go
- coin_info_by_id_responses.go
- coin_info_parameters.go
- coin_info_responses.go
- estimate_coin_buy_parameters.go
- estimate_coin_buy_responses.go
- estimate_coin_sell_all_parameters.go
- estimate_coin_sell_all_responses.go
- estimate_coin_sell_parameters.go
- estimate_coin_sell_responses.go
- estimate_tx_commission_parameters.go
- estimate_tx_commission_responses.go
- events_parameters.go
- events_responses.go
- frozen_parameters.go
- frozen_responses.go
- genesis_parameters.go
- genesis_responses.go
- halts_parameters.go
- halts_responses.go
- max_gas_price_parameters.go
- max_gas_price_responses.go
- min_gas_price_parameters.go
- min_gas_price_responses.go
- missed_blocks_parameters.go
- missed_blocks_responses.go
- net_info_parameters.go
- net_info_responses.go
- send_transaction2_parameters.go
- send_transaction2_responses.go
- send_transaction_parameters.go
- send_transaction_responses.go
- status_parameters.go
- status_responses.go
- subscribe_parameters.go
- subscribe_responses.go
- test_block_parameters.go
- test_block_responses.go
- transaction_parameters.go
- transaction_responses.go
- transactions_parameters.go
- transactions_responses.go
- unconfirmed_txs_parameters.go
- unconfirmed_txs_responses.go
- validators_parameters.go
- validators_responses.go
- wait_list_parameters.go
- wait_list_responses.go