external

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2019 License: ISC Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for external API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new external API client.

func (*Client) GetAccountByPubkey

func (a *Client) GetAccountByPubkey(params *GetAccountByPubkeyParams) (*GetAccountByPubkeyOK, error)

GetAccountByPubkey Get an account by public key

func (*Client) GetAccountByPubkeyAndHash

func (a *Client) GetAccountByPubkeyAndHash(params *GetAccountByPubkeyAndHashParams) (*GetAccountByPubkeyAndHashOK, error)

GetAccountByPubkeyAndHash Get an account by public key after the block indicated by hash

func (*Client) GetAccountByPubkeyAndHeight

func (a *Client) GetAccountByPubkeyAndHeight(params *GetAccountByPubkeyAndHeightParams) (*GetAccountByPubkeyAndHeightOK, error)

GetAccountByPubkeyAndHeight Get an account by public key after the opening key block of the generation at height

func (*Client) GetChannelByPubkey

func (a *Client) GetChannelByPubkey(params *GetChannelByPubkeyParams) (*GetChannelByPubkeyOK, error)

GetChannelByPubkey Get channel by public key

func (*Client) GetContract

func (a *Client) GetContract(params *GetContractParams) (*GetContractOK, error)

GetContract Get a contract by pubkey

func (*Client) GetContractCode

func (a *Client) GetContractCode(params *GetContractCodeParams) (*GetContractCodeOK, error)

GetContractCode Get contract code by pubkey

func (*Client) GetContractPoI

func (a *Client) GetContractPoI(params *GetContractPoIParams) (*GetContractPoIOK, error)

GetContractPoI Get a proof of inclusion for a contract

func (*Client) GetContractStore

func (a *Client) GetContractStore(params *GetContractStoreParams) (*GetContractStoreOK, error)

GetContractStore Get contract store by pubkey

func (*Client) GetCurrentGeneration

func (a *Client) GetCurrentGeneration(params *GetCurrentGenerationParams) (*GetCurrentGenerationOK, error)

GetCurrentGeneration Get the current generation

func (*Client) GetCurrentKeyBlock

func (a *Client) GetCurrentKeyBlock(params *GetCurrentKeyBlockParams) (*GetCurrentKeyBlockOK, error)

GetCurrentKeyBlock Get the current key block

func (*Client) GetCurrentKeyBlockHash

func (a *Client) GetCurrentKeyBlockHash(params *GetCurrentKeyBlockHashParams) (*GetCurrentKeyBlockHashOK, error)

GetCurrentKeyBlockHash Get the hash of the current key block

func (*Client) GetCurrentKeyBlockHeight

func (a *Client) GetCurrentKeyBlockHeight(params *GetCurrentKeyBlockHeightParams) (*GetCurrentKeyBlockHeightOK, error)

GetCurrentKeyBlockHeight Get the height of the current key block

func (*Client) GetGenerationByHash

func (a *Client) GetGenerationByHash(params *GetGenerationByHashParams) (*GetGenerationByHashOK, error)

GetGenerationByHash Get a generation by hash

func (*Client) GetGenerationByHeight

func (a *Client) GetGenerationByHeight(params *GetGenerationByHeightParams) (*GetGenerationByHeightOK, error)

GetGenerationByHeight Get a generation by height

func (*Client) GetKeyBlockByHash

func (a *Client) GetKeyBlockByHash(params *GetKeyBlockByHashParams) (*GetKeyBlockByHashOK, error)

GetKeyBlockByHash Get a key block by hash

func (*Client) GetKeyBlockByHeight

func (a *Client) GetKeyBlockByHeight(params *GetKeyBlockByHeightParams) (*GetKeyBlockByHeightOK, error)

GetKeyBlockByHeight Get a key block by height

func (*Client) GetMicroBlockHeaderByHash

func (a *Client) GetMicroBlockHeaderByHash(params *GetMicroBlockHeaderByHashParams) (*GetMicroBlockHeaderByHashOK, error)

GetMicroBlockHeaderByHash Get a micro block header by hash

func (*Client) GetMicroBlockTransactionByHashAndIndex

func (a *Client) GetMicroBlockTransactionByHashAndIndex(params *GetMicroBlockTransactionByHashAndIndexParams) (*GetMicroBlockTransactionByHashAndIndexOK, error)

GetMicroBlockTransactionByHashAndIndex Get a micro block transaction by hash and index

func (*Client) GetMicroBlockTransactionsByHash

func (a *Client) GetMicroBlockTransactionsByHash(params *GetMicroBlockTransactionsByHashParams) (*GetMicroBlockTransactionsByHashOK, error)

GetMicroBlockTransactionsByHash Get micro block transactions by hash

func (*Client) GetMicroBlockTransactionsCountByHash

func (a *Client) GetMicroBlockTransactionsCountByHash(params *GetMicroBlockTransactionsCountByHashParams) (*GetMicroBlockTransactionsCountByHashOK, error)

GetMicroBlockTransactionsCountByHash Get micro block transaction count by hash

func (*Client) GetNameEntryByName

func (a *Client) GetNameEntryByName(params *GetNameEntryByNameParams) (*GetNameEntryByNameOK, error)

GetNameEntryByName Get name entry from naming system

func (*Client) GetOracleByPubkey

func (a *Client) GetOracleByPubkey(params *GetOracleByPubkeyParams) (*GetOracleByPubkeyOK, error)

GetOracleByPubkey Get an oracle by public key

func (*Client) GetOracleQueriesByPubkey

func (a *Client) GetOracleQueriesByPubkey(params *GetOracleQueriesByPubkeyParams) (*GetOracleQueriesByPubkeyOK, error)

GetOracleQueriesByPubkey Get oracle queries by public key

func (*Client) GetOracleQueryByPubkeyAndQueryID

func (a *Client) GetOracleQueryByPubkeyAndQueryID(params *GetOracleQueryByPubkeyAndQueryIDParams) (*GetOracleQueryByPubkeyAndQueryIDOK, error)

GetOracleQueryByPubkeyAndQueryID Get an oracle query by public key and query ID

func (*Client) GetPeerPubkey

func (a *Client) GetPeerPubkey(params *GetPeerPubkeyParams) (*GetPeerPubkeyOK, error)

GetPeerPubkey Get peer public key

func (*Client) GetPendingAccountTransactionsByPubkey

func (a *Client) GetPendingAccountTransactionsByPubkey(params *GetPendingAccountTransactionsByPubkeyParams) (*GetPendingAccountTransactionsByPubkeyOK, error)

GetPendingAccountTransactionsByPubkey Get pending account transactions by public key

func (*Client) GetPendingKeyBlock

func (a *Client) GetPendingKeyBlock(params *GetPendingKeyBlockParams) (*GetPendingKeyBlockOK, error)

GetPendingKeyBlock Get the pending key block

func (*Client) GetStatus

func (a *Client) GetStatus(params *GetStatusParams) (*GetStatusOK, error)

GetStatus Get the status of a node

func (*Client) GetTopBlock

func (a *Client) GetTopBlock(params *GetTopBlockParams) (*GetTopBlockOK, error)

GetTopBlock Get the top block (either key or micro block)

func (*Client) GetTransactionByHash

func (a *Client) GetTransactionByHash(params *GetTransactionByHashParams) (*GetTransactionByHashOK, error)

GetTransactionByHash Get a transaction by hash

func (*Client) GetTransactionInfoByHash

func (a *Client) GetTransactionInfoByHash(params *GetTransactionInfoByHashParams) (*GetTransactionInfoByHashOK, error)

GetTransactionInfoByHash Get a transaction info by hash

func (*Client) PostTransaction

func (a *Client) PostTransaction(params *PostTransactionParams) (*PostTransactionOK, error)

PostTransaction Post a new transaction

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetAccountByPubkeyAndHashBadRequest

type GetAccountByPubkeyAndHashBadRequest struct {
	Payload *models.Error
}

GetAccountByPubkeyAndHashBadRequest handles this case with default header values.

Invalid public key or invalid hash

func NewGetAccountByPubkeyAndHashBadRequest

func NewGetAccountByPubkeyAndHashBadRequest() *GetAccountByPubkeyAndHashBadRequest

NewGetAccountByPubkeyAndHashBadRequest creates a GetAccountByPubkeyAndHashBadRequest with default headers values

func (*GetAccountByPubkeyAndHashBadRequest) Error

type GetAccountByPubkeyAndHashNotFound

type GetAccountByPubkeyAndHashNotFound struct {
	Payload *models.Error
}

GetAccountByPubkeyAndHashNotFound handles this case with default header values.

Account not found or hash not available

func NewGetAccountByPubkeyAndHashNotFound

func NewGetAccountByPubkeyAndHashNotFound() *GetAccountByPubkeyAndHashNotFound

NewGetAccountByPubkeyAndHashNotFound creates a GetAccountByPubkeyAndHashNotFound with default headers values

func (*GetAccountByPubkeyAndHashNotFound) Error

type GetAccountByPubkeyAndHashOK

type GetAccountByPubkeyAndHashOK struct {
	Payload *models.Account
}

GetAccountByPubkeyAndHashOK handles this case with default header values.

Successful operation

func NewGetAccountByPubkeyAndHashOK

func NewGetAccountByPubkeyAndHashOK() *GetAccountByPubkeyAndHashOK

NewGetAccountByPubkeyAndHashOK creates a GetAccountByPubkeyAndHashOK with default headers values

func (*GetAccountByPubkeyAndHashOK) Error

type GetAccountByPubkeyAndHashParams

type GetAccountByPubkeyAndHashParams struct {

	/*Hash
	  The hash of the block

	*/
	Hash string
	/*Pubkey
	  The public key of the account

	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccountByPubkeyAndHashParams contains all the parameters to send to the API endpoint for the get account by pubkey and hash operation typically these are written to a http.Request

func NewGetAccountByPubkeyAndHashParams

func NewGetAccountByPubkeyAndHashParams() *GetAccountByPubkeyAndHashParams

NewGetAccountByPubkeyAndHashParams creates a new GetAccountByPubkeyAndHashParams object with the default values initialized.

func NewGetAccountByPubkeyAndHashParamsWithContext

func NewGetAccountByPubkeyAndHashParamsWithContext(ctx context.Context) *GetAccountByPubkeyAndHashParams

NewGetAccountByPubkeyAndHashParamsWithContext creates a new GetAccountByPubkeyAndHashParams object with the default values initialized, and the ability to set a context for a request

func NewGetAccountByPubkeyAndHashParamsWithHTTPClient

func NewGetAccountByPubkeyAndHashParamsWithHTTPClient(client *http.Client) *GetAccountByPubkeyAndHashParams

NewGetAccountByPubkeyAndHashParamsWithHTTPClient creates a new GetAccountByPubkeyAndHashParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAccountByPubkeyAndHashParamsWithTimeout

func NewGetAccountByPubkeyAndHashParamsWithTimeout(timeout time.Duration) *GetAccountByPubkeyAndHashParams

NewGetAccountByPubkeyAndHashParamsWithTimeout creates a new GetAccountByPubkeyAndHashParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAccountByPubkeyAndHashParams) SetContext

func (o *GetAccountByPubkeyAndHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) SetHTTPClient

func (o *GetAccountByPubkeyAndHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) SetHash

func (o *GetAccountByPubkeyAndHashParams) SetHash(hash string)

SetHash adds the hash to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) SetPubkey

func (o *GetAccountByPubkeyAndHashParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) SetTimeout

func (o *GetAccountByPubkeyAndHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) WithContext

WithContext adds the context to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) WithHash

WithHash adds the hash to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) WithPubkey

WithPubkey adds the pubkey to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) WithTimeout

WithTimeout adds the timeout to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountByPubkeyAndHashReader

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

GetAccountByPubkeyAndHashReader is a Reader for the GetAccountByPubkeyAndHash structure.

func (*GetAccountByPubkeyAndHashReader) ReadResponse

func (o *GetAccountByPubkeyAndHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAccountByPubkeyAndHeightBadRequest

type GetAccountByPubkeyAndHeightBadRequest struct {
	Payload *models.Error
}

GetAccountByPubkeyAndHeightBadRequest handles this case with default header values.

Invalid public key or invalid height

func NewGetAccountByPubkeyAndHeightBadRequest

func NewGetAccountByPubkeyAndHeightBadRequest() *GetAccountByPubkeyAndHeightBadRequest

NewGetAccountByPubkeyAndHeightBadRequest creates a GetAccountByPubkeyAndHeightBadRequest with default headers values

func (*GetAccountByPubkeyAndHeightBadRequest) Error

type GetAccountByPubkeyAndHeightNotFound

type GetAccountByPubkeyAndHeightNotFound struct {
	Payload *models.Error
}

GetAccountByPubkeyAndHeightNotFound handles this case with default header values.

Account not found or height not available

func NewGetAccountByPubkeyAndHeightNotFound

func NewGetAccountByPubkeyAndHeightNotFound() *GetAccountByPubkeyAndHeightNotFound

NewGetAccountByPubkeyAndHeightNotFound creates a GetAccountByPubkeyAndHeightNotFound with default headers values

func (*GetAccountByPubkeyAndHeightNotFound) Error

type GetAccountByPubkeyAndHeightOK

type GetAccountByPubkeyAndHeightOK struct {
	Payload *models.Account
}

GetAccountByPubkeyAndHeightOK handles this case with default header values.

Successful operation

func NewGetAccountByPubkeyAndHeightOK

func NewGetAccountByPubkeyAndHeightOK() *GetAccountByPubkeyAndHeightOK

NewGetAccountByPubkeyAndHeightOK creates a GetAccountByPubkeyAndHeightOK with default headers values

func (*GetAccountByPubkeyAndHeightOK) Error

type GetAccountByPubkeyAndHeightParams

type GetAccountByPubkeyAndHeightParams struct {

	/*Height
	  The height of the key block

	*/
	Height int64
	/*Pubkey
	  The public key of the account

	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccountByPubkeyAndHeightParams contains all the parameters to send to the API endpoint for the get account by pubkey and height operation typically these are written to a http.Request

func NewGetAccountByPubkeyAndHeightParams

func NewGetAccountByPubkeyAndHeightParams() *GetAccountByPubkeyAndHeightParams

NewGetAccountByPubkeyAndHeightParams creates a new GetAccountByPubkeyAndHeightParams object with the default values initialized.

func NewGetAccountByPubkeyAndHeightParamsWithContext

func NewGetAccountByPubkeyAndHeightParamsWithContext(ctx context.Context) *GetAccountByPubkeyAndHeightParams

NewGetAccountByPubkeyAndHeightParamsWithContext creates a new GetAccountByPubkeyAndHeightParams object with the default values initialized, and the ability to set a context for a request

func NewGetAccountByPubkeyAndHeightParamsWithHTTPClient

func NewGetAccountByPubkeyAndHeightParamsWithHTTPClient(client *http.Client) *GetAccountByPubkeyAndHeightParams

NewGetAccountByPubkeyAndHeightParamsWithHTTPClient creates a new GetAccountByPubkeyAndHeightParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAccountByPubkeyAndHeightParamsWithTimeout

func NewGetAccountByPubkeyAndHeightParamsWithTimeout(timeout time.Duration) *GetAccountByPubkeyAndHeightParams

NewGetAccountByPubkeyAndHeightParamsWithTimeout creates a new GetAccountByPubkeyAndHeightParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAccountByPubkeyAndHeightParams) SetContext

SetContext adds the context to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) SetHTTPClient

func (o *GetAccountByPubkeyAndHeightParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) SetHeight

func (o *GetAccountByPubkeyAndHeightParams) SetHeight(height int64)

SetHeight adds the height to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) SetPubkey

func (o *GetAccountByPubkeyAndHeightParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) SetTimeout

func (o *GetAccountByPubkeyAndHeightParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) WithContext

WithContext adds the context to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) WithHeight

WithHeight adds the height to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) WithPubkey

WithPubkey adds the pubkey to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) WithTimeout

WithTimeout adds the timeout to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountByPubkeyAndHeightReader

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

GetAccountByPubkeyAndHeightReader is a Reader for the GetAccountByPubkeyAndHeight structure.

func (*GetAccountByPubkeyAndHeightReader) ReadResponse

func (o *GetAccountByPubkeyAndHeightReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAccountByPubkeyBadRequest

type GetAccountByPubkeyBadRequest struct {
	Payload *models.Error
}

GetAccountByPubkeyBadRequest handles this case with default header values.

Invalid public key

func NewGetAccountByPubkeyBadRequest

func NewGetAccountByPubkeyBadRequest() *GetAccountByPubkeyBadRequest

NewGetAccountByPubkeyBadRequest creates a GetAccountByPubkeyBadRequest with default headers values

func (*GetAccountByPubkeyBadRequest) Error

type GetAccountByPubkeyNotFound

type GetAccountByPubkeyNotFound struct {
	Payload *models.Error
}

GetAccountByPubkeyNotFound handles this case with default header values.

Account not found

func NewGetAccountByPubkeyNotFound

func NewGetAccountByPubkeyNotFound() *GetAccountByPubkeyNotFound

NewGetAccountByPubkeyNotFound creates a GetAccountByPubkeyNotFound with default headers values

func (*GetAccountByPubkeyNotFound) Error

type GetAccountByPubkeyOK

type GetAccountByPubkeyOK struct {
	Payload *models.Account
}

GetAccountByPubkeyOK handles this case with default header values.

Successful operation

func NewGetAccountByPubkeyOK

func NewGetAccountByPubkeyOK() *GetAccountByPubkeyOK

NewGetAccountByPubkeyOK creates a GetAccountByPubkeyOK with default headers values

func (*GetAccountByPubkeyOK) Error

func (o *GetAccountByPubkeyOK) Error() string

type GetAccountByPubkeyParams

type GetAccountByPubkeyParams struct {

	/*Pubkey
	  The public key of the account

	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccountByPubkeyParams contains all the parameters to send to the API endpoint for the get account by pubkey operation typically these are written to a http.Request

func NewGetAccountByPubkeyParams

func NewGetAccountByPubkeyParams() *GetAccountByPubkeyParams

NewGetAccountByPubkeyParams creates a new GetAccountByPubkeyParams object with the default values initialized.

func NewGetAccountByPubkeyParamsWithContext

func NewGetAccountByPubkeyParamsWithContext(ctx context.Context) *GetAccountByPubkeyParams

NewGetAccountByPubkeyParamsWithContext creates a new GetAccountByPubkeyParams object with the default values initialized, and the ability to set a context for a request

func NewGetAccountByPubkeyParamsWithHTTPClient

func NewGetAccountByPubkeyParamsWithHTTPClient(client *http.Client) *GetAccountByPubkeyParams

NewGetAccountByPubkeyParamsWithHTTPClient creates a new GetAccountByPubkeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAccountByPubkeyParamsWithTimeout

func NewGetAccountByPubkeyParamsWithTimeout(timeout time.Duration) *GetAccountByPubkeyParams

NewGetAccountByPubkeyParamsWithTimeout creates a new GetAccountByPubkeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAccountByPubkeyParams) SetContext

func (o *GetAccountByPubkeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get account by pubkey params

func (*GetAccountByPubkeyParams) SetHTTPClient

func (o *GetAccountByPubkeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get account by pubkey params

func (*GetAccountByPubkeyParams) SetPubkey

func (o *GetAccountByPubkeyParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get account by pubkey params

func (*GetAccountByPubkeyParams) SetTimeout

func (o *GetAccountByPubkeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get account by pubkey params

func (*GetAccountByPubkeyParams) WithContext

WithContext adds the context to the get account by pubkey params

func (*GetAccountByPubkeyParams) WithHTTPClient

func (o *GetAccountByPubkeyParams) WithHTTPClient(client *http.Client) *GetAccountByPubkeyParams

WithHTTPClient adds the HTTPClient to the get account by pubkey params

func (*GetAccountByPubkeyParams) WithPubkey

WithPubkey adds the pubkey to the get account by pubkey params

func (*GetAccountByPubkeyParams) WithTimeout

WithTimeout adds the timeout to the get account by pubkey params

func (*GetAccountByPubkeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountByPubkeyReader

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

GetAccountByPubkeyReader is a Reader for the GetAccountByPubkey structure.

func (*GetAccountByPubkeyReader) ReadResponse

func (o *GetAccountByPubkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetChannelByPubkeyBadRequest

type GetChannelByPubkeyBadRequest struct {
	Payload *models.Error
}

GetChannelByPubkeyBadRequest handles this case with default header values.

Invalid public key

func NewGetChannelByPubkeyBadRequest

func NewGetChannelByPubkeyBadRequest() *GetChannelByPubkeyBadRequest

NewGetChannelByPubkeyBadRequest creates a GetChannelByPubkeyBadRequest with default headers values

func (*GetChannelByPubkeyBadRequest) Error

type GetChannelByPubkeyNotFound

type GetChannelByPubkeyNotFound struct {
	Payload *models.Error
}

GetChannelByPubkeyNotFound handles this case with default header values.

Channel not found

func NewGetChannelByPubkeyNotFound

func NewGetChannelByPubkeyNotFound() *GetChannelByPubkeyNotFound

NewGetChannelByPubkeyNotFound creates a GetChannelByPubkeyNotFound with default headers values

func (*GetChannelByPubkeyNotFound) Error

type GetChannelByPubkeyOK

type GetChannelByPubkeyOK struct {
	Payload *models.Channel
}

GetChannelByPubkeyOK handles this case with default header values.

Successful operation

func NewGetChannelByPubkeyOK

func NewGetChannelByPubkeyOK() *GetChannelByPubkeyOK

NewGetChannelByPubkeyOK creates a GetChannelByPubkeyOK with default headers values

func (*GetChannelByPubkeyOK) Error

func (o *GetChannelByPubkeyOK) Error() string

type GetChannelByPubkeyParams

type GetChannelByPubkeyParams struct {

	/*Pubkey
	  The pubkey of the channel

	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetChannelByPubkeyParams contains all the parameters to send to the API endpoint for the get channel by pubkey operation typically these are written to a http.Request

func NewGetChannelByPubkeyParams

func NewGetChannelByPubkeyParams() *GetChannelByPubkeyParams

NewGetChannelByPubkeyParams creates a new GetChannelByPubkeyParams object with the default values initialized.

func NewGetChannelByPubkeyParamsWithContext

func NewGetChannelByPubkeyParamsWithContext(ctx context.Context) *GetChannelByPubkeyParams

NewGetChannelByPubkeyParamsWithContext creates a new GetChannelByPubkeyParams object with the default values initialized, and the ability to set a context for a request

func NewGetChannelByPubkeyParamsWithHTTPClient

func NewGetChannelByPubkeyParamsWithHTTPClient(client *http.Client) *GetChannelByPubkeyParams

NewGetChannelByPubkeyParamsWithHTTPClient creates a new GetChannelByPubkeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetChannelByPubkeyParamsWithTimeout

func NewGetChannelByPubkeyParamsWithTimeout(timeout time.Duration) *GetChannelByPubkeyParams

NewGetChannelByPubkeyParamsWithTimeout creates a new GetChannelByPubkeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetChannelByPubkeyParams) SetContext

func (o *GetChannelByPubkeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get channel by pubkey params

func (*GetChannelByPubkeyParams) SetHTTPClient

func (o *GetChannelByPubkeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get channel by pubkey params

func (*GetChannelByPubkeyParams) SetPubkey

func (o *GetChannelByPubkeyParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get channel by pubkey params

func (*GetChannelByPubkeyParams) SetTimeout

func (o *GetChannelByPubkeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get channel by pubkey params

func (*GetChannelByPubkeyParams) WithContext

WithContext adds the context to the get channel by pubkey params

func (*GetChannelByPubkeyParams) WithHTTPClient

func (o *GetChannelByPubkeyParams) WithHTTPClient(client *http.Client) *GetChannelByPubkeyParams

WithHTTPClient adds the HTTPClient to the get channel by pubkey params

func (*GetChannelByPubkeyParams) WithPubkey

WithPubkey adds the pubkey to the get channel by pubkey params

func (*GetChannelByPubkeyParams) WithTimeout

WithTimeout adds the timeout to the get channel by pubkey params

func (*GetChannelByPubkeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetChannelByPubkeyReader

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

GetChannelByPubkeyReader is a Reader for the GetChannelByPubkey structure.

func (*GetChannelByPubkeyReader) ReadResponse

func (o *GetChannelByPubkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetContractBadRequest

type GetContractBadRequest struct {
	Payload *models.Error
}

GetContractBadRequest handles this case with default header values.

Invalid pubkey

func NewGetContractBadRequest

func NewGetContractBadRequest() *GetContractBadRequest

NewGetContractBadRequest creates a GetContractBadRequest with default headers values

func (*GetContractBadRequest) Error

func (o *GetContractBadRequest) Error() string

type GetContractCodeBadRequest

type GetContractCodeBadRequest struct {
	Payload *models.Error
}

GetContractCodeBadRequest handles this case with default header values.

Invalid pubkey

func NewGetContractCodeBadRequest

func NewGetContractCodeBadRequest() *GetContractCodeBadRequest

NewGetContractCodeBadRequest creates a GetContractCodeBadRequest with default headers values

func (*GetContractCodeBadRequest) Error

func (o *GetContractCodeBadRequest) Error() string

type GetContractCodeNotFound

type GetContractCodeNotFound struct {
	Payload *models.Error
}

GetContractCodeNotFound handles this case with default header values.

Contract not found

func NewGetContractCodeNotFound

func NewGetContractCodeNotFound() *GetContractCodeNotFound

NewGetContractCodeNotFound creates a GetContractCodeNotFound with default headers values

func (*GetContractCodeNotFound) Error

func (o *GetContractCodeNotFound) Error() string

type GetContractCodeOK

type GetContractCodeOK struct {
	Payload *models.ByteCode
}

GetContractCodeOK handles this case with default header values.

Contract code

func NewGetContractCodeOK

func NewGetContractCodeOK() *GetContractCodeOK

NewGetContractCodeOK creates a GetContractCodeOK with default headers values

func (*GetContractCodeOK) Error

func (o *GetContractCodeOK) Error() string

type GetContractCodeParams

type GetContractCodeParams struct {

	/*Pubkey
	  The pubkey of the contract

	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetContractCodeParams contains all the parameters to send to the API endpoint for the get contract code operation typically these are written to a http.Request

func NewGetContractCodeParams

func NewGetContractCodeParams() *GetContractCodeParams

NewGetContractCodeParams creates a new GetContractCodeParams object with the default values initialized.

func NewGetContractCodeParamsWithContext

func NewGetContractCodeParamsWithContext(ctx context.Context) *GetContractCodeParams

NewGetContractCodeParamsWithContext creates a new GetContractCodeParams object with the default values initialized, and the ability to set a context for a request

func NewGetContractCodeParamsWithHTTPClient

func NewGetContractCodeParamsWithHTTPClient(client *http.Client) *GetContractCodeParams

NewGetContractCodeParamsWithHTTPClient creates a new GetContractCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetContractCodeParamsWithTimeout

func NewGetContractCodeParamsWithTimeout(timeout time.Duration) *GetContractCodeParams

NewGetContractCodeParamsWithTimeout creates a new GetContractCodeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetContractCodeParams) SetContext

func (o *GetContractCodeParams) SetContext(ctx context.Context)

SetContext adds the context to the get contract code params

func (*GetContractCodeParams) SetHTTPClient

func (o *GetContractCodeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get contract code params

func (*GetContractCodeParams) SetPubkey

func (o *GetContractCodeParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get contract code params

func (*GetContractCodeParams) SetTimeout

func (o *GetContractCodeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get contract code params

func (*GetContractCodeParams) WithContext

WithContext adds the context to the get contract code params

func (*GetContractCodeParams) WithHTTPClient

func (o *GetContractCodeParams) WithHTTPClient(client *http.Client) *GetContractCodeParams

WithHTTPClient adds the HTTPClient to the get contract code params

func (*GetContractCodeParams) WithPubkey

func (o *GetContractCodeParams) WithPubkey(pubkey string) *GetContractCodeParams

WithPubkey adds the pubkey to the get contract code params

func (*GetContractCodeParams) WithTimeout

func (o *GetContractCodeParams) WithTimeout(timeout time.Duration) *GetContractCodeParams

WithTimeout adds the timeout to the get contract code params

func (*GetContractCodeParams) WriteToRequest

func (o *GetContractCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetContractCodeReader

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

GetContractCodeReader is a Reader for the GetContractCode structure.

func (*GetContractCodeReader) ReadResponse

func (o *GetContractCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetContractNotFound

type GetContractNotFound struct {
}

GetContractNotFound handles this case with default header values.

Contract not found

func NewGetContractNotFound

func NewGetContractNotFound() *GetContractNotFound

NewGetContractNotFound creates a GetContractNotFound with default headers values

func (*GetContractNotFound) Error

func (o *GetContractNotFound) Error() string

type GetContractOK

type GetContractOK struct {
	Payload *models.ContractObject
}

GetContractOK handles this case with default header values.

Successful operation

func NewGetContractOK

func NewGetContractOK() *GetContractOK

NewGetContractOK creates a GetContractOK with default headers values

func (*GetContractOK) Error

func (o *GetContractOK) Error() string

type GetContractParams

type GetContractParams struct {

	/*Pubkey
	  The pubkey of the contract

	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetContractParams contains all the parameters to send to the API endpoint for the get contract operation typically these are written to a http.Request

func NewGetContractParams

func NewGetContractParams() *GetContractParams

NewGetContractParams creates a new GetContractParams object with the default values initialized.

func NewGetContractParamsWithContext

func NewGetContractParamsWithContext(ctx context.Context) *GetContractParams

NewGetContractParamsWithContext creates a new GetContractParams object with the default values initialized, and the ability to set a context for a request

func NewGetContractParamsWithHTTPClient

func NewGetContractParamsWithHTTPClient(client *http.Client) *GetContractParams

NewGetContractParamsWithHTTPClient creates a new GetContractParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetContractParamsWithTimeout

func NewGetContractParamsWithTimeout(timeout time.Duration) *GetContractParams

NewGetContractParamsWithTimeout creates a new GetContractParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetContractParams) SetContext

func (o *GetContractParams) SetContext(ctx context.Context)

SetContext adds the context to the get contract params

func (*GetContractParams) SetHTTPClient

func (o *GetContractParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get contract params

func (*GetContractParams) SetPubkey

func (o *GetContractParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get contract params

func (*GetContractParams) SetTimeout

func (o *GetContractParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get contract params

func (*GetContractParams) WithContext

func (o *GetContractParams) WithContext(ctx context.Context) *GetContractParams

WithContext adds the context to the get contract params

func (*GetContractParams) WithHTTPClient

func (o *GetContractParams) WithHTTPClient(client *http.Client) *GetContractParams

WithHTTPClient adds the HTTPClient to the get contract params

func (*GetContractParams) WithPubkey

func (o *GetContractParams) WithPubkey(pubkey string) *GetContractParams

WithPubkey adds the pubkey to the get contract params

func (*GetContractParams) WithTimeout

func (o *GetContractParams) WithTimeout(timeout time.Duration) *GetContractParams

WithTimeout adds the timeout to the get contract params

func (*GetContractParams) WriteToRequest

func (o *GetContractParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetContractPoIBadRequest

type GetContractPoIBadRequest struct {
	Payload *models.Error
}

GetContractPoIBadRequest handles this case with default header values.

Invalid contract key

func NewGetContractPoIBadRequest

func NewGetContractPoIBadRequest() *GetContractPoIBadRequest

NewGetContractPoIBadRequest creates a GetContractPoIBadRequest with default headers values

func (*GetContractPoIBadRequest) Error

func (o *GetContractPoIBadRequest) Error() string

type GetContractPoINotFound

type GetContractPoINotFound struct {
	Payload *models.Error
}

GetContractPoINotFound handles this case with default header values.

Contract not found

func NewGetContractPoINotFound

func NewGetContractPoINotFound() *GetContractPoINotFound

NewGetContractPoINotFound creates a GetContractPoINotFound with default headers values

func (*GetContractPoINotFound) Error

func (o *GetContractPoINotFound) Error() string

type GetContractPoIOK

type GetContractPoIOK struct {
	Payload *models.PoI
}

GetContractPoIOK handles this case with default header values.

Successful operation

func NewGetContractPoIOK

func NewGetContractPoIOK() *GetContractPoIOK

NewGetContractPoIOK creates a GetContractPoIOK with default headers values

func (*GetContractPoIOK) Error

func (o *GetContractPoIOK) Error() string

type GetContractPoIParams

type GetContractPoIParams struct {

	/*Pubkey
	  Contract pubkey to get proof for

	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetContractPoIParams contains all the parameters to send to the API endpoint for the get contract po i operation typically these are written to a http.Request

func NewGetContractPoIParams

func NewGetContractPoIParams() *GetContractPoIParams

NewGetContractPoIParams creates a new GetContractPoIParams object with the default values initialized.

func NewGetContractPoIParamsWithContext

func NewGetContractPoIParamsWithContext(ctx context.Context) *GetContractPoIParams

NewGetContractPoIParamsWithContext creates a new GetContractPoIParams object with the default values initialized, and the ability to set a context for a request

func NewGetContractPoIParamsWithHTTPClient

func NewGetContractPoIParamsWithHTTPClient(client *http.Client) *GetContractPoIParams

NewGetContractPoIParamsWithHTTPClient creates a new GetContractPoIParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetContractPoIParamsWithTimeout

func NewGetContractPoIParamsWithTimeout(timeout time.Duration) *GetContractPoIParams

NewGetContractPoIParamsWithTimeout creates a new GetContractPoIParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetContractPoIParams) SetContext

func (o *GetContractPoIParams) SetContext(ctx context.Context)

SetContext adds the context to the get contract po i params

func (*GetContractPoIParams) SetHTTPClient

func (o *GetContractPoIParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get contract po i params

func (*GetContractPoIParams) SetPubkey

func (o *GetContractPoIParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get contract po i params

func (*GetContractPoIParams) SetTimeout

func (o *GetContractPoIParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get contract po i params

func (*GetContractPoIParams) WithContext

WithContext adds the context to the get contract po i params

func (*GetContractPoIParams) WithHTTPClient

func (o *GetContractPoIParams) WithHTTPClient(client *http.Client) *GetContractPoIParams

WithHTTPClient adds the HTTPClient to the get contract po i params

func (*GetContractPoIParams) WithPubkey

func (o *GetContractPoIParams) WithPubkey(pubkey string) *GetContractPoIParams

WithPubkey adds the pubkey to the get contract po i params

func (*GetContractPoIParams) WithTimeout

func (o *GetContractPoIParams) WithTimeout(timeout time.Duration) *GetContractPoIParams

WithTimeout adds the timeout to the get contract po i params

func (*GetContractPoIParams) WriteToRequest

func (o *GetContractPoIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetContractPoIReader

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

GetContractPoIReader is a Reader for the GetContractPoI structure.

func (*GetContractPoIReader) ReadResponse

func (o *GetContractPoIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetContractReader

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

GetContractReader is a Reader for the GetContract structure.

func (*GetContractReader) ReadResponse

func (o *GetContractReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetContractStoreBadRequest

type GetContractStoreBadRequest struct {
	Payload *models.Error
}

GetContractStoreBadRequest handles this case with default header values.

Invalid pubkey

func NewGetContractStoreBadRequest

func NewGetContractStoreBadRequest() *GetContractStoreBadRequest

NewGetContractStoreBadRequest creates a GetContractStoreBadRequest with default headers values

func (*GetContractStoreBadRequest) Error

type GetContractStoreNotFound

type GetContractStoreNotFound struct {
}

GetContractStoreNotFound handles this case with default header values.

Contract not found

func NewGetContractStoreNotFound

func NewGetContractStoreNotFound() *GetContractStoreNotFound

NewGetContractStoreNotFound creates a GetContractStoreNotFound with default headers values

func (*GetContractStoreNotFound) Error

func (o *GetContractStoreNotFound) Error() string

type GetContractStoreOK

type GetContractStoreOK struct {
	Payload *models.ContractStore
}

GetContractStoreOK handles this case with default header values.

Contract Store

func NewGetContractStoreOK

func NewGetContractStoreOK() *GetContractStoreOK

NewGetContractStoreOK creates a GetContractStoreOK with default headers values

func (*GetContractStoreOK) Error

func (o *GetContractStoreOK) Error() string

type GetContractStoreParams

type GetContractStoreParams struct {

	/*Pubkey
	  The pubkey of the contract

	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetContractStoreParams contains all the parameters to send to the API endpoint for the get contract store operation typically these are written to a http.Request

func NewGetContractStoreParams

func NewGetContractStoreParams() *GetContractStoreParams

NewGetContractStoreParams creates a new GetContractStoreParams object with the default values initialized.

func NewGetContractStoreParamsWithContext

func NewGetContractStoreParamsWithContext(ctx context.Context) *GetContractStoreParams

NewGetContractStoreParamsWithContext creates a new GetContractStoreParams object with the default values initialized, and the ability to set a context for a request

func NewGetContractStoreParamsWithHTTPClient

func NewGetContractStoreParamsWithHTTPClient(client *http.Client) *GetContractStoreParams

NewGetContractStoreParamsWithHTTPClient creates a new GetContractStoreParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetContractStoreParamsWithTimeout

func NewGetContractStoreParamsWithTimeout(timeout time.Duration) *GetContractStoreParams

NewGetContractStoreParamsWithTimeout creates a new GetContractStoreParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetContractStoreParams) SetContext

func (o *GetContractStoreParams) SetContext(ctx context.Context)

SetContext adds the context to the get contract store params

func (*GetContractStoreParams) SetHTTPClient

func (o *GetContractStoreParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get contract store params

func (*GetContractStoreParams) SetPubkey

func (o *GetContractStoreParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get contract store params

func (*GetContractStoreParams) SetTimeout

func (o *GetContractStoreParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get contract store params

func (*GetContractStoreParams) WithContext

WithContext adds the context to the get contract store params

func (*GetContractStoreParams) WithHTTPClient

func (o *GetContractStoreParams) WithHTTPClient(client *http.Client) *GetContractStoreParams

WithHTTPClient adds the HTTPClient to the get contract store params

func (*GetContractStoreParams) WithPubkey

func (o *GetContractStoreParams) WithPubkey(pubkey string) *GetContractStoreParams

WithPubkey adds the pubkey to the get contract store params

func (*GetContractStoreParams) WithTimeout

WithTimeout adds the timeout to the get contract store params

func (*GetContractStoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetContractStoreReader

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

GetContractStoreReader is a Reader for the GetContractStore structure.

func (*GetContractStoreReader) ReadResponse

func (o *GetContractStoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCurrentGenerationNotFound

type GetCurrentGenerationNotFound struct {
	Payload *models.Error
}

GetCurrentGenerationNotFound handles this case with default header values.

Generation not found

func NewGetCurrentGenerationNotFound

func NewGetCurrentGenerationNotFound() *GetCurrentGenerationNotFound

NewGetCurrentGenerationNotFound creates a GetCurrentGenerationNotFound with default headers values

func (*GetCurrentGenerationNotFound) Error

type GetCurrentGenerationOK

type GetCurrentGenerationOK struct {
	Payload *models.Generation
}

GetCurrentGenerationOK handles this case with default header values.

Successful operation

func NewGetCurrentGenerationOK

func NewGetCurrentGenerationOK() *GetCurrentGenerationOK

NewGetCurrentGenerationOK creates a GetCurrentGenerationOK with default headers values

func (*GetCurrentGenerationOK) Error

func (o *GetCurrentGenerationOK) Error() string

type GetCurrentGenerationParams

type GetCurrentGenerationParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCurrentGenerationParams contains all the parameters to send to the API endpoint for the get current generation operation typically these are written to a http.Request

func NewGetCurrentGenerationParams

func NewGetCurrentGenerationParams() *GetCurrentGenerationParams

NewGetCurrentGenerationParams creates a new GetCurrentGenerationParams object with the default values initialized.

func NewGetCurrentGenerationParamsWithContext

func NewGetCurrentGenerationParamsWithContext(ctx context.Context) *GetCurrentGenerationParams

NewGetCurrentGenerationParamsWithContext creates a new GetCurrentGenerationParams object with the default values initialized, and the ability to set a context for a request

func NewGetCurrentGenerationParamsWithHTTPClient

func NewGetCurrentGenerationParamsWithHTTPClient(client *http.Client) *GetCurrentGenerationParams

NewGetCurrentGenerationParamsWithHTTPClient creates a new GetCurrentGenerationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCurrentGenerationParamsWithTimeout

func NewGetCurrentGenerationParamsWithTimeout(timeout time.Duration) *GetCurrentGenerationParams

NewGetCurrentGenerationParamsWithTimeout creates a new GetCurrentGenerationParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCurrentGenerationParams) SetContext

func (o *GetCurrentGenerationParams) SetContext(ctx context.Context)

SetContext adds the context to the get current generation params

func (*GetCurrentGenerationParams) SetHTTPClient

func (o *GetCurrentGenerationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get current generation params

func (*GetCurrentGenerationParams) SetTimeout

func (o *GetCurrentGenerationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get current generation params

func (*GetCurrentGenerationParams) WithContext

WithContext adds the context to the get current generation params

func (*GetCurrentGenerationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current generation params

func (*GetCurrentGenerationParams) WithTimeout

WithTimeout adds the timeout to the get current generation params

func (*GetCurrentGenerationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentGenerationReader

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

GetCurrentGenerationReader is a Reader for the GetCurrentGeneration structure.

func (*GetCurrentGenerationReader) ReadResponse

func (o *GetCurrentGenerationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCurrentKeyBlockHashNotFound

type GetCurrentKeyBlockHashNotFound struct {
	Payload *models.Error
}

GetCurrentKeyBlockHashNotFound handles this case with default header values.

Block not found

func NewGetCurrentKeyBlockHashNotFound

func NewGetCurrentKeyBlockHashNotFound() *GetCurrentKeyBlockHashNotFound

NewGetCurrentKeyBlockHashNotFound creates a GetCurrentKeyBlockHashNotFound with default headers values

func (*GetCurrentKeyBlockHashNotFound) Error

type GetCurrentKeyBlockHashOK

type GetCurrentKeyBlockHashOK struct {
	Payload *models.InlineResponse200
}

GetCurrentKeyBlockHashOK handles this case with default header values.

Successful operation

func NewGetCurrentKeyBlockHashOK

func NewGetCurrentKeyBlockHashOK() *GetCurrentKeyBlockHashOK

NewGetCurrentKeyBlockHashOK creates a GetCurrentKeyBlockHashOK with default headers values

func (*GetCurrentKeyBlockHashOK) Error

func (o *GetCurrentKeyBlockHashOK) Error() string

type GetCurrentKeyBlockHashParams

type GetCurrentKeyBlockHashParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCurrentKeyBlockHashParams contains all the parameters to send to the API endpoint for the get current key block hash operation typically these are written to a http.Request

func NewGetCurrentKeyBlockHashParams

func NewGetCurrentKeyBlockHashParams() *GetCurrentKeyBlockHashParams

NewGetCurrentKeyBlockHashParams creates a new GetCurrentKeyBlockHashParams object with the default values initialized.

func NewGetCurrentKeyBlockHashParamsWithContext

func NewGetCurrentKeyBlockHashParamsWithContext(ctx context.Context) *GetCurrentKeyBlockHashParams

NewGetCurrentKeyBlockHashParamsWithContext creates a new GetCurrentKeyBlockHashParams object with the default values initialized, and the ability to set a context for a request

func NewGetCurrentKeyBlockHashParamsWithHTTPClient

func NewGetCurrentKeyBlockHashParamsWithHTTPClient(client *http.Client) *GetCurrentKeyBlockHashParams

NewGetCurrentKeyBlockHashParamsWithHTTPClient creates a new GetCurrentKeyBlockHashParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCurrentKeyBlockHashParamsWithTimeout

func NewGetCurrentKeyBlockHashParamsWithTimeout(timeout time.Duration) *GetCurrentKeyBlockHashParams

NewGetCurrentKeyBlockHashParamsWithTimeout creates a new GetCurrentKeyBlockHashParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCurrentKeyBlockHashParams) SetContext

func (o *GetCurrentKeyBlockHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get current key block hash params

func (*GetCurrentKeyBlockHashParams) SetHTTPClient

func (o *GetCurrentKeyBlockHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get current key block hash params

func (*GetCurrentKeyBlockHashParams) SetTimeout

func (o *GetCurrentKeyBlockHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get current key block hash params

func (*GetCurrentKeyBlockHashParams) WithContext

WithContext adds the context to the get current key block hash params

func (*GetCurrentKeyBlockHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current key block hash params

func (*GetCurrentKeyBlockHashParams) WithTimeout

WithTimeout adds the timeout to the get current key block hash params

func (*GetCurrentKeyBlockHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentKeyBlockHashReader

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

GetCurrentKeyBlockHashReader is a Reader for the GetCurrentKeyBlockHash structure.

func (*GetCurrentKeyBlockHashReader) ReadResponse

func (o *GetCurrentKeyBlockHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCurrentKeyBlockHeightNotFound

type GetCurrentKeyBlockHeightNotFound struct {
	Payload *models.Error
}

GetCurrentKeyBlockHeightNotFound handles this case with default header values.

Block not found

func NewGetCurrentKeyBlockHeightNotFound

func NewGetCurrentKeyBlockHeightNotFound() *GetCurrentKeyBlockHeightNotFound

NewGetCurrentKeyBlockHeightNotFound creates a GetCurrentKeyBlockHeightNotFound with default headers values

func (*GetCurrentKeyBlockHeightNotFound) Error

type GetCurrentKeyBlockHeightOK

type GetCurrentKeyBlockHeightOK struct {
	Payload *models.InlineResponse2001
}

GetCurrentKeyBlockHeightOK handles this case with default header values.

Successful operation

func NewGetCurrentKeyBlockHeightOK

func NewGetCurrentKeyBlockHeightOK() *GetCurrentKeyBlockHeightOK

NewGetCurrentKeyBlockHeightOK creates a GetCurrentKeyBlockHeightOK with default headers values

func (*GetCurrentKeyBlockHeightOK) Error

type GetCurrentKeyBlockHeightParams

type GetCurrentKeyBlockHeightParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCurrentKeyBlockHeightParams contains all the parameters to send to the API endpoint for the get current key block height operation typically these are written to a http.Request

func NewGetCurrentKeyBlockHeightParams

func NewGetCurrentKeyBlockHeightParams() *GetCurrentKeyBlockHeightParams

NewGetCurrentKeyBlockHeightParams creates a new GetCurrentKeyBlockHeightParams object with the default values initialized.

func NewGetCurrentKeyBlockHeightParamsWithContext

func NewGetCurrentKeyBlockHeightParamsWithContext(ctx context.Context) *GetCurrentKeyBlockHeightParams

NewGetCurrentKeyBlockHeightParamsWithContext creates a new GetCurrentKeyBlockHeightParams object with the default values initialized, and the ability to set a context for a request

func NewGetCurrentKeyBlockHeightParamsWithHTTPClient

func NewGetCurrentKeyBlockHeightParamsWithHTTPClient(client *http.Client) *GetCurrentKeyBlockHeightParams

NewGetCurrentKeyBlockHeightParamsWithHTTPClient creates a new GetCurrentKeyBlockHeightParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCurrentKeyBlockHeightParamsWithTimeout

func NewGetCurrentKeyBlockHeightParamsWithTimeout(timeout time.Duration) *GetCurrentKeyBlockHeightParams

NewGetCurrentKeyBlockHeightParamsWithTimeout creates a new GetCurrentKeyBlockHeightParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCurrentKeyBlockHeightParams) SetContext

func (o *GetCurrentKeyBlockHeightParams) SetContext(ctx context.Context)

SetContext adds the context to the get current key block height params

func (*GetCurrentKeyBlockHeightParams) SetHTTPClient

func (o *GetCurrentKeyBlockHeightParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get current key block height params

func (*GetCurrentKeyBlockHeightParams) SetTimeout

func (o *GetCurrentKeyBlockHeightParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get current key block height params

func (*GetCurrentKeyBlockHeightParams) WithContext

WithContext adds the context to the get current key block height params

func (*GetCurrentKeyBlockHeightParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current key block height params

func (*GetCurrentKeyBlockHeightParams) WithTimeout

WithTimeout adds the timeout to the get current key block height params

func (*GetCurrentKeyBlockHeightParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentKeyBlockHeightReader

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

GetCurrentKeyBlockHeightReader is a Reader for the GetCurrentKeyBlockHeight structure.

func (*GetCurrentKeyBlockHeightReader) ReadResponse

func (o *GetCurrentKeyBlockHeightReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCurrentKeyBlockNotFound

type GetCurrentKeyBlockNotFound struct {
	Payload *models.Error
}

GetCurrentKeyBlockNotFound handles this case with default header values.

Block not found

func NewGetCurrentKeyBlockNotFound

func NewGetCurrentKeyBlockNotFound() *GetCurrentKeyBlockNotFound

NewGetCurrentKeyBlockNotFound creates a GetCurrentKeyBlockNotFound with default headers values

func (*GetCurrentKeyBlockNotFound) Error

type GetCurrentKeyBlockOK

type GetCurrentKeyBlockOK struct {
	Payload *models.KeyBlock
}

GetCurrentKeyBlockOK handles this case with default header values.

Successful operation

func NewGetCurrentKeyBlockOK

func NewGetCurrentKeyBlockOK() *GetCurrentKeyBlockOK

NewGetCurrentKeyBlockOK creates a GetCurrentKeyBlockOK with default headers values

func (*GetCurrentKeyBlockOK) Error

func (o *GetCurrentKeyBlockOK) Error() string

type GetCurrentKeyBlockParams

type GetCurrentKeyBlockParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCurrentKeyBlockParams contains all the parameters to send to the API endpoint for the get current key block operation typically these are written to a http.Request

func NewGetCurrentKeyBlockParams

func NewGetCurrentKeyBlockParams() *GetCurrentKeyBlockParams

NewGetCurrentKeyBlockParams creates a new GetCurrentKeyBlockParams object with the default values initialized.

func NewGetCurrentKeyBlockParamsWithContext

func NewGetCurrentKeyBlockParamsWithContext(ctx context.Context) *GetCurrentKeyBlockParams

NewGetCurrentKeyBlockParamsWithContext creates a new GetCurrentKeyBlockParams object with the default values initialized, and the ability to set a context for a request

func NewGetCurrentKeyBlockParamsWithHTTPClient

func NewGetCurrentKeyBlockParamsWithHTTPClient(client *http.Client) *GetCurrentKeyBlockParams

NewGetCurrentKeyBlockParamsWithHTTPClient creates a new GetCurrentKeyBlockParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCurrentKeyBlockParamsWithTimeout

func NewGetCurrentKeyBlockParamsWithTimeout(timeout time.Duration) *GetCurrentKeyBlockParams

NewGetCurrentKeyBlockParamsWithTimeout creates a new GetCurrentKeyBlockParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCurrentKeyBlockParams) SetContext

func (o *GetCurrentKeyBlockParams) SetContext(ctx context.Context)

SetContext adds the context to the get current key block params

func (*GetCurrentKeyBlockParams) SetHTTPClient

func (o *GetCurrentKeyBlockParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get current key block params

func (*GetCurrentKeyBlockParams) SetTimeout

func (o *GetCurrentKeyBlockParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get current key block params

func (*GetCurrentKeyBlockParams) WithContext

WithContext adds the context to the get current key block params

func (*GetCurrentKeyBlockParams) WithHTTPClient

func (o *GetCurrentKeyBlockParams) WithHTTPClient(client *http.Client) *GetCurrentKeyBlockParams

WithHTTPClient adds the HTTPClient to the get current key block params

func (*GetCurrentKeyBlockParams) WithTimeout

WithTimeout adds the timeout to the get current key block params

func (*GetCurrentKeyBlockParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentKeyBlockReader

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

GetCurrentKeyBlockReader is a Reader for the GetCurrentKeyBlock structure.

func (*GetCurrentKeyBlockReader) ReadResponse

func (o *GetCurrentKeyBlockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGenerationByHashBadRequest

type GetGenerationByHashBadRequest struct {
	Payload *models.Error
}

GetGenerationByHashBadRequest handles this case with default header values.

Invalid hash

func NewGetGenerationByHashBadRequest

func NewGetGenerationByHashBadRequest() *GetGenerationByHashBadRequest

NewGetGenerationByHashBadRequest creates a GetGenerationByHashBadRequest with default headers values

func (*GetGenerationByHashBadRequest) Error

type GetGenerationByHashNotFound

type GetGenerationByHashNotFound struct {
	Payload *models.Error
}

GetGenerationByHashNotFound handles this case with default header values.

Generation not found

func NewGetGenerationByHashNotFound

func NewGetGenerationByHashNotFound() *GetGenerationByHashNotFound

NewGetGenerationByHashNotFound creates a GetGenerationByHashNotFound with default headers values

func (*GetGenerationByHashNotFound) Error

type GetGenerationByHashOK

type GetGenerationByHashOK struct {
	Payload *models.Generation
}

GetGenerationByHashOK handles this case with default header values.

Successful operation

func NewGetGenerationByHashOK

func NewGetGenerationByHashOK() *GetGenerationByHashOK

NewGetGenerationByHashOK creates a GetGenerationByHashOK with default headers values

func (*GetGenerationByHashOK) Error

func (o *GetGenerationByHashOK) Error() string

type GetGenerationByHashParams

type GetGenerationByHashParams struct {

	/*Hash
	  The hash of the generation

	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGenerationByHashParams contains all the parameters to send to the API endpoint for the get generation by hash operation typically these are written to a http.Request

func NewGetGenerationByHashParams

func NewGetGenerationByHashParams() *GetGenerationByHashParams

NewGetGenerationByHashParams creates a new GetGenerationByHashParams object with the default values initialized.

func NewGetGenerationByHashParamsWithContext

func NewGetGenerationByHashParamsWithContext(ctx context.Context) *GetGenerationByHashParams

NewGetGenerationByHashParamsWithContext creates a new GetGenerationByHashParams object with the default values initialized, and the ability to set a context for a request

func NewGetGenerationByHashParamsWithHTTPClient

func NewGetGenerationByHashParamsWithHTTPClient(client *http.Client) *GetGenerationByHashParams

NewGetGenerationByHashParamsWithHTTPClient creates a new GetGenerationByHashParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetGenerationByHashParamsWithTimeout

func NewGetGenerationByHashParamsWithTimeout(timeout time.Duration) *GetGenerationByHashParams

NewGetGenerationByHashParamsWithTimeout creates a new GetGenerationByHashParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetGenerationByHashParams) SetContext

func (o *GetGenerationByHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get generation by hash params

func (*GetGenerationByHashParams) SetHTTPClient

func (o *GetGenerationByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get generation by hash params

func (*GetGenerationByHashParams) SetHash

func (o *GetGenerationByHashParams) SetHash(hash string)

SetHash adds the hash to the get generation by hash params

func (*GetGenerationByHashParams) SetTimeout

func (o *GetGenerationByHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get generation by hash params

func (*GetGenerationByHashParams) WithContext

WithContext adds the context to the get generation by hash params

func (*GetGenerationByHashParams) WithHTTPClient

func (o *GetGenerationByHashParams) WithHTTPClient(client *http.Client) *GetGenerationByHashParams

WithHTTPClient adds the HTTPClient to the get generation by hash params

func (*GetGenerationByHashParams) WithHash

WithHash adds the hash to the get generation by hash params

func (*GetGenerationByHashParams) WithTimeout

WithTimeout adds the timeout to the get generation by hash params

func (*GetGenerationByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGenerationByHashReader

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

GetGenerationByHashReader is a Reader for the GetGenerationByHash structure.

func (*GetGenerationByHashReader) ReadResponse

func (o *GetGenerationByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGenerationByHeightNotFound

type GetGenerationByHeightNotFound struct {
	Payload *models.Error
}

GetGenerationByHeightNotFound handles this case with default header values.

Generation not found

func NewGetGenerationByHeightNotFound

func NewGetGenerationByHeightNotFound() *GetGenerationByHeightNotFound

NewGetGenerationByHeightNotFound creates a GetGenerationByHeightNotFound with default headers values

func (*GetGenerationByHeightNotFound) Error

type GetGenerationByHeightOK

type GetGenerationByHeightOK struct {
	Payload *models.Generation
}

GetGenerationByHeightOK handles this case with default header values.

Successful operation

func NewGetGenerationByHeightOK

func NewGetGenerationByHeightOK() *GetGenerationByHeightOK

NewGetGenerationByHeightOK creates a GetGenerationByHeightOK with default headers values

func (*GetGenerationByHeightOK) Error

func (o *GetGenerationByHeightOK) Error() string

type GetGenerationByHeightParams

type GetGenerationByHeightParams struct {

	/*Height
	  The height of the generation

	*/
	Height uint64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGenerationByHeightParams contains all the parameters to send to the API endpoint for the get generation by height operation typically these are written to a http.Request

func NewGetGenerationByHeightParams

func NewGetGenerationByHeightParams() *GetGenerationByHeightParams

NewGetGenerationByHeightParams creates a new GetGenerationByHeightParams object with the default values initialized.

func NewGetGenerationByHeightParamsWithContext

func NewGetGenerationByHeightParamsWithContext(ctx context.Context) *GetGenerationByHeightParams

NewGetGenerationByHeightParamsWithContext creates a new GetGenerationByHeightParams object with the default values initialized, and the ability to set a context for a request

func NewGetGenerationByHeightParamsWithHTTPClient

func NewGetGenerationByHeightParamsWithHTTPClient(client *http.Client) *GetGenerationByHeightParams

NewGetGenerationByHeightParamsWithHTTPClient creates a new GetGenerationByHeightParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetGenerationByHeightParamsWithTimeout

func NewGetGenerationByHeightParamsWithTimeout(timeout time.Duration) *GetGenerationByHeightParams

NewGetGenerationByHeightParamsWithTimeout creates a new GetGenerationByHeightParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetGenerationByHeightParams) SetContext

func (o *GetGenerationByHeightParams) SetContext(ctx context.Context)

SetContext adds the context to the get generation by height params

func (*GetGenerationByHeightParams) SetHTTPClient

func (o *GetGenerationByHeightParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get generation by height params

func (*GetGenerationByHeightParams) SetHeight

func (o *GetGenerationByHeightParams) SetHeight(height uint64)

SetHeight adds the height to the get generation by height params

func (*GetGenerationByHeightParams) SetTimeout

func (o *GetGenerationByHeightParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get generation by height params

func (*GetGenerationByHeightParams) WithContext

WithContext adds the context to the get generation by height params

func (*GetGenerationByHeightParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get generation by height params

func (*GetGenerationByHeightParams) WithHeight

WithHeight adds the height to the get generation by height params

func (*GetGenerationByHeightParams) WithTimeout

WithTimeout adds the timeout to the get generation by height params

func (*GetGenerationByHeightParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGenerationByHeightReader

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

GetGenerationByHeightReader is a Reader for the GetGenerationByHeight structure.

func (*GetGenerationByHeightReader) ReadResponse

func (o *GetGenerationByHeightReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetKeyBlockByHashBadRequest

type GetKeyBlockByHashBadRequest struct {
	Payload *models.Error
}

GetKeyBlockByHashBadRequest handles this case with default header values.

Invalid hash

func NewGetKeyBlockByHashBadRequest

func NewGetKeyBlockByHashBadRequest() *GetKeyBlockByHashBadRequest

NewGetKeyBlockByHashBadRequest creates a GetKeyBlockByHashBadRequest with default headers values

func (*GetKeyBlockByHashBadRequest) Error

type GetKeyBlockByHashNotFound

type GetKeyBlockByHashNotFound struct {
	Payload *models.Error
}

GetKeyBlockByHashNotFound handles this case with default header values.

Block not found

func NewGetKeyBlockByHashNotFound

func NewGetKeyBlockByHashNotFound() *GetKeyBlockByHashNotFound

NewGetKeyBlockByHashNotFound creates a GetKeyBlockByHashNotFound with default headers values

func (*GetKeyBlockByHashNotFound) Error

func (o *GetKeyBlockByHashNotFound) Error() string

type GetKeyBlockByHashOK

type GetKeyBlockByHashOK struct {
	Payload *models.KeyBlock
}

GetKeyBlockByHashOK handles this case with default header values.

Successful operation

func NewGetKeyBlockByHashOK

func NewGetKeyBlockByHashOK() *GetKeyBlockByHashOK

NewGetKeyBlockByHashOK creates a GetKeyBlockByHashOK with default headers values

func (*GetKeyBlockByHashOK) Error

func (o *GetKeyBlockByHashOK) Error() string

type GetKeyBlockByHashParams

type GetKeyBlockByHashParams struct {

	/*Hash
	  The hash of the block

	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetKeyBlockByHashParams contains all the parameters to send to the API endpoint for the get key block by hash operation typically these are written to a http.Request

func NewGetKeyBlockByHashParams

func NewGetKeyBlockByHashParams() *GetKeyBlockByHashParams

NewGetKeyBlockByHashParams creates a new GetKeyBlockByHashParams object with the default values initialized.

func NewGetKeyBlockByHashParamsWithContext

func NewGetKeyBlockByHashParamsWithContext(ctx context.Context) *GetKeyBlockByHashParams

NewGetKeyBlockByHashParamsWithContext creates a new GetKeyBlockByHashParams object with the default values initialized, and the ability to set a context for a request

func NewGetKeyBlockByHashParamsWithHTTPClient

func NewGetKeyBlockByHashParamsWithHTTPClient(client *http.Client) *GetKeyBlockByHashParams

NewGetKeyBlockByHashParamsWithHTTPClient creates a new GetKeyBlockByHashParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetKeyBlockByHashParamsWithTimeout

func NewGetKeyBlockByHashParamsWithTimeout(timeout time.Duration) *GetKeyBlockByHashParams

NewGetKeyBlockByHashParamsWithTimeout creates a new GetKeyBlockByHashParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetKeyBlockByHashParams) SetContext

func (o *GetKeyBlockByHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get key block by hash params

func (*GetKeyBlockByHashParams) SetHTTPClient

func (o *GetKeyBlockByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get key block by hash params

func (*GetKeyBlockByHashParams) SetHash

func (o *GetKeyBlockByHashParams) SetHash(hash string)

SetHash adds the hash to the get key block by hash params

func (*GetKeyBlockByHashParams) SetTimeout

func (o *GetKeyBlockByHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get key block by hash params

func (*GetKeyBlockByHashParams) WithContext

WithContext adds the context to the get key block by hash params

func (*GetKeyBlockByHashParams) WithHTTPClient

func (o *GetKeyBlockByHashParams) WithHTTPClient(client *http.Client) *GetKeyBlockByHashParams

WithHTTPClient adds the HTTPClient to the get key block by hash params

func (*GetKeyBlockByHashParams) WithHash

WithHash adds the hash to the get key block by hash params

func (*GetKeyBlockByHashParams) WithTimeout

WithTimeout adds the timeout to the get key block by hash params

func (*GetKeyBlockByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetKeyBlockByHashReader

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

GetKeyBlockByHashReader is a Reader for the GetKeyBlockByHash structure.

func (*GetKeyBlockByHashReader) ReadResponse

func (o *GetKeyBlockByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetKeyBlockByHeightNotFound

type GetKeyBlockByHeightNotFound struct {
	Payload *models.Error
}

GetKeyBlockByHeightNotFound handles this case with default header values.

Block not found

func NewGetKeyBlockByHeightNotFound

func NewGetKeyBlockByHeightNotFound() *GetKeyBlockByHeightNotFound

NewGetKeyBlockByHeightNotFound creates a GetKeyBlockByHeightNotFound with default headers values

func (*GetKeyBlockByHeightNotFound) Error

type GetKeyBlockByHeightOK

type GetKeyBlockByHeightOK struct {
	Payload *models.KeyBlock
}

GetKeyBlockByHeightOK handles this case with default header values.

Successful operation

func NewGetKeyBlockByHeightOK

func NewGetKeyBlockByHeightOK() *GetKeyBlockByHeightOK

NewGetKeyBlockByHeightOK creates a GetKeyBlockByHeightOK with default headers values

func (*GetKeyBlockByHeightOK) Error

func (o *GetKeyBlockByHeightOK) Error() string

type GetKeyBlockByHeightParams

type GetKeyBlockByHeightParams struct {

	/*Height
	  The height of the block

	*/
	Height int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetKeyBlockByHeightParams contains all the parameters to send to the API endpoint for the get key block by height operation typically these are written to a http.Request

func NewGetKeyBlockByHeightParams

func NewGetKeyBlockByHeightParams() *GetKeyBlockByHeightParams

NewGetKeyBlockByHeightParams creates a new GetKeyBlockByHeightParams object with the default values initialized.

func NewGetKeyBlockByHeightParamsWithContext

func NewGetKeyBlockByHeightParamsWithContext(ctx context.Context) *GetKeyBlockByHeightParams

NewGetKeyBlockByHeightParamsWithContext creates a new GetKeyBlockByHeightParams object with the default values initialized, and the ability to set a context for a request

func NewGetKeyBlockByHeightParamsWithHTTPClient

func NewGetKeyBlockByHeightParamsWithHTTPClient(client *http.Client) *GetKeyBlockByHeightParams

NewGetKeyBlockByHeightParamsWithHTTPClient creates a new GetKeyBlockByHeightParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetKeyBlockByHeightParamsWithTimeout

func NewGetKeyBlockByHeightParamsWithTimeout(timeout time.Duration) *GetKeyBlockByHeightParams

NewGetKeyBlockByHeightParamsWithTimeout creates a new GetKeyBlockByHeightParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetKeyBlockByHeightParams) SetContext

func (o *GetKeyBlockByHeightParams) SetContext(ctx context.Context)

SetContext adds the context to the get key block by height params

func (*GetKeyBlockByHeightParams) SetHTTPClient

func (o *GetKeyBlockByHeightParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get key block by height params

func (*GetKeyBlockByHeightParams) SetHeight

func (o *GetKeyBlockByHeightParams) SetHeight(height int64)

SetHeight adds the height to the get key block by height params

func (*GetKeyBlockByHeightParams) SetTimeout

func (o *GetKeyBlockByHeightParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get key block by height params

func (*GetKeyBlockByHeightParams) WithContext

WithContext adds the context to the get key block by height params

func (*GetKeyBlockByHeightParams) WithHTTPClient

func (o *GetKeyBlockByHeightParams) WithHTTPClient(client *http.Client) *GetKeyBlockByHeightParams

WithHTTPClient adds the HTTPClient to the get key block by height params

func (*GetKeyBlockByHeightParams) WithHeight

WithHeight adds the height to the get key block by height params

func (*GetKeyBlockByHeightParams) WithTimeout

WithTimeout adds the timeout to the get key block by height params

func (*GetKeyBlockByHeightParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetKeyBlockByHeightReader

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

GetKeyBlockByHeightReader is a Reader for the GetKeyBlockByHeight structure.

func (*GetKeyBlockByHeightReader) ReadResponse

func (o *GetKeyBlockByHeightReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMicroBlockHeaderByHashBadRequest

type GetMicroBlockHeaderByHashBadRequest struct {
	Payload *models.Error
}

GetMicroBlockHeaderByHashBadRequest handles this case with default header values.

Invalid hash

func NewGetMicroBlockHeaderByHashBadRequest

func NewGetMicroBlockHeaderByHashBadRequest() *GetMicroBlockHeaderByHashBadRequest

NewGetMicroBlockHeaderByHashBadRequest creates a GetMicroBlockHeaderByHashBadRequest with default headers values

func (*GetMicroBlockHeaderByHashBadRequest) Error

type GetMicroBlockHeaderByHashNotFound

type GetMicroBlockHeaderByHashNotFound struct {
	Payload *models.Error
}

GetMicroBlockHeaderByHashNotFound handles this case with default header values.

Block not found

func NewGetMicroBlockHeaderByHashNotFound

func NewGetMicroBlockHeaderByHashNotFound() *GetMicroBlockHeaderByHashNotFound

NewGetMicroBlockHeaderByHashNotFound creates a GetMicroBlockHeaderByHashNotFound with default headers values

func (*GetMicroBlockHeaderByHashNotFound) Error

type GetMicroBlockHeaderByHashOK

type GetMicroBlockHeaderByHashOK struct {
	Payload *models.MicroBlockHeader
}

GetMicroBlockHeaderByHashOK handles this case with default header values.

Successful operation

func NewGetMicroBlockHeaderByHashOK

func NewGetMicroBlockHeaderByHashOK() *GetMicroBlockHeaderByHashOK

NewGetMicroBlockHeaderByHashOK creates a GetMicroBlockHeaderByHashOK with default headers values

func (*GetMicroBlockHeaderByHashOK) Error

type GetMicroBlockHeaderByHashParams

type GetMicroBlockHeaderByHashParams struct {

	/*Hash
	  The hash of the block

	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMicroBlockHeaderByHashParams contains all the parameters to send to the API endpoint for the get micro block header by hash operation typically these are written to a http.Request

func NewGetMicroBlockHeaderByHashParams

func NewGetMicroBlockHeaderByHashParams() *GetMicroBlockHeaderByHashParams

NewGetMicroBlockHeaderByHashParams creates a new GetMicroBlockHeaderByHashParams object with the default values initialized.

func NewGetMicroBlockHeaderByHashParamsWithContext

func NewGetMicroBlockHeaderByHashParamsWithContext(ctx context.Context) *GetMicroBlockHeaderByHashParams

NewGetMicroBlockHeaderByHashParamsWithContext creates a new GetMicroBlockHeaderByHashParams object with the default values initialized, and the ability to set a context for a request

func NewGetMicroBlockHeaderByHashParamsWithHTTPClient

func NewGetMicroBlockHeaderByHashParamsWithHTTPClient(client *http.Client) *GetMicroBlockHeaderByHashParams

NewGetMicroBlockHeaderByHashParamsWithHTTPClient creates a new GetMicroBlockHeaderByHashParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMicroBlockHeaderByHashParamsWithTimeout

func NewGetMicroBlockHeaderByHashParamsWithTimeout(timeout time.Duration) *GetMicroBlockHeaderByHashParams

NewGetMicroBlockHeaderByHashParamsWithTimeout creates a new GetMicroBlockHeaderByHashParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMicroBlockHeaderByHashParams) SetContext

func (o *GetMicroBlockHeaderByHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) SetHTTPClient

func (o *GetMicroBlockHeaderByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) SetHash

func (o *GetMicroBlockHeaderByHashParams) SetHash(hash string)

SetHash adds the hash to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) SetTimeout

func (o *GetMicroBlockHeaderByHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) WithContext

WithContext adds the context to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) WithHash

WithHash adds the hash to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) WithTimeout

WithTimeout adds the timeout to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMicroBlockHeaderByHashReader

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

GetMicroBlockHeaderByHashReader is a Reader for the GetMicroBlockHeaderByHash structure.

func (*GetMicroBlockHeaderByHashReader) ReadResponse

func (o *GetMicroBlockHeaderByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMicroBlockTransactionByHashAndIndexBadRequest

type GetMicroBlockTransactionByHashAndIndexBadRequest struct {
	Payload *models.Error
}

GetMicroBlockTransactionByHashAndIndexBadRequest handles this case with default header values.

Invalid hash or index

func NewGetMicroBlockTransactionByHashAndIndexBadRequest

func NewGetMicroBlockTransactionByHashAndIndexBadRequest() *GetMicroBlockTransactionByHashAndIndexBadRequest

NewGetMicroBlockTransactionByHashAndIndexBadRequest creates a GetMicroBlockTransactionByHashAndIndexBadRequest with default headers values

func (*GetMicroBlockTransactionByHashAndIndexBadRequest) Error

type GetMicroBlockTransactionByHashAndIndexNotFound

type GetMicroBlockTransactionByHashAndIndexNotFound struct {
	Payload *models.Error
}

GetMicroBlockTransactionByHashAndIndexNotFound handles this case with default header values.

Block not found

func NewGetMicroBlockTransactionByHashAndIndexNotFound

func NewGetMicroBlockTransactionByHashAndIndexNotFound() *GetMicroBlockTransactionByHashAndIndexNotFound

NewGetMicroBlockTransactionByHashAndIndexNotFound creates a GetMicroBlockTransactionByHashAndIndexNotFound with default headers values

func (*GetMicroBlockTransactionByHashAndIndexNotFound) Error

type GetMicroBlockTransactionByHashAndIndexOK

type GetMicroBlockTransactionByHashAndIndexOK struct {
	Payload *models.GenericSignedTx
}

GetMicroBlockTransactionByHashAndIndexOK handles this case with default header values.

Successful operation

func NewGetMicroBlockTransactionByHashAndIndexOK

func NewGetMicroBlockTransactionByHashAndIndexOK() *GetMicroBlockTransactionByHashAndIndexOK

NewGetMicroBlockTransactionByHashAndIndexOK creates a GetMicroBlockTransactionByHashAndIndexOK with default headers values

func (*GetMicroBlockTransactionByHashAndIndexOK) Error

type GetMicroBlockTransactionByHashAndIndexParams

type GetMicroBlockTransactionByHashAndIndexParams struct {

	/*Hash
	  The hash of the block

	*/
	Hash string
	/*Index
	  The index of the transaction in a block

	*/
	Index int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMicroBlockTransactionByHashAndIndexParams contains all the parameters to send to the API endpoint for the get micro block transaction by hash and index operation typically these are written to a http.Request

func NewGetMicroBlockTransactionByHashAndIndexParams

func NewGetMicroBlockTransactionByHashAndIndexParams() *GetMicroBlockTransactionByHashAndIndexParams

NewGetMicroBlockTransactionByHashAndIndexParams creates a new GetMicroBlockTransactionByHashAndIndexParams object with the default values initialized.

func NewGetMicroBlockTransactionByHashAndIndexParamsWithContext

func NewGetMicroBlockTransactionByHashAndIndexParamsWithContext(ctx context.Context) *GetMicroBlockTransactionByHashAndIndexParams

NewGetMicroBlockTransactionByHashAndIndexParamsWithContext creates a new GetMicroBlockTransactionByHashAndIndexParams object with the default values initialized, and the ability to set a context for a request

func NewGetMicroBlockTransactionByHashAndIndexParamsWithHTTPClient

func NewGetMicroBlockTransactionByHashAndIndexParamsWithHTTPClient(client *http.Client) *GetMicroBlockTransactionByHashAndIndexParams

NewGetMicroBlockTransactionByHashAndIndexParamsWithHTTPClient creates a new GetMicroBlockTransactionByHashAndIndexParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMicroBlockTransactionByHashAndIndexParamsWithTimeout

func NewGetMicroBlockTransactionByHashAndIndexParamsWithTimeout(timeout time.Duration) *GetMicroBlockTransactionByHashAndIndexParams

NewGetMicroBlockTransactionByHashAndIndexParamsWithTimeout creates a new GetMicroBlockTransactionByHashAndIndexParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMicroBlockTransactionByHashAndIndexParams) SetContext

SetContext adds the context to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) SetHTTPClient

func (o *GetMicroBlockTransactionByHashAndIndexParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) SetHash

SetHash adds the hash to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) SetIndex

SetIndex adds the index to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) SetTimeout

SetTimeout adds the timeout to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) WithContext

WithContext adds the context to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) WithHash

WithHash adds the hash to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) WithIndex

WithIndex adds the index to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) WithTimeout

WithTimeout adds the timeout to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMicroBlockTransactionByHashAndIndexReader

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

GetMicroBlockTransactionByHashAndIndexReader is a Reader for the GetMicroBlockTransactionByHashAndIndex structure.

func (*GetMicroBlockTransactionByHashAndIndexReader) ReadResponse

func (o *GetMicroBlockTransactionByHashAndIndexReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMicroBlockTransactionsByHashBadRequest

type GetMicroBlockTransactionsByHashBadRequest struct {
	Payload *models.Error
}

GetMicroBlockTransactionsByHashBadRequest handles this case with default header values.

Invalid hash

func NewGetMicroBlockTransactionsByHashBadRequest

func NewGetMicroBlockTransactionsByHashBadRequest() *GetMicroBlockTransactionsByHashBadRequest

NewGetMicroBlockTransactionsByHashBadRequest creates a GetMicroBlockTransactionsByHashBadRequest with default headers values

func (*GetMicroBlockTransactionsByHashBadRequest) Error

type GetMicroBlockTransactionsByHashNotFound

type GetMicroBlockTransactionsByHashNotFound struct {
	Payload *models.Error
}

GetMicroBlockTransactionsByHashNotFound handles this case with default header values.

Block not found

func NewGetMicroBlockTransactionsByHashNotFound

func NewGetMicroBlockTransactionsByHashNotFound() *GetMicroBlockTransactionsByHashNotFound

NewGetMicroBlockTransactionsByHashNotFound creates a GetMicroBlockTransactionsByHashNotFound with default headers values

func (*GetMicroBlockTransactionsByHashNotFound) Error

type GetMicroBlockTransactionsByHashOK

type GetMicroBlockTransactionsByHashOK struct {
	Payload *models.GenericTxs
}

GetMicroBlockTransactionsByHashOK handles this case with default header values.

Successful operation

func NewGetMicroBlockTransactionsByHashOK

func NewGetMicroBlockTransactionsByHashOK() *GetMicroBlockTransactionsByHashOK

NewGetMicroBlockTransactionsByHashOK creates a GetMicroBlockTransactionsByHashOK with default headers values

func (*GetMicroBlockTransactionsByHashOK) Error

type GetMicroBlockTransactionsByHashParams

type GetMicroBlockTransactionsByHashParams struct {

	/*Hash
	  The hash of the block

	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMicroBlockTransactionsByHashParams contains all the parameters to send to the API endpoint for the get micro block transactions by hash operation typically these are written to a http.Request

func NewGetMicroBlockTransactionsByHashParams

func NewGetMicroBlockTransactionsByHashParams() *GetMicroBlockTransactionsByHashParams

NewGetMicroBlockTransactionsByHashParams creates a new GetMicroBlockTransactionsByHashParams object with the default values initialized.

func NewGetMicroBlockTransactionsByHashParamsWithContext

func NewGetMicroBlockTransactionsByHashParamsWithContext(ctx context.Context) *GetMicroBlockTransactionsByHashParams

NewGetMicroBlockTransactionsByHashParamsWithContext creates a new GetMicroBlockTransactionsByHashParams object with the default values initialized, and the ability to set a context for a request

func NewGetMicroBlockTransactionsByHashParamsWithHTTPClient

func NewGetMicroBlockTransactionsByHashParamsWithHTTPClient(client *http.Client) *GetMicroBlockTransactionsByHashParams

NewGetMicroBlockTransactionsByHashParamsWithHTTPClient creates a new GetMicroBlockTransactionsByHashParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMicroBlockTransactionsByHashParamsWithTimeout

func NewGetMicroBlockTransactionsByHashParamsWithTimeout(timeout time.Duration) *GetMicroBlockTransactionsByHashParams

NewGetMicroBlockTransactionsByHashParamsWithTimeout creates a new GetMicroBlockTransactionsByHashParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMicroBlockTransactionsByHashParams) SetContext

SetContext adds the context to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) SetHTTPClient

func (o *GetMicroBlockTransactionsByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) SetHash

SetHash adds the hash to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) SetTimeout

func (o *GetMicroBlockTransactionsByHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) WithContext

WithContext adds the context to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) WithHash

WithHash adds the hash to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) WithTimeout

WithTimeout adds the timeout to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMicroBlockTransactionsByHashReader

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

GetMicroBlockTransactionsByHashReader is a Reader for the GetMicroBlockTransactionsByHash structure.

func (*GetMicroBlockTransactionsByHashReader) ReadResponse

func (o *GetMicroBlockTransactionsByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMicroBlockTransactionsCountByHashBadRequest

type GetMicroBlockTransactionsCountByHashBadRequest struct {
	Payload *models.Error
}

GetMicroBlockTransactionsCountByHashBadRequest handles this case with default header values.

Invalid hash

func NewGetMicroBlockTransactionsCountByHashBadRequest

func NewGetMicroBlockTransactionsCountByHashBadRequest() *GetMicroBlockTransactionsCountByHashBadRequest

NewGetMicroBlockTransactionsCountByHashBadRequest creates a GetMicroBlockTransactionsCountByHashBadRequest with default headers values

func (*GetMicroBlockTransactionsCountByHashBadRequest) Error

type GetMicroBlockTransactionsCountByHashNotFound

type GetMicroBlockTransactionsCountByHashNotFound struct {
	Payload *models.Error
}

GetMicroBlockTransactionsCountByHashNotFound handles this case with default header values.

Block not found

func NewGetMicroBlockTransactionsCountByHashNotFound

func NewGetMicroBlockTransactionsCountByHashNotFound() *GetMicroBlockTransactionsCountByHashNotFound

NewGetMicroBlockTransactionsCountByHashNotFound creates a GetMicroBlockTransactionsCountByHashNotFound with default headers values

func (*GetMicroBlockTransactionsCountByHashNotFound) Error

type GetMicroBlockTransactionsCountByHashOK

type GetMicroBlockTransactionsCountByHashOK struct {
	Payload *models.InlineResponse2002
}

GetMicroBlockTransactionsCountByHashOK handles this case with default header values.

Successful operation

func NewGetMicroBlockTransactionsCountByHashOK

func NewGetMicroBlockTransactionsCountByHashOK() *GetMicroBlockTransactionsCountByHashOK

NewGetMicroBlockTransactionsCountByHashOK creates a GetMicroBlockTransactionsCountByHashOK with default headers values

func (*GetMicroBlockTransactionsCountByHashOK) Error

type GetMicroBlockTransactionsCountByHashParams

type GetMicroBlockTransactionsCountByHashParams struct {

	/*Hash
	  The hash of the block

	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMicroBlockTransactionsCountByHashParams contains all the parameters to send to the API endpoint for the get micro block transactions count by hash operation typically these are written to a http.Request

func NewGetMicroBlockTransactionsCountByHashParams

func NewGetMicroBlockTransactionsCountByHashParams() *GetMicroBlockTransactionsCountByHashParams

NewGetMicroBlockTransactionsCountByHashParams creates a new GetMicroBlockTransactionsCountByHashParams object with the default values initialized.

func NewGetMicroBlockTransactionsCountByHashParamsWithContext

func NewGetMicroBlockTransactionsCountByHashParamsWithContext(ctx context.Context) *GetMicroBlockTransactionsCountByHashParams

NewGetMicroBlockTransactionsCountByHashParamsWithContext creates a new GetMicroBlockTransactionsCountByHashParams object with the default values initialized, and the ability to set a context for a request

func NewGetMicroBlockTransactionsCountByHashParamsWithHTTPClient

func NewGetMicroBlockTransactionsCountByHashParamsWithHTTPClient(client *http.Client) *GetMicroBlockTransactionsCountByHashParams

NewGetMicroBlockTransactionsCountByHashParamsWithHTTPClient creates a new GetMicroBlockTransactionsCountByHashParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMicroBlockTransactionsCountByHashParamsWithTimeout

func NewGetMicroBlockTransactionsCountByHashParamsWithTimeout(timeout time.Duration) *GetMicroBlockTransactionsCountByHashParams

NewGetMicroBlockTransactionsCountByHashParamsWithTimeout creates a new GetMicroBlockTransactionsCountByHashParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMicroBlockTransactionsCountByHashParams) SetContext

SetContext adds the context to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) SetHTTPClient

func (o *GetMicroBlockTransactionsCountByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) SetHash

SetHash adds the hash to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) SetTimeout

SetTimeout adds the timeout to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) WithContext

WithContext adds the context to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) WithHash

WithHash adds the hash to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) WithTimeout

WithTimeout adds the timeout to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMicroBlockTransactionsCountByHashReader

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

GetMicroBlockTransactionsCountByHashReader is a Reader for the GetMicroBlockTransactionsCountByHash structure.

func (*GetMicroBlockTransactionsCountByHashReader) ReadResponse

func (o *GetMicroBlockTransactionsCountByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNameEntryByNameBadRequest

type GetNameEntryByNameBadRequest struct {
	Payload *models.Error
}

GetNameEntryByNameBadRequest handles this case with default header values.

Invalid name

func NewGetNameEntryByNameBadRequest

func NewGetNameEntryByNameBadRequest() *GetNameEntryByNameBadRequest

NewGetNameEntryByNameBadRequest creates a GetNameEntryByNameBadRequest with default headers values

func (*GetNameEntryByNameBadRequest) Error

type GetNameEntryByNameNotFound

type GetNameEntryByNameNotFound struct {
	Payload *models.Error
}

GetNameEntryByNameNotFound handles this case with default header values.

Name not found

func NewGetNameEntryByNameNotFound

func NewGetNameEntryByNameNotFound() *GetNameEntryByNameNotFound

NewGetNameEntryByNameNotFound creates a GetNameEntryByNameNotFound with default headers values

func (*GetNameEntryByNameNotFound) Error

type GetNameEntryByNameOK

type GetNameEntryByNameOK struct {
	Payload *models.NameEntry
}

GetNameEntryByNameOK handles this case with default header values.

Successful operation

func NewGetNameEntryByNameOK

func NewGetNameEntryByNameOK() *GetNameEntryByNameOK

NewGetNameEntryByNameOK creates a GetNameEntryByNameOK with default headers values

func (*GetNameEntryByNameOK) Error

func (o *GetNameEntryByNameOK) Error() string

type GetNameEntryByNameParams

type GetNameEntryByNameParams struct {

	/*Name
	  The name key of the name entry

	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNameEntryByNameParams contains all the parameters to send to the API endpoint for the get name entry by name operation typically these are written to a http.Request

func NewGetNameEntryByNameParams

func NewGetNameEntryByNameParams() *GetNameEntryByNameParams

NewGetNameEntryByNameParams creates a new GetNameEntryByNameParams object with the default values initialized.

func NewGetNameEntryByNameParamsWithContext

func NewGetNameEntryByNameParamsWithContext(ctx context.Context) *GetNameEntryByNameParams

NewGetNameEntryByNameParamsWithContext creates a new GetNameEntryByNameParams object with the default values initialized, and the ability to set a context for a request

func NewGetNameEntryByNameParamsWithHTTPClient

func NewGetNameEntryByNameParamsWithHTTPClient(client *http.Client) *GetNameEntryByNameParams

NewGetNameEntryByNameParamsWithHTTPClient creates a new GetNameEntryByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetNameEntryByNameParamsWithTimeout

func NewGetNameEntryByNameParamsWithTimeout(timeout time.Duration) *GetNameEntryByNameParams

NewGetNameEntryByNameParamsWithTimeout creates a new GetNameEntryByNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetNameEntryByNameParams) SetContext

func (o *GetNameEntryByNameParams) SetContext(ctx context.Context)

SetContext adds the context to the get name entry by name params

func (*GetNameEntryByNameParams) SetHTTPClient

func (o *GetNameEntryByNameParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get name entry by name params

func (*GetNameEntryByNameParams) SetName

func (o *GetNameEntryByNameParams) SetName(name string)

SetName adds the name to the get name entry by name params

func (*GetNameEntryByNameParams) SetTimeout

func (o *GetNameEntryByNameParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get name entry by name params

func (*GetNameEntryByNameParams) WithContext

WithContext adds the context to the get name entry by name params

func (*GetNameEntryByNameParams) WithHTTPClient

func (o *GetNameEntryByNameParams) WithHTTPClient(client *http.Client) *GetNameEntryByNameParams

WithHTTPClient adds the HTTPClient to the get name entry by name params

func (*GetNameEntryByNameParams) WithName

WithName adds the name to the get name entry by name params

func (*GetNameEntryByNameParams) WithTimeout

WithTimeout adds the timeout to the get name entry by name params

func (*GetNameEntryByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNameEntryByNameReader

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

GetNameEntryByNameReader is a Reader for the GetNameEntryByName structure.

func (*GetNameEntryByNameReader) ReadResponse

func (o *GetNameEntryByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOracleByPubkeyBadRequest

type GetOracleByPubkeyBadRequest struct {
	Payload *models.Error
}

GetOracleByPubkeyBadRequest handles this case with default header values.

Invalid public key

func NewGetOracleByPubkeyBadRequest

func NewGetOracleByPubkeyBadRequest() *GetOracleByPubkeyBadRequest

NewGetOracleByPubkeyBadRequest creates a GetOracleByPubkeyBadRequest with default headers values

func (*GetOracleByPubkeyBadRequest) Error

type GetOracleByPubkeyNotFound

type GetOracleByPubkeyNotFound struct {
	Payload *models.Error
}

GetOracleByPubkeyNotFound handles this case with default header values.

Oracle not found

func NewGetOracleByPubkeyNotFound

func NewGetOracleByPubkeyNotFound() *GetOracleByPubkeyNotFound

NewGetOracleByPubkeyNotFound creates a GetOracleByPubkeyNotFound with default headers values

func (*GetOracleByPubkeyNotFound) Error

func (o *GetOracleByPubkeyNotFound) Error() string

type GetOracleByPubkeyOK

type GetOracleByPubkeyOK struct {
	Payload *models.RegisteredOracle
}

GetOracleByPubkeyOK handles this case with default header values.

Successful operation

func NewGetOracleByPubkeyOK

func NewGetOracleByPubkeyOK() *GetOracleByPubkeyOK

NewGetOracleByPubkeyOK creates a GetOracleByPubkeyOK with default headers values

func (*GetOracleByPubkeyOK) Error

func (o *GetOracleByPubkeyOK) Error() string

type GetOracleByPubkeyParams

type GetOracleByPubkeyParams struct {

	/*Pubkey
	  The public key of the oracle

	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOracleByPubkeyParams contains all the parameters to send to the API endpoint for the get oracle by pubkey operation typically these are written to a http.Request

func NewGetOracleByPubkeyParams

func NewGetOracleByPubkeyParams() *GetOracleByPubkeyParams

NewGetOracleByPubkeyParams creates a new GetOracleByPubkeyParams object with the default values initialized.

func NewGetOracleByPubkeyParamsWithContext

func NewGetOracleByPubkeyParamsWithContext(ctx context.Context) *GetOracleByPubkeyParams

NewGetOracleByPubkeyParamsWithContext creates a new GetOracleByPubkeyParams object with the default values initialized, and the ability to set a context for a request

func NewGetOracleByPubkeyParamsWithHTTPClient

func NewGetOracleByPubkeyParamsWithHTTPClient(client *http.Client) *GetOracleByPubkeyParams

NewGetOracleByPubkeyParamsWithHTTPClient creates a new GetOracleByPubkeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOracleByPubkeyParamsWithTimeout

func NewGetOracleByPubkeyParamsWithTimeout(timeout time.Duration) *GetOracleByPubkeyParams

NewGetOracleByPubkeyParamsWithTimeout creates a new GetOracleByPubkeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOracleByPubkeyParams) SetContext

func (o *GetOracleByPubkeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) SetHTTPClient

func (o *GetOracleByPubkeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) SetPubkey

func (o *GetOracleByPubkeyParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) SetTimeout

func (o *GetOracleByPubkeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) WithContext

WithContext adds the context to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) WithHTTPClient

func (o *GetOracleByPubkeyParams) WithHTTPClient(client *http.Client) *GetOracleByPubkeyParams

WithHTTPClient adds the HTTPClient to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) WithPubkey

WithPubkey adds the pubkey to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) WithTimeout

WithTimeout adds the timeout to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOracleByPubkeyReader

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

GetOracleByPubkeyReader is a Reader for the GetOracleByPubkey structure.

func (*GetOracleByPubkeyReader) ReadResponse

func (o *GetOracleByPubkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOracleQueriesByPubkeyBadRequest

type GetOracleQueriesByPubkeyBadRequest struct {
	Payload *models.Error
}

GetOracleQueriesByPubkeyBadRequest handles this case with default header values.

Invalid public key

func NewGetOracleQueriesByPubkeyBadRequest

func NewGetOracleQueriesByPubkeyBadRequest() *GetOracleQueriesByPubkeyBadRequest

NewGetOracleQueriesByPubkeyBadRequest creates a GetOracleQueriesByPubkeyBadRequest with default headers values

func (*GetOracleQueriesByPubkeyBadRequest) Error

type GetOracleQueriesByPubkeyNotFound

type GetOracleQueriesByPubkeyNotFound struct {
	Payload *models.Error
}

GetOracleQueriesByPubkeyNotFound handles this case with default header values.

Oracle not found

func NewGetOracleQueriesByPubkeyNotFound

func NewGetOracleQueriesByPubkeyNotFound() *GetOracleQueriesByPubkeyNotFound

NewGetOracleQueriesByPubkeyNotFound creates a GetOracleQueriesByPubkeyNotFound with default headers values

func (*GetOracleQueriesByPubkeyNotFound) Error

type GetOracleQueriesByPubkeyOK

type GetOracleQueriesByPubkeyOK struct {
	Payload *models.OracleQueries
}

GetOracleQueriesByPubkeyOK handles this case with default header values.

Successful operation

func NewGetOracleQueriesByPubkeyOK

func NewGetOracleQueriesByPubkeyOK() *GetOracleQueriesByPubkeyOK

NewGetOracleQueriesByPubkeyOK creates a GetOracleQueriesByPubkeyOK with default headers values

func (*GetOracleQueriesByPubkeyOK) Error

type GetOracleQueriesByPubkeyParams

type GetOracleQueriesByPubkeyParams struct {

	/*From
	  Last query id in previous page

	*/
	From *string
	/*Limit
	  Max number of oracle queries

	*/
	Limit *int64
	/*Pubkey
	  The public key of the oracle

	*/
	Pubkey string
	/*Type
	  The type of a query: open, closed or all

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOracleQueriesByPubkeyParams contains all the parameters to send to the API endpoint for the get oracle queries by pubkey operation typically these are written to a http.Request

func NewGetOracleQueriesByPubkeyParams

func NewGetOracleQueriesByPubkeyParams() *GetOracleQueriesByPubkeyParams

NewGetOracleQueriesByPubkeyParams creates a new GetOracleQueriesByPubkeyParams object with the default values initialized.

func NewGetOracleQueriesByPubkeyParamsWithContext

func NewGetOracleQueriesByPubkeyParamsWithContext(ctx context.Context) *GetOracleQueriesByPubkeyParams

NewGetOracleQueriesByPubkeyParamsWithContext creates a new GetOracleQueriesByPubkeyParams object with the default values initialized, and the ability to set a context for a request

func NewGetOracleQueriesByPubkeyParamsWithHTTPClient

func NewGetOracleQueriesByPubkeyParamsWithHTTPClient(client *http.Client) *GetOracleQueriesByPubkeyParams

NewGetOracleQueriesByPubkeyParamsWithHTTPClient creates a new GetOracleQueriesByPubkeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOracleQueriesByPubkeyParamsWithTimeout

func NewGetOracleQueriesByPubkeyParamsWithTimeout(timeout time.Duration) *GetOracleQueriesByPubkeyParams

NewGetOracleQueriesByPubkeyParamsWithTimeout creates a new GetOracleQueriesByPubkeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOracleQueriesByPubkeyParams) SetContext

func (o *GetOracleQueriesByPubkeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) SetFrom

func (o *GetOracleQueriesByPubkeyParams) SetFrom(from *string)

SetFrom adds the from to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) SetHTTPClient

func (o *GetOracleQueriesByPubkeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) SetLimit

func (o *GetOracleQueriesByPubkeyParams) SetLimit(limit *int64)

SetLimit adds the limit to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) SetPubkey

func (o *GetOracleQueriesByPubkeyParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) SetTimeout

func (o *GetOracleQueriesByPubkeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) SetType

func (o *GetOracleQueriesByPubkeyParams) SetType(typeVar *string)

SetType adds the type to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithContext

WithContext adds the context to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithFrom

WithFrom adds the from to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithLimit

WithLimit adds the limit to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithPubkey

WithPubkey adds the pubkey to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithTimeout

WithTimeout adds the timeout to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithType

WithType adds the typeVar to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOracleQueriesByPubkeyReader

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

GetOracleQueriesByPubkeyReader is a Reader for the GetOracleQueriesByPubkey structure.

func (*GetOracleQueriesByPubkeyReader) ReadResponse

func (o *GetOracleQueriesByPubkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOracleQueryByPubkeyAndQueryIDBadRequest

type GetOracleQueryByPubkeyAndQueryIDBadRequest struct {
	Payload *models.Error
}

GetOracleQueryByPubkeyAndQueryIDBadRequest handles this case with default header values.

Invalid public key or query ID

func NewGetOracleQueryByPubkeyAndQueryIDBadRequest

func NewGetOracleQueryByPubkeyAndQueryIDBadRequest() *GetOracleQueryByPubkeyAndQueryIDBadRequest

NewGetOracleQueryByPubkeyAndQueryIDBadRequest creates a GetOracleQueryByPubkeyAndQueryIDBadRequest with default headers values

func (*GetOracleQueryByPubkeyAndQueryIDBadRequest) Error

type GetOracleQueryByPubkeyAndQueryIDNotFound

type GetOracleQueryByPubkeyAndQueryIDNotFound struct {
	Payload *models.Error
}

GetOracleQueryByPubkeyAndQueryIDNotFound handles this case with default header values.

Oracle query not found

func NewGetOracleQueryByPubkeyAndQueryIDNotFound

func NewGetOracleQueryByPubkeyAndQueryIDNotFound() *GetOracleQueryByPubkeyAndQueryIDNotFound

NewGetOracleQueryByPubkeyAndQueryIDNotFound creates a GetOracleQueryByPubkeyAndQueryIDNotFound with default headers values

func (*GetOracleQueryByPubkeyAndQueryIDNotFound) Error

type GetOracleQueryByPubkeyAndQueryIDOK

type GetOracleQueryByPubkeyAndQueryIDOK struct {
	Payload *models.OracleQuery
}

GetOracleQueryByPubkeyAndQueryIDOK handles this case with default header values.

Successful operation

func NewGetOracleQueryByPubkeyAndQueryIDOK

func NewGetOracleQueryByPubkeyAndQueryIDOK() *GetOracleQueryByPubkeyAndQueryIDOK

NewGetOracleQueryByPubkeyAndQueryIDOK creates a GetOracleQueryByPubkeyAndQueryIDOK with default headers values

func (*GetOracleQueryByPubkeyAndQueryIDOK) Error

type GetOracleQueryByPubkeyAndQueryIDParams

type GetOracleQueryByPubkeyAndQueryIDParams struct {

	/*Pubkey
	  The public key of the oracle

	*/
	Pubkey string
	/*QueryID
	  The ID of the query

	*/
	QueryID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOracleQueryByPubkeyAndQueryIDParams contains all the parameters to send to the API endpoint for the get oracle query by pubkey and query Id operation typically these are written to a http.Request

func NewGetOracleQueryByPubkeyAndQueryIDParams

func NewGetOracleQueryByPubkeyAndQueryIDParams() *GetOracleQueryByPubkeyAndQueryIDParams

NewGetOracleQueryByPubkeyAndQueryIDParams creates a new GetOracleQueryByPubkeyAndQueryIDParams object with the default values initialized.

func NewGetOracleQueryByPubkeyAndQueryIDParamsWithContext

func NewGetOracleQueryByPubkeyAndQueryIDParamsWithContext(ctx context.Context) *GetOracleQueryByPubkeyAndQueryIDParams

NewGetOracleQueryByPubkeyAndQueryIDParamsWithContext creates a new GetOracleQueryByPubkeyAndQueryIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetOracleQueryByPubkeyAndQueryIDParamsWithHTTPClient

func NewGetOracleQueryByPubkeyAndQueryIDParamsWithHTTPClient(client *http.Client) *GetOracleQueryByPubkeyAndQueryIDParams

NewGetOracleQueryByPubkeyAndQueryIDParamsWithHTTPClient creates a new GetOracleQueryByPubkeyAndQueryIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOracleQueryByPubkeyAndQueryIDParamsWithTimeout

func NewGetOracleQueryByPubkeyAndQueryIDParamsWithTimeout(timeout time.Duration) *GetOracleQueryByPubkeyAndQueryIDParams

NewGetOracleQueryByPubkeyAndQueryIDParamsWithTimeout creates a new GetOracleQueryByPubkeyAndQueryIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOracleQueryByPubkeyAndQueryIDParams) SetContext

SetContext adds the context to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) SetHTTPClient

func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) SetPubkey

func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) SetQueryID

func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetQueryID(queryID string)

SetQueryID adds the queryId to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) SetTimeout

func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) WithContext

WithContext adds the context to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) WithPubkey

WithPubkey adds the pubkey to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) WithQueryID

WithQueryID adds the queryID to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) WithTimeout

WithTimeout adds the timeout to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOracleQueryByPubkeyAndQueryIDReader

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

GetOracleQueryByPubkeyAndQueryIDReader is a Reader for the GetOracleQueryByPubkeyAndQueryID structure.

func (*GetOracleQueryByPubkeyAndQueryIDReader) ReadResponse

func (o *GetOracleQueryByPubkeyAndQueryIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPeerPubkeyOK

type GetPeerPubkeyOK struct {
	Payload *models.InlineResponse2003
}

GetPeerPubkeyOK handles this case with default header values.

Successful operation

func NewGetPeerPubkeyOK

func NewGetPeerPubkeyOK() *GetPeerPubkeyOK

NewGetPeerPubkeyOK creates a GetPeerPubkeyOK with default headers values

func (*GetPeerPubkeyOK) Error

func (o *GetPeerPubkeyOK) Error() string

type GetPeerPubkeyParams

type GetPeerPubkeyParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPeerPubkeyParams contains all the parameters to send to the API endpoint for the get peer pubkey operation typically these are written to a http.Request

func NewGetPeerPubkeyParams

func NewGetPeerPubkeyParams() *GetPeerPubkeyParams

NewGetPeerPubkeyParams creates a new GetPeerPubkeyParams object with the default values initialized.

func NewGetPeerPubkeyParamsWithContext

func NewGetPeerPubkeyParamsWithContext(ctx context.Context) *GetPeerPubkeyParams

NewGetPeerPubkeyParamsWithContext creates a new GetPeerPubkeyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPeerPubkeyParamsWithHTTPClient

func NewGetPeerPubkeyParamsWithHTTPClient(client *http.Client) *GetPeerPubkeyParams

NewGetPeerPubkeyParamsWithHTTPClient creates a new GetPeerPubkeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPeerPubkeyParamsWithTimeout

func NewGetPeerPubkeyParamsWithTimeout(timeout time.Duration) *GetPeerPubkeyParams

NewGetPeerPubkeyParamsWithTimeout creates a new GetPeerPubkeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPeerPubkeyParams) SetContext

func (o *GetPeerPubkeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get peer pubkey params

func (*GetPeerPubkeyParams) SetHTTPClient

func (o *GetPeerPubkeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get peer pubkey params

func (*GetPeerPubkeyParams) SetTimeout

func (o *GetPeerPubkeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get peer pubkey params

func (*GetPeerPubkeyParams) WithContext

WithContext adds the context to the get peer pubkey params

func (*GetPeerPubkeyParams) WithHTTPClient

func (o *GetPeerPubkeyParams) WithHTTPClient(client *http.Client) *GetPeerPubkeyParams

WithHTTPClient adds the HTTPClient to the get peer pubkey params

func (*GetPeerPubkeyParams) WithTimeout

func (o *GetPeerPubkeyParams) WithTimeout(timeout time.Duration) *GetPeerPubkeyParams

WithTimeout adds the timeout to the get peer pubkey params

func (*GetPeerPubkeyParams) WriteToRequest

func (o *GetPeerPubkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPeerPubkeyReader

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

GetPeerPubkeyReader is a Reader for the GetPeerPubkey structure.

func (*GetPeerPubkeyReader) ReadResponse

func (o *GetPeerPubkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPendingAccountTransactionsByPubkeyBadRequest

type GetPendingAccountTransactionsByPubkeyBadRequest struct {
	Payload *models.Error
}

GetPendingAccountTransactionsByPubkeyBadRequest handles this case with default header values.

Invalid public key

func NewGetPendingAccountTransactionsByPubkeyBadRequest

func NewGetPendingAccountTransactionsByPubkeyBadRequest() *GetPendingAccountTransactionsByPubkeyBadRequest

NewGetPendingAccountTransactionsByPubkeyBadRequest creates a GetPendingAccountTransactionsByPubkeyBadRequest with default headers values

func (*GetPendingAccountTransactionsByPubkeyBadRequest) Error

type GetPendingAccountTransactionsByPubkeyNotFound

type GetPendingAccountTransactionsByPubkeyNotFound struct {
	Payload *models.Error
}

GetPendingAccountTransactionsByPubkeyNotFound handles this case with default header values.

Account not found

func NewGetPendingAccountTransactionsByPubkeyNotFound

func NewGetPendingAccountTransactionsByPubkeyNotFound() *GetPendingAccountTransactionsByPubkeyNotFound

NewGetPendingAccountTransactionsByPubkeyNotFound creates a GetPendingAccountTransactionsByPubkeyNotFound with default headers values

func (*GetPendingAccountTransactionsByPubkeyNotFound) Error

type GetPendingAccountTransactionsByPubkeyOK

type GetPendingAccountTransactionsByPubkeyOK struct {
	Payload *models.GenericTxs
}

GetPendingAccountTransactionsByPubkeyOK handles this case with default header values.

Successful operation

func NewGetPendingAccountTransactionsByPubkeyOK

func NewGetPendingAccountTransactionsByPubkeyOK() *GetPendingAccountTransactionsByPubkeyOK

NewGetPendingAccountTransactionsByPubkeyOK creates a GetPendingAccountTransactionsByPubkeyOK with default headers values

func (*GetPendingAccountTransactionsByPubkeyOK) Error

type GetPendingAccountTransactionsByPubkeyParams

type GetPendingAccountTransactionsByPubkeyParams struct {

	/*Pubkey
	  The public key of the account

	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPendingAccountTransactionsByPubkeyParams contains all the parameters to send to the API endpoint for the get pending account transactions by pubkey operation typically these are written to a http.Request

func NewGetPendingAccountTransactionsByPubkeyParams

func NewGetPendingAccountTransactionsByPubkeyParams() *GetPendingAccountTransactionsByPubkeyParams

NewGetPendingAccountTransactionsByPubkeyParams creates a new GetPendingAccountTransactionsByPubkeyParams object with the default values initialized.

func NewGetPendingAccountTransactionsByPubkeyParamsWithContext

func NewGetPendingAccountTransactionsByPubkeyParamsWithContext(ctx context.Context) *GetPendingAccountTransactionsByPubkeyParams

NewGetPendingAccountTransactionsByPubkeyParamsWithContext creates a new GetPendingAccountTransactionsByPubkeyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPendingAccountTransactionsByPubkeyParamsWithHTTPClient

func NewGetPendingAccountTransactionsByPubkeyParamsWithHTTPClient(client *http.Client) *GetPendingAccountTransactionsByPubkeyParams

NewGetPendingAccountTransactionsByPubkeyParamsWithHTTPClient creates a new GetPendingAccountTransactionsByPubkeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPendingAccountTransactionsByPubkeyParamsWithTimeout

func NewGetPendingAccountTransactionsByPubkeyParamsWithTimeout(timeout time.Duration) *GetPendingAccountTransactionsByPubkeyParams

NewGetPendingAccountTransactionsByPubkeyParamsWithTimeout creates a new GetPendingAccountTransactionsByPubkeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPendingAccountTransactionsByPubkeyParams) SetContext

SetContext adds the context to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) SetHTTPClient

func (o *GetPendingAccountTransactionsByPubkeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) SetPubkey

SetPubkey adds the pubkey to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) SetTimeout

SetTimeout adds the timeout to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) WithContext

WithContext adds the context to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) WithPubkey

WithPubkey adds the pubkey to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) WithTimeout

WithTimeout adds the timeout to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPendingAccountTransactionsByPubkeyReader

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

GetPendingAccountTransactionsByPubkeyReader is a Reader for the GetPendingAccountTransactionsByPubkey structure.

func (*GetPendingAccountTransactionsByPubkeyReader) ReadResponse

func (o *GetPendingAccountTransactionsByPubkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPendingKeyBlockBadRequest

type GetPendingKeyBlockBadRequest struct {
	Payload *models.Error
}

GetPendingKeyBlockBadRequest handles this case with default header values.

Beneficiary not configured

func NewGetPendingKeyBlockBadRequest

func NewGetPendingKeyBlockBadRequest() *GetPendingKeyBlockBadRequest

NewGetPendingKeyBlockBadRequest creates a GetPendingKeyBlockBadRequest with default headers values

func (*GetPendingKeyBlockBadRequest) Error

type GetPendingKeyBlockNotFound

type GetPendingKeyBlockNotFound struct {
	Payload *models.Error
}

GetPendingKeyBlockNotFound handles this case with default header values.

Block not found

func NewGetPendingKeyBlockNotFound

func NewGetPendingKeyBlockNotFound() *GetPendingKeyBlockNotFound

NewGetPendingKeyBlockNotFound creates a GetPendingKeyBlockNotFound with default headers values

func (*GetPendingKeyBlockNotFound) Error

type GetPendingKeyBlockOK

type GetPendingKeyBlockOK struct {
	Payload *models.KeyBlock
}

GetPendingKeyBlockOK handles this case with default header values.

Successful operation

func NewGetPendingKeyBlockOK

func NewGetPendingKeyBlockOK() *GetPendingKeyBlockOK

NewGetPendingKeyBlockOK creates a GetPendingKeyBlockOK with default headers values

func (*GetPendingKeyBlockOK) Error

func (o *GetPendingKeyBlockOK) Error() string

type GetPendingKeyBlockParams

type GetPendingKeyBlockParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPendingKeyBlockParams contains all the parameters to send to the API endpoint for the get pending key block operation typically these are written to a http.Request

func NewGetPendingKeyBlockParams

func NewGetPendingKeyBlockParams() *GetPendingKeyBlockParams

NewGetPendingKeyBlockParams creates a new GetPendingKeyBlockParams object with the default values initialized.

func NewGetPendingKeyBlockParamsWithContext

func NewGetPendingKeyBlockParamsWithContext(ctx context.Context) *GetPendingKeyBlockParams

NewGetPendingKeyBlockParamsWithContext creates a new GetPendingKeyBlockParams object with the default values initialized, and the ability to set a context for a request

func NewGetPendingKeyBlockParamsWithHTTPClient

func NewGetPendingKeyBlockParamsWithHTTPClient(client *http.Client) *GetPendingKeyBlockParams

NewGetPendingKeyBlockParamsWithHTTPClient creates a new GetPendingKeyBlockParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPendingKeyBlockParamsWithTimeout

func NewGetPendingKeyBlockParamsWithTimeout(timeout time.Duration) *GetPendingKeyBlockParams

NewGetPendingKeyBlockParamsWithTimeout creates a new GetPendingKeyBlockParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPendingKeyBlockParams) SetContext

func (o *GetPendingKeyBlockParams) SetContext(ctx context.Context)

SetContext adds the context to the get pending key block params

func (*GetPendingKeyBlockParams) SetHTTPClient

func (o *GetPendingKeyBlockParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get pending key block params

func (*GetPendingKeyBlockParams) SetTimeout

func (o *GetPendingKeyBlockParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get pending key block params

func (*GetPendingKeyBlockParams) WithContext

WithContext adds the context to the get pending key block params

func (*GetPendingKeyBlockParams) WithHTTPClient

func (o *GetPendingKeyBlockParams) WithHTTPClient(client *http.Client) *GetPendingKeyBlockParams

WithHTTPClient adds the HTTPClient to the get pending key block params

func (*GetPendingKeyBlockParams) WithTimeout

WithTimeout adds the timeout to the get pending key block params

func (*GetPendingKeyBlockParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPendingKeyBlockReader

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

GetPendingKeyBlockReader is a Reader for the GetPendingKeyBlock structure.

func (*GetPendingKeyBlockReader) ReadResponse

func (o *GetPendingKeyBlockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetStatusOK

type GetStatusOK struct {
	Payload *models.Status
}

GetStatusOK handles this case with default header values.

Successful operation

func NewGetStatusOK

func NewGetStatusOK() *GetStatusOK

NewGetStatusOK creates a GetStatusOK with default headers values

func (*GetStatusOK) Error

func (o *GetStatusOK) Error() string

type GetStatusParams

type GetStatusParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetStatusParams contains all the parameters to send to the API endpoint for the get status operation typically these are written to a http.Request

func NewGetStatusParams

func NewGetStatusParams() *GetStatusParams

NewGetStatusParams creates a new GetStatusParams object with the default values initialized.

func NewGetStatusParamsWithContext

func NewGetStatusParamsWithContext(ctx context.Context) *GetStatusParams

NewGetStatusParamsWithContext creates a new GetStatusParams object with the default values initialized, and the ability to set a context for a request

func NewGetStatusParamsWithHTTPClient

func NewGetStatusParamsWithHTTPClient(client *http.Client) *GetStatusParams

NewGetStatusParamsWithHTTPClient creates a new GetStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetStatusParamsWithTimeout

func NewGetStatusParamsWithTimeout(timeout time.Duration) *GetStatusParams

NewGetStatusParamsWithTimeout creates a new GetStatusParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetStatusParams) SetContext

func (o *GetStatusParams) SetContext(ctx context.Context)

SetContext adds the context to the get status params

func (*GetStatusParams) SetHTTPClient

func (o *GetStatusParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get status params

func (*GetStatusParams) SetTimeout

func (o *GetStatusParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get status params

func (*GetStatusParams) WithContext

func (o *GetStatusParams) WithContext(ctx context.Context) *GetStatusParams

WithContext adds the context to the get status params

func (*GetStatusParams) WithHTTPClient

func (o *GetStatusParams) WithHTTPClient(client *http.Client) *GetStatusParams

WithHTTPClient adds the HTTPClient to the get status params

func (*GetStatusParams) WithTimeout

func (o *GetStatusParams) WithTimeout(timeout time.Duration) *GetStatusParams

WithTimeout adds the timeout to the get status params

func (*GetStatusParams) WriteToRequest

func (o *GetStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetStatusReader

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

GetStatusReader is a Reader for the GetStatus structure.

func (*GetStatusReader) ReadResponse

func (o *GetStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTopBlockNotFound

type GetTopBlockNotFound struct {
	Payload *models.Error
}

GetTopBlockNotFound handles this case with default header values.

Block not found

func NewGetTopBlockNotFound

func NewGetTopBlockNotFound() *GetTopBlockNotFound

NewGetTopBlockNotFound creates a GetTopBlockNotFound with default headers values

func (*GetTopBlockNotFound) Error

func (o *GetTopBlockNotFound) Error() string

type GetTopBlockOK

type GetTopBlockOK struct {
	Payload *models.KeyBlockOrMicroBlockHeader
}

GetTopBlockOK handles this case with default header values.

Successful operation

func NewGetTopBlockOK

func NewGetTopBlockOK() *GetTopBlockOK

NewGetTopBlockOK creates a GetTopBlockOK with default headers values

func (*GetTopBlockOK) Error

func (o *GetTopBlockOK) Error() string

type GetTopBlockParams

type GetTopBlockParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTopBlockParams contains all the parameters to send to the API endpoint for the get top block operation typically these are written to a http.Request

func NewGetTopBlockParams

func NewGetTopBlockParams() *GetTopBlockParams

NewGetTopBlockParams creates a new GetTopBlockParams object with the default values initialized.

func NewGetTopBlockParamsWithContext

func NewGetTopBlockParamsWithContext(ctx context.Context) *GetTopBlockParams

NewGetTopBlockParamsWithContext creates a new GetTopBlockParams object with the default values initialized, and the ability to set a context for a request

func NewGetTopBlockParamsWithHTTPClient

func NewGetTopBlockParamsWithHTTPClient(client *http.Client) *GetTopBlockParams

NewGetTopBlockParamsWithHTTPClient creates a new GetTopBlockParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetTopBlockParamsWithTimeout

func NewGetTopBlockParamsWithTimeout(timeout time.Duration) *GetTopBlockParams

NewGetTopBlockParamsWithTimeout creates a new GetTopBlockParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetTopBlockParams) SetContext

func (o *GetTopBlockParams) SetContext(ctx context.Context)

SetContext adds the context to the get top block params

func (*GetTopBlockParams) SetHTTPClient

func (o *GetTopBlockParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get top block params

func (*GetTopBlockParams) SetTimeout

func (o *GetTopBlockParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get top block params

func (*GetTopBlockParams) WithContext

func (o *GetTopBlockParams) WithContext(ctx context.Context) *GetTopBlockParams

WithContext adds the context to the get top block params

func (*GetTopBlockParams) WithHTTPClient

func (o *GetTopBlockParams) WithHTTPClient(client *http.Client) *GetTopBlockParams

WithHTTPClient adds the HTTPClient to the get top block params

func (*GetTopBlockParams) WithTimeout

func (o *GetTopBlockParams) WithTimeout(timeout time.Duration) *GetTopBlockParams

WithTimeout adds the timeout to the get top block params

func (*GetTopBlockParams) WriteToRequest

func (o *GetTopBlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetTopBlockReader

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

GetTopBlockReader is a Reader for the GetTopBlock structure.

func (*GetTopBlockReader) ReadResponse

func (o *GetTopBlockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTransactionByHashBadRequest

type GetTransactionByHashBadRequest struct {
	Payload *models.Error
}

GetTransactionByHashBadRequest handles this case with default header values.

Invalid hash

func NewGetTransactionByHashBadRequest

func NewGetTransactionByHashBadRequest() *GetTransactionByHashBadRequest

NewGetTransactionByHashBadRequest creates a GetTransactionByHashBadRequest with default headers values

func (*GetTransactionByHashBadRequest) Error

type GetTransactionByHashNotFound

type GetTransactionByHashNotFound struct {
	Payload *models.Error
}

GetTransactionByHashNotFound handles this case with default header values.

Transaction not found

func NewGetTransactionByHashNotFound

func NewGetTransactionByHashNotFound() *GetTransactionByHashNotFound

NewGetTransactionByHashNotFound creates a GetTransactionByHashNotFound with default headers values

func (*GetTransactionByHashNotFound) Error

type GetTransactionByHashOK

type GetTransactionByHashOK struct {
	Payload *models.GenericSignedTx
}

GetTransactionByHashOK handles this case with default header values.

Successful operation

func NewGetTransactionByHashOK

func NewGetTransactionByHashOK() *GetTransactionByHashOK

NewGetTransactionByHashOK creates a GetTransactionByHashOK with default headers values

func (*GetTransactionByHashOK) Error

func (o *GetTransactionByHashOK) Error() string

type GetTransactionByHashParams

type GetTransactionByHashParams struct {

	/*Hash
	  The hash of the transaction

	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTransactionByHashParams contains all the parameters to send to the API endpoint for the get transaction by hash operation typically these are written to a http.Request

func NewGetTransactionByHashParams

func NewGetTransactionByHashParams() *GetTransactionByHashParams

NewGetTransactionByHashParams creates a new GetTransactionByHashParams object with the default values initialized.

func NewGetTransactionByHashParamsWithContext

func NewGetTransactionByHashParamsWithContext(ctx context.Context) *GetTransactionByHashParams

NewGetTransactionByHashParamsWithContext creates a new GetTransactionByHashParams object with the default values initialized, and the ability to set a context for a request

func NewGetTransactionByHashParamsWithHTTPClient

func NewGetTransactionByHashParamsWithHTTPClient(client *http.Client) *GetTransactionByHashParams

NewGetTransactionByHashParamsWithHTTPClient creates a new GetTransactionByHashParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetTransactionByHashParamsWithTimeout

func NewGetTransactionByHashParamsWithTimeout(timeout time.Duration) *GetTransactionByHashParams

NewGetTransactionByHashParamsWithTimeout creates a new GetTransactionByHashParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetTransactionByHashParams) SetContext

func (o *GetTransactionByHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get transaction by hash params

func (*GetTransactionByHashParams) SetHTTPClient

func (o *GetTransactionByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get transaction by hash params

func (*GetTransactionByHashParams) SetHash

func (o *GetTransactionByHashParams) SetHash(hash string)

SetHash adds the hash to the get transaction by hash params

func (*GetTransactionByHashParams) SetTimeout

func (o *GetTransactionByHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get transaction by hash params

func (*GetTransactionByHashParams) WithContext

WithContext adds the context to the get transaction by hash params

func (*GetTransactionByHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get transaction by hash params

func (*GetTransactionByHashParams) WithHash

WithHash adds the hash to the get transaction by hash params

func (*GetTransactionByHashParams) WithTimeout

WithTimeout adds the timeout to the get transaction by hash params

func (*GetTransactionByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTransactionByHashReader

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

GetTransactionByHashReader is a Reader for the GetTransactionByHash structure.

func (*GetTransactionByHashReader) ReadResponse

func (o *GetTransactionByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTransactionInfoByHashBadRequest

type GetTransactionInfoByHashBadRequest struct {
	Payload *models.Error
}

GetTransactionInfoByHashBadRequest handles this case with default header values.

Invalid hash

func NewGetTransactionInfoByHashBadRequest

func NewGetTransactionInfoByHashBadRequest() *GetTransactionInfoByHashBadRequest

NewGetTransactionInfoByHashBadRequest creates a GetTransactionInfoByHashBadRequest with default headers values

func (*GetTransactionInfoByHashBadRequest) Error

type GetTransactionInfoByHashNotFound

type GetTransactionInfoByHashNotFound struct {
	Payload *models.Error
}

GetTransactionInfoByHashNotFound handles this case with default header values.

Transaction not found

func NewGetTransactionInfoByHashNotFound

func NewGetTransactionInfoByHashNotFound() *GetTransactionInfoByHashNotFound

NewGetTransactionInfoByHashNotFound creates a GetTransactionInfoByHashNotFound with default headers values

func (*GetTransactionInfoByHashNotFound) Error

type GetTransactionInfoByHashOK

type GetTransactionInfoByHashOK struct {
	Payload *models.ContractCallObject
}

GetTransactionInfoByHashOK handles this case with default header values.

Successful operation

func NewGetTransactionInfoByHashOK

func NewGetTransactionInfoByHashOK() *GetTransactionInfoByHashOK

NewGetTransactionInfoByHashOK creates a GetTransactionInfoByHashOK with default headers values

func (*GetTransactionInfoByHashOK) Error

type GetTransactionInfoByHashParams

type GetTransactionInfoByHashParams struct {

	/*Hash
	  The hash of the transaction

	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTransactionInfoByHashParams contains all the parameters to send to the API endpoint for the get transaction info by hash operation typically these are written to a http.Request

func NewGetTransactionInfoByHashParams

func NewGetTransactionInfoByHashParams() *GetTransactionInfoByHashParams

NewGetTransactionInfoByHashParams creates a new GetTransactionInfoByHashParams object with the default values initialized.

func NewGetTransactionInfoByHashParamsWithContext

func NewGetTransactionInfoByHashParamsWithContext(ctx context.Context) *GetTransactionInfoByHashParams

NewGetTransactionInfoByHashParamsWithContext creates a new GetTransactionInfoByHashParams object with the default values initialized, and the ability to set a context for a request

func NewGetTransactionInfoByHashParamsWithHTTPClient

func NewGetTransactionInfoByHashParamsWithHTTPClient(client *http.Client) *GetTransactionInfoByHashParams

NewGetTransactionInfoByHashParamsWithHTTPClient creates a new GetTransactionInfoByHashParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetTransactionInfoByHashParamsWithTimeout

func NewGetTransactionInfoByHashParamsWithTimeout(timeout time.Duration) *GetTransactionInfoByHashParams

NewGetTransactionInfoByHashParamsWithTimeout creates a new GetTransactionInfoByHashParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetTransactionInfoByHashParams) SetContext

func (o *GetTransactionInfoByHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) SetHTTPClient

func (o *GetTransactionInfoByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) SetHash

func (o *GetTransactionInfoByHashParams) SetHash(hash string)

SetHash adds the hash to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) SetTimeout

func (o *GetTransactionInfoByHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) WithContext

WithContext adds the context to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) WithHash

WithHash adds the hash to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) WithTimeout

WithTimeout adds the timeout to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTransactionInfoByHashReader

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

GetTransactionInfoByHashReader is a Reader for the GetTransactionInfoByHash structure.

func (*GetTransactionInfoByHashReader) ReadResponse

func (o *GetTransactionInfoByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostTransactionBadRequest

type PostTransactionBadRequest struct {
	Payload *models.Error
}

PostTransactionBadRequest handles this case with default header values.

Invalid transaction

func NewPostTransactionBadRequest

func NewPostTransactionBadRequest() *PostTransactionBadRequest

NewPostTransactionBadRequest creates a PostTransactionBadRequest with default headers values

func (*PostTransactionBadRequest) Error

func (o *PostTransactionBadRequest) Error() string

type PostTransactionOK

type PostTransactionOK struct {
	Payload *models.PostTxResponse
}

PostTransactionOK handles this case with default header values.

Successful operation

func NewPostTransactionOK

func NewPostTransactionOK() *PostTransactionOK

NewPostTransactionOK creates a PostTransactionOK with default headers values

func (*PostTransactionOK) Error

func (o *PostTransactionOK) Error() string

type PostTransactionParams

type PostTransactionParams struct {

	/*Body
	  The new transaction

	*/
	Body *models.Tx

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostTransactionParams contains all the parameters to send to the API endpoint for the post transaction operation typically these are written to a http.Request

func NewPostTransactionParams

func NewPostTransactionParams() *PostTransactionParams

NewPostTransactionParams creates a new PostTransactionParams object with the default values initialized.

func NewPostTransactionParamsWithContext

func NewPostTransactionParamsWithContext(ctx context.Context) *PostTransactionParams

NewPostTransactionParamsWithContext creates a new PostTransactionParams object with the default values initialized, and the ability to set a context for a request

func NewPostTransactionParamsWithHTTPClient

func NewPostTransactionParamsWithHTTPClient(client *http.Client) *PostTransactionParams

NewPostTransactionParamsWithHTTPClient creates a new PostTransactionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostTransactionParamsWithTimeout

func NewPostTransactionParamsWithTimeout(timeout time.Duration) *PostTransactionParams

NewPostTransactionParamsWithTimeout creates a new PostTransactionParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostTransactionParams) SetBody

func (o *PostTransactionParams) SetBody(body *models.Tx)

SetBody adds the body to the post transaction params

func (*PostTransactionParams) SetContext

func (o *PostTransactionParams) SetContext(ctx context.Context)

SetContext adds the context to the post transaction params

func (*PostTransactionParams) SetHTTPClient

func (o *PostTransactionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post transaction params

func (*PostTransactionParams) SetTimeout

func (o *PostTransactionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post transaction params

func (*PostTransactionParams) WithBody

WithBody adds the body to the post transaction params

func (*PostTransactionParams) WithContext

WithContext adds the context to the post transaction params

func (*PostTransactionParams) WithHTTPClient

func (o *PostTransactionParams) WithHTTPClient(client *http.Client) *PostTransactionParams

WithHTTPClient adds the HTTPClient to the post transaction params

func (*PostTransactionParams) WithTimeout

func (o *PostTransactionParams) WithTimeout(timeout time.Duration) *PostTransactionParams

WithTimeout adds the timeout to the post transaction params

func (*PostTransactionParams) WriteToRequest

func (o *PostTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostTransactionReader

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

PostTransactionReader is a Reader for the PostTransaction structure.

func (*PostTransactionReader) ReadResponse

func (o *PostTransactionReader) 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