api_service

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressDefault

type AddressDefault struct {
	Payload *models.ErrorBody
	// contains filtered or unexported fields
}

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) Error

func (o *AddressOK) Error() string

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

type BlockDefault struct {
	Payload *models.ErrorBody
	// contains filtered or unexported fields
}

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) Error

func (o *BlockOK) Error() string

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*/
	Height *uint64
	/*PublicKey*/
	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) 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) 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*/
	Height *uint64
	/*IncludeStakes*/
	IncludeStakes *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) 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) 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 returns coins list balance and transaction count of an address

func (*Client) Addresses

func (a *Client) Addresses(params *AddressesParams) (*AddressesOK, error)

Addresses returns list of addresses

func (*Client) Block

func (a *Client) Block(params *BlockParams) (*BlockOK, error)

Block returns block data at given height

func (*Client) Candidate

func (a *Client) Candidate(params *CandidateParams) (*CandidateOK, error)

Candidate returns candidate s info by provided public key

func (*Client) Candidates

func (a *Client) Candidates(params *CandidatesParams) (*CandidatesOK, error)

Candidates returns list of candidates

func (*Client) CoinInfo

func (a *Client) CoinInfo(params *CoinInfoParams) (*CoinInfoOK, error)

CoinInfo returns information about coin symbol

func (*Client) CoinInfoByID

func (a *Client) CoinInfoByID(params *CoinInfoByIDParams) (*CoinInfoByIDOK, error)

CoinInfoByID returns information about coin ID

func (*Client) EstimateCoinBuy

func (a *Client) EstimateCoinBuy(params *EstimateCoinBuyParams) (*EstimateCoinBuyOK, error)

EstimateCoinBuy returns estimate of buy coin transaction

func (*Client) EstimateCoinSell

func (a *Client) EstimateCoinSell(params *EstimateCoinSellParams) (*EstimateCoinSellOK, error)

EstimateCoinSell returns estimate of sell coin transaction

func (*Client) EstimateCoinSellAll

func (a *Client) EstimateCoinSellAll(params *EstimateCoinSellAllParams) (*EstimateCoinSellAllOK, error)

EstimateCoinSellAll returns estimate of sell all coin transaction

func (*Client) EstimateTxCommission

func (a *Client) EstimateTxCommission(params *EstimateTxCommissionParams) (*EstimateTxCommissionOK, error)

EstimateTxCommission returns estimate of transaction

func (*Client) Events

func (a *Client) Events(params *EventsParams) (*EventsOK, error)

Events returns events at given height

func (*Client) Frozen

func (a *Client) Frozen(params *FrozenParams) (*FrozenOK, error)

Frozen returns frozen balance

func (*Client) Genesis

func (a *Client) Genesis(params *GenesisParams) (*GenesisOK, error)

Genesis returns genesis file

func (*Client) Halts

func (a *Client) Halts(params *HaltsParams) (*HaltsOK, error)

Halts returns the candidate votes for stopping the network at block

func (*Client) MaxGasPrice

func (a *Client) MaxGasPrice(params *MaxGasPriceParams) (*MaxGasPriceOK, error)

MaxGasPrice returns current max gas

func (*Client) MinGasPrice

func (a *Client) MinGasPrice(params *MinGasPriceParams) (*MinGasPriceOK, error)

MinGasPrice returns current min gas price

func (*Client) MissedBlocks

func (a *Client) MissedBlocks(params *MissedBlocksParams) (*MissedBlocksOK, error)

MissedBlocks returns missed blocks by validator public key

func (*Client) NetInfo

func (a *Client) NetInfo(params *NetInfoParams) (*NetInfoOK, error)

NetInfo returns network info

func (*Client) SendTransaction

func (a *Client) SendTransaction(params *SendTransactionParams) (*SendTransactionOK, error)

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 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 returns node status including pubkey latest block

func (*Client) Subscribe

func (a *Client) Subscribe(params *SubscribeParams) (*SubscribeOK, error)

Subscribe returns a subscription for events by query

Only supported in WS and gRPC methods

func (*Client) Transaction

func (a *Client) Transaction(params *TransactionParams) (*TransactionOK, error)

Transaction returns transaction info

func (*Client) Transactions

func (a *Client) Transactions(params *TransactionsParams) (*TransactionsOK, error)

Transactions returns transactions by query

func (*Client) UnconfirmedTxs

func (a *Client) UnconfirmedTxs(params *UnconfirmedTxsParams) (*UnconfirmedTxsOK, error)

UnconfirmedTxs returns unconfirmed transactions

func (*Client) Validators

func (a *Client) Validators(params *ValidatorsParams) (*ValidatorsOK, error)

Validators returns list of active validators

func (*Client) WaitList

func (a *Client) WaitList(params *WaitListParams) (*WaitListOK, error)

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)

	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

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

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

type CoinInfoDefault struct {
	Payload *models.ErrorBody
	// contains filtered or unexported fields
}

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

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

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 (*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

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

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

WithHeight adds the height to the estimate coin sell all params

func (*EstimateCoinSellAllParams) WithTimeout

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

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

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

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

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

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 (*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

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

WithContext adds the context to the estimate tx commission params

func (*EstimateTxCommissionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the estimate tx commission params

func (*EstimateTxCommissionParams) WithHeight

WithHeight adds the height to the estimate tx commission params

func (*EstimateTxCommissionParams) WithTimeout

WithTimeout adds the timeout to the estimate tx commission params

func (*EstimateTxCommissionParams) WithTx

WithTx adds the tx to the estimate tx commission params

func (*EstimateTxCommissionParams) WriteToRequest

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

type EventsDefault struct {
	Payload *models.ErrorBody
	// contains filtered or unexported fields
}

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) Error

func (o *EventsOK) Error() string

func (*EventsOK) GetPayload

func (o *EventsOK) GetPayload() *models.EventsResponse

type EventsParams

type EventsParams struct {

	/*Height*/
	Height string
	/*Search*/
	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

type FrozenDefault struct {
	Payload *models.ErrorBody
	// contains filtered or unexported fields
}

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) Error

func (o *FrozenOK) Error() string

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

type GenesisDefault struct {
	Payload *models.ErrorBody
	// contains filtered or unexported fields
}

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) Error

func (o *GenesisOK) Error() string

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

type HaltsDefault struct {
	Payload *models.ErrorBody
	// contains filtered or unexported fields
}

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) Error

func (o *HaltsOK) Error() string

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

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

type NetInfoDefault struct {
	Payload *models.ErrorBody
	// contains filtered or unexported fields
}

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) Error

func (o *NetInfoOK) Error() string

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

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

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

WithBody adds the body to the send transaction2 params

func (*SendTransaction2Params) WithContext

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

WithTimeout adds the timeout to the send transaction2 params

func (*SendTransaction2Params) WriteToRequest

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

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

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

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

type StatusDefault struct {
	Payload *models.ErrorBody
	// contains filtered or unexported fields
}

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) Error

func (o *StatusOK) Error() string

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

func (*SubscribeOKBody) Validate

func (o *SubscribeOKBody) Validate(formats strfmt.Registry) error

Validate validates this subscribe o k body

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 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

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

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

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

type WaitListDefault struct {
	Payload *models.ErrorBody
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

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