Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAccountByPubkey(params *GetAccountByPubkeyParams) (*GetAccountByPubkeyOK, error)
- func (a *Client) GetAccountByPubkeyAndHash(params *GetAccountByPubkeyAndHashParams) (*GetAccountByPubkeyAndHashOK, error)
- func (a *Client) GetAccountByPubkeyAndHeight(params *GetAccountByPubkeyAndHeightParams) (*GetAccountByPubkeyAndHeightOK, error)
- func (a *Client) GetChannelByPubkey(params *GetChannelByPubkeyParams) (*GetChannelByPubkeyOK, error)
- func (a *Client) GetContract(params *GetContractParams) (*GetContractOK, error)
- func (a *Client) GetContractCode(params *GetContractCodeParams) (*GetContractCodeOK, error)
- func (a *Client) GetContractPoI(params *GetContractPoIParams) (*GetContractPoIOK, error)
- func (a *Client) GetContractStore(params *GetContractStoreParams) (*GetContractStoreOK, error)
- func (a *Client) GetCurrentGeneration(params *GetCurrentGenerationParams) (*GetCurrentGenerationOK, error)
- func (a *Client) GetCurrentKeyBlock(params *GetCurrentKeyBlockParams) (*GetCurrentKeyBlockOK, error)
- func (a *Client) GetCurrentKeyBlockHash(params *GetCurrentKeyBlockHashParams) (*GetCurrentKeyBlockHashOK, error)
- func (a *Client) GetCurrentKeyBlockHeight(params *GetCurrentKeyBlockHeightParams) (*GetCurrentKeyBlockHeightOK, error)
- func (a *Client) GetGenerationByHash(params *GetGenerationByHashParams) (*GetGenerationByHashOK, error)
- func (a *Client) GetGenerationByHeight(params *GetGenerationByHeightParams) (*GetGenerationByHeightOK, error)
- func (a *Client) GetKeyBlockByHash(params *GetKeyBlockByHashParams) (*GetKeyBlockByHashOK, error)
- func (a *Client) GetKeyBlockByHeight(params *GetKeyBlockByHeightParams) (*GetKeyBlockByHeightOK, error)
- func (a *Client) GetMicroBlockHeaderByHash(params *GetMicroBlockHeaderByHashParams) (*GetMicroBlockHeaderByHashOK, error)
- func (a *Client) GetMicroBlockTransactionByHashAndIndex(params *GetMicroBlockTransactionByHashAndIndexParams) (*GetMicroBlockTransactionByHashAndIndexOK, error)
- func (a *Client) GetMicroBlockTransactionsByHash(params *GetMicroBlockTransactionsByHashParams) (*GetMicroBlockTransactionsByHashOK, error)
- func (a *Client) GetMicroBlockTransactionsCountByHash(params *GetMicroBlockTransactionsCountByHashParams) (*GetMicroBlockTransactionsCountByHashOK, error)
- func (a *Client) GetNameEntryByName(params *GetNameEntryByNameParams) (*GetNameEntryByNameOK, error)
- func (a *Client) GetOracleByPubkey(params *GetOracleByPubkeyParams) (*GetOracleByPubkeyOK, error)
- func (a *Client) GetOracleQueriesByPubkey(params *GetOracleQueriesByPubkeyParams) (*GetOracleQueriesByPubkeyOK, error)
- func (a *Client) GetOracleQueryByPubkeyAndQueryID(params *GetOracleQueryByPubkeyAndQueryIDParams) (*GetOracleQueryByPubkeyAndQueryIDOK, error)
- func (a *Client) GetPeerPubkey(params *GetPeerPubkeyParams) (*GetPeerPubkeyOK, error)
- func (a *Client) GetPendingAccountTransactionsByPubkey(params *GetPendingAccountTransactionsByPubkeyParams) (*GetPendingAccountTransactionsByPubkeyOK, error)
- func (a *Client) GetPendingKeyBlock(params *GetPendingKeyBlockParams) (*GetPendingKeyBlockOK, error)
- func (a *Client) GetStatus(params *GetStatusParams) (*GetStatusOK, error)
- func (a *Client) GetTopBlock(params *GetTopBlockParams) (*GetTopBlockOK, error)
- func (a *Client) GetTransactionByHash(params *GetTransactionByHashParams) (*GetTransactionByHashOK, error)
- func (a *Client) GetTransactionInfoByHash(params *GetTransactionInfoByHashParams) (*GetTransactionInfoByHashOK, error)
- func (a *Client) PostTransaction(params *PostTransactionParams) (*PostTransactionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetAccountByPubkeyAndHashBadRequest
- type GetAccountByPubkeyAndHashNotFound
- type GetAccountByPubkeyAndHashOK
- type GetAccountByPubkeyAndHashParams
- func NewGetAccountByPubkeyAndHashParams() *GetAccountByPubkeyAndHashParams
- func NewGetAccountByPubkeyAndHashParamsWithContext(ctx context.Context) *GetAccountByPubkeyAndHashParams
- func NewGetAccountByPubkeyAndHashParamsWithHTTPClient(client *http.Client) *GetAccountByPubkeyAndHashParams
- func NewGetAccountByPubkeyAndHashParamsWithTimeout(timeout time.Duration) *GetAccountByPubkeyAndHashParams
- func (o *GetAccountByPubkeyAndHashParams) SetContext(ctx context.Context)
- func (o *GetAccountByPubkeyAndHashParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountByPubkeyAndHashParams) SetHash(hash string)
- func (o *GetAccountByPubkeyAndHashParams) SetPubkey(pubkey string)
- func (o *GetAccountByPubkeyAndHashParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountByPubkeyAndHashParams) WithContext(ctx context.Context) *GetAccountByPubkeyAndHashParams
- func (o *GetAccountByPubkeyAndHashParams) WithHTTPClient(client *http.Client) *GetAccountByPubkeyAndHashParams
- func (o *GetAccountByPubkeyAndHashParams) WithHash(hash string) *GetAccountByPubkeyAndHashParams
- func (o *GetAccountByPubkeyAndHashParams) WithPubkey(pubkey string) *GetAccountByPubkeyAndHashParams
- func (o *GetAccountByPubkeyAndHashParams) WithTimeout(timeout time.Duration) *GetAccountByPubkeyAndHashParams
- func (o *GetAccountByPubkeyAndHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountByPubkeyAndHashReader
- type GetAccountByPubkeyAndHeightBadRequest
- type GetAccountByPubkeyAndHeightNotFound
- type GetAccountByPubkeyAndHeightOK
- type GetAccountByPubkeyAndHeightParams
- func NewGetAccountByPubkeyAndHeightParams() *GetAccountByPubkeyAndHeightParams
- func NewGetAccountByPubkeyAndHeightParamsWithContext(ctx context.Context) *GetAccountByPubkeyAndHeightParams
- func NewGetAccountByPubkeyAndHeightParamsWithHTTPClient(client *http.Client) *GetAccountByPubkeyAndHeightParams
- func NewGetAccountByPubkeyAndHeightParamsWithTimeout(timeout time.Duration) *GetAccountByPubkeyAndHeightParams
- func (o *GetAccountByPubkeyAndHeightParams) SetContext(ctx context.Context)
- func (o *GetAccountByPubkeyAndHeightParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountByPubkeyAndHeightParams) SetHeight(height int64)
- func (o *GetAccountByPubkeyAndHeightParams) SetPubkey(pubkey string)
- func (o *GetAccountByPubkeyAndHeightParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountByPubkeyAndHeightParams) WithContext(ctx context.Context) *GetAccountByPubkeyAndHeightParams
- func (o *GetAccountByPubkeyAndHeightParams) WithHTTPClient(client *http.Client) *GetAccountByPubkeyAndHeightParams
- func (o *GetAccountByPubkeyAndHeightParams) WithHeight(height int64) *GetAccountByPubkeyAndHeightParams
- func (o *GetAccountByPubkeyAndHeightParams) WithPubkey(pubkey string) *GetAccountByPubkeyAndHeightParams
- func (o *GetAccountByPubkeyAndHeightParams) WithTimeout(timeout time.Duration) *GetAccountByPubkeyAndHeightParams
- func (o *GetAccountByPubkeyAndHeightParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountByPubkeyAndHeightReader
- type GetAccountByPubkeyBadRequest
- type GetAccountByPubkeyNotFound
- type GetAccountByPubkeyOK
- type GetAccountByPubkeyParams
- func NewGetAccountByPubkeyParams() *GetAccountByPubkeyParams
- func NewGetAccountByPubkeyParamsWithContext(ctx context.Context) *GetAccountByPubkeyParams
- func NewGetAccountByPubkeyParamsWithHTTPClient(client *http.Client) *GetAccountByPubkeyParams
- func NewGetAccountByPubkeyParamsWithTimeout(timeout time.Duration) *GetAccountByPubkeyParams
- func (o *GetAccountByPubkeyParams) SetContext(ctx context.Context)
- func (o *GetAccountByPubkeyParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountByPubkeyParams) SetPubkey(pubkey string)
- func (o *GetAccountByPubkeyParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountByPubkeyParams) WithContext(ctx context.Context) *GetAccountByPubkeyParams
- func (o *GetAccountByPubkeyParams) WithHTTPClient(client *http.Client) *GetAccountByPubkeyParams
- func (o *GetAccountByPubkeyParams) WithPubkey(pubkey string) *GetAccountByPubkeyParams
- func (o *GetAccountByPubkeyParams) WithTimeout(timeout time.Duration) *GetAccountByPubkeyParams
- func (o *GetAccountByPubkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountByPubkeyReader
- type GetChannelByPubkeyBadRequest
- type GetChannelByPubkeyNotFound
- type GetChannelByPubkeyOK
- type GetChannelByPubkeyParams
- func NewGetChannelByPubkeyParams() *GetChannelByPubkeyParams
- func NewGetChannelByPubkeyParamsWithContext(ctx context.Context) *GetChannelByPubkeyParams
- func NewGetChannelByPubkeyParamsWithHTTPClient(client *http.Client) *GetChannelByPubkeyParams
- func NewGetChannelByPubkeyParamsWithTimeout(timeout time.Duration) *GetChannelByPubkeyParams
- func (o *GetChannelByPubkeyParams) SetContext(ctx context.Context)
- func (o *GetChannelByPubkeyParams) SetHTTPClient(client *http.Client)
- func (o *GetChannelByPubkeyParams) SetPubkey(pubkey string)
- func (o *GetChannelByPubkeyParams) SetTimeout(timeout time.Duration)
- func (o *GetChannelByPubkeyParams) WithContext(ctx context.Context) *GetChannelByPubkeyParams
- func (o *GetChannelByPubkeyParams) WithHTTPClient(client *http.Client) *GetChannelByPubkeyParams
- func (o *GetChannelByPubkeyParams) WithPubkey(pubkey string) *GetChannelByPubkeyParams
- func (o *GetChannelByPubkeyParams) WithTimeout(timeout time.Duration) *GetChannelByPubkeyParams
- func (o *GetChannelByPubkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetChannelByPubkeyReader
- type GetContractBadRequest
- type GetContractCodeBadRequest
- type GetContractCodeNotFound
- type GetContractCodeOK
- type GetContractCodeParams
- func NewGetContractCodeParams() *GetContractCodeParams
- func NewGetContractCodeParamsWithContext(ctx context.Context) *GetContractCodeParams
- func NewGetContractCodeParamsWithHTTPClient(client *http.Client) *GetContractCodeParams
- func NewGetContractCodeParamsWithTimeout(timeout time.Duration) *GetContractCodeParams
- func (o *GetContractCodeParams) SetContext(ctx context.Context)
- func (o *GetContractCodeParams) SetHTTPClient(client *http.Client)
- func (o *GetContractCodeParams) SetPubkey(pubkey string)
- func (o *GetContractCodeParams) SetTimeout(timeout time.Duration)
- func (o *GetContractCodeParams) WithContext(ctx context.Context) *GetContractCodeParams
- func (o *GetContractCodeParams) WithHTTPClient(client *http.Client) *GetContractCodeParams
- func (o *GetContractCodeParams) WithPubkey(pubkey string) *GetContractCodeParams
- func (o *GetContractCodeParams) WithTimeout(timeout time.Duration) *GetContractCodeParams
- func (o *GetContractCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContractCodeReader
- type GetContractNotFound
- type GetContractOK
- type GetContractParams
- func (o *GetContractParams) SetContext(ctx context.Context)
- func (o *GetContractParams) SetHTTPClient(client *http.Client)
- func (o *GetContractParams) SetPubkey(pubkey string)
- func (o *GetContractParams) SetTimeout(timeout time.Duration)
- func (o *GetContractParams) WithContext(ctx context.Context) *GetContractParams
- func (o *GetContractParams) WithHTTPClient(client *http.Client) *GetContractParams
- func (o *GetContractParams) WithPubkey(pubkey string) *GetContractParams
- func (o *GetContractParams) WithTimeout(timeout time.Duration) *GetContractParams
- func (o *GetContractParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContractPoIBadRequest
- type GetContractPoINotFound
- type GetContractPoIOK
- type GetContractPoIParams
- func NewGetContractPoIParams() *GetContractPoIParams
- func NewGetContractPoIParamsWithContext(ctx context.Context) *GetContractPoIParams
- func NewGetContractPoIParamsWithHTTPClient(client *http.Client) *GetContractPoIParams
- func NewGetContractPoIParamsWithTimeout(timeout time.Duration) *GetContractPoIParams
- func (o *GetContractPoIParams) SetContext(ctx context.Context)
- func (o *GetContractPoIParams) SetHTTPClient(client *http.Client)
- func (o *GetContractPoIParams) SetPubkey(pubkey string)
- func (o *GetContractPoIParams) SetTimeout(timeout time.Duration)
- func (o *GetContractPoIParams) WithContext(ctx context.Context) *GetContractPoIParams
- func (o *GetContractPoIParams) WithHTTPClient(client *http.Client) *GetContractPoIParams
- func (o *GetContractPoIParams) WithPubkey(pubkey string) *GetContractPoIParams
- func (o *GetContractPoIParams) WithTimeout(timeout time.Duration) *GetContractPoIParams
- func (o *GetContractPoIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContractPoIReader
- type GetContractReader
- type GetContractStoreBadRequest
- type GetContractStoreNotFound
- type GetContractStoreOK
- type GetContractStoreParams
- func NewGetContractStoreParams() *GetContractStoreParams
- func NewGetContractStoreParamsWithContext(ctx context.Context) *GetContractStoreParams
- func NewGetContractStoreParamsWithHTTPClient(client *http.Client) *GetContractStoreParams
- func NewGetContractStoreParamsWithTimeout(timeout time.Duration) *GetContractStoreParams
- func (o *GetContractStoreParams) SetContext(ctx context.Context)
- func (o *GetContractStoreParams) SetHTTPClient(client *http.Client)
- func (o *GetContractStoreParams) SetPubkey(pubkey string)
- func (o *GetContractStoreParams) SetTimeout(timeout time.Duration)
- func (o *GetContractStoreParams) WithContext(ctx context.Context) *GetContractStoreParams
- func (o *GetContractStoreParams) WithHTTPClient(client *http.Client) *GetContractStoreParams
- func (o *GetContractStoreParams) WithPubkey(pubkey string) *GetContractStoreParams
- func (o *GetContractStoreParams) WithTimeout(timeout time.Duration) *GetContractStoreParams
- func (o *GetContractStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContractStoreReader
- type GetCurrentGenerationNotFound
- type GetCurrentGenerationOK
- type GetCurrentGenerationParams
- func NewGetCurrentGenerationParams() *GetCurrentGenerationParams
- func NewGetCurrentGenerationParamsWithContext(ctx context.Context) *GetCurrentGenerationParams
- func NewGetCurrentGenerationParamsWithHTTPClient(client *http.Client) *GetCurrentGenerationParams
- func NewGetCurrentGenerationParamsWithTimeout(timeout time.Duration) *GetCurrentGenerationParams
- func (o *GetCurrentGenerationParams) SetContext(ctx context.Context)
- func (o *GetCurrentGenerationParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentGenerationParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentGenerationParams) WithContext(ctx context.Context) *GetCurrentGenerationParams
- func (o *GetCurrentGenerationParams) WithHTTPClient(client *http.Client) *GetCurrentGenerationParams
- func (o *GetCurrentGenerationParams) WithTimeout(timeout time.Duration) *GetCurrentGenerationParams
- func (o *GetCurrentGenerationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentGenerationReader
- type GetCurrentKeyBlockHashNotFound
- type GetCurrentKeyBlockHashOK
- type GetCurrentKeyBlockHashParams
- func NewGetCurrentKeyBlockHashParams() *GetCurrentKeyBlockHashParams
- func NewGetCurrentKeyBlockHashParamsWithContext(ctx context.Context) *GetCurrentKeyBlockHashParams
- func NewGetCurrentKeyBlockHashParamsWithHTTPClient(client *http.Client) *GetCurrentKeyBlockHashParams
- func NewGetCurrentKeyBlockHashParamsWithTimeout(timeout time.Duration) *GetCurrentKeyBlockHashParams
- func (o *GetCurrentKeyBlockHashParams) SetContext(ctx context.Context)
- func (o *GetCurrentKeyBlockHashParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentKeyBlockHashParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentKeyBlockHashParams) WithContext(ctx context.Context) *GetCurrentKeyBlockHashParams
- func (o *GetCurrentKeyBlockHashParams) WithHTTPClient(client *http.Client) *GetCurrentKeyBlockHashParams
- func (o *GetCurrentKeyBlockHashParams) WithTimeout(timeout time.Duration) *GetCurrentKeyBlockHashParams
- func (o *GetCurrentKeyBlockHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentKeyBlockHashReader
- type GetCurrentKeyBlockHeightNotFound
- type GetCurrentKeyBlockHeightOK
- type GetCurrentKeyBlockHeightParams
- func NewGetCurrentKeyBlockHeightParams() *GetCurrentKeyBlockHeightParams
- func NewGetCurrentKeyBlockHeightParamsWithContext(ctx context.Context) *GetCurrentKeyBlockHeightParams
- func NewGetCurrentKeyBlockHeightParamsWithHTTPClient(client *http.Client) *GetCurrentKeyBlockHeightParams
- func NewGetCurrentKeyBlockHeightParamsWithTimeout(timeout time.Duration) *GetCurrentKeyBlockHeightParams
- func (o *GetCurrentKeyBlockHeightParams) SetContext(ctx context.Context)
- func (o *GetCurrentKeyBlockHeightParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentKeyBlockHeightParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentKeyBlockHeightParams) WithContext(ctx context.Context) *GetCurrentKeyBlockHeightParams
- func (o *GetCurrentKeyBlockHeightParams) WithHTTPClient(client *http.Client) *GetCurrentKeyBlockHeightParams
- func (o *GetCurrentKeyBlockHeightParams) WithTimeout(timeout time.Duration) *GetCurrentKeyBlockHeightParams
- func (o *GetCurrentKeyBlockHeightParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentKeyBlockHeightReader
- type GetCurrentKeyBlockNotFound
- type GetCurrentKeyBlockOK
- type GetCurrentKeyBlockParams
- func NewGetCurrentKeyBlockParams() *GetCurrentKeyBlockParams
- func NewGetCurrentKeyBlockParamsWithContext(ctx context.Context) *GetCurrentKeyBlockParams
- func NewGetCurrentKeyBlockParamsWithHTTPClient(client *http.Client) *GetCurrentKeyBlockParams
- func NewGetCurrentKeyBlockParamsWithTimeout(timeout time.Duration) *GetCurrentKeyBlockParams
- func (o *GetCurrentKeyBlockParams) SetContext(ctx context.Context)
- func (o *GetCurrentKeyBlockParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentKeyBlockParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentKeyBlockParams) WithContext(ctx context.Context) *GetCurrentKeyBlockParams
- func (o *GetCurrentKeyBlockParams) WithHTTPClient(client *http.Client) *GetCurrentKeyBlockParams
- func (o *GetCurrentKeyBlockParams) WithTimeout(timeout time.Duration) *GetCurrentKeyBlockParams
- func (o *GetCurrentKeyBlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentKeyBlockReader
- type GetGenerationByHashBadRequest
- type GetGenerationByHashNotFound
- type GetGenerationByHashOK
- type GetGenerationByHashParams
- func NewGetGenerationByHashParams() *GetGenerationByHashParams
- func NewGetGenerationByHashParamsWithContext(ctx context.Context) *GetGenerationByHashParams
- func NewGetGenerationByHashParamsWithHTTPClient(client *http.Client) *GetGenerationByHashParams
- func NewGetGenerationByHashParamsWithTimeout(timeout time.Duration) *GetGenerationByHashParams
- func (o *GetGenerationByHashParams) SetContext(ctx context.Context)
- func (o *GetGenerationByHashParams) SetHTTPClient(client *http.Client)
- func (o *GetGenerationByHashParams) SetHash(hash string)
- func (o *GetGenerationByHashParams) SetTimeout(timeout time.Duration)
- func (o *GetGenerationByHashParams) WithContext(ctx context.Context) *GetGenerationByHashParams
- func (o *GetGenerationByHashParams) WithHTTPClient(client *http.Client) *GetGenerationByHashParams
- func (o *GetGenerationByHashParams) WithHash(hash string) *GetGenerationByHashParams
- func (o *GetGenerationByHashParams) WithTimeout(timeout time.Duration) *GetGenerationByHashParams
- func (o *GetGenerationByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGenerationByHashReader
- type GetGenerationByHeightNotFound
- type GetGenerationByHeightOK
- type GetGenerationByHeightParams
- func NewGetGenerationByHeightParams() *GetGenerationByHeightParams
- func NewGetGenerationByHeightParamsWithContext(ctx context.Context) *GetGenerationByHeightParams
- func NewGetGenerationByHeightParamsWithHTTPClient(client *http.Client) *GetGenerationByHeightParams
- func NewGetGenerationByHeightParamsWithTimeout(timeout time.Duration) *GetGenerationByHeightParams
- func (o *GetGenerationByHeightParams) SetContext(ctx context.Context)
- func (o *GetGenerationByHeightParams) SetHTTPClient(client *http.Client)
- func (o *GetGenerationByHeightParams) SetHeight(height uint64)
- func (o *GetGenerationByHeightParams) SetTimeout(timeout time.Duration)
- func (o *GetGenerationByHeightParams) WithContext(ctx context.Context) *GetGenerationByHeightParams
- func (o *GetGenerationByHeightParams) WithHTTPClient(client *http.Client) *GetGenerationByHeightParams
- func (o *GetGenerationByHeightParams) WithHeight(height uint64) *GetGenerationByHeightParams
- func (o *GetGenerationByHeightParams) WithTimeout(timeout time.Duration) *GetGenerationByHeightParams
- func (o *GetGenerationByHeightParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGenerationByHeightReader
- type GetKeyBlockByHashBadRequest
- type GetKeyBlockByHashNotFound
- type GetKeyBlockByHashOK
- type GetKeyBlockByHashParams
- func NewGetKeyBlockByHashParams() *GetKeyBlockByHashParams
- func NewGetKeyBlockByHashParamsWithContext(ctx context.Context) *GetKeyBlockByHashParams
- func NewGetKeyBlockByHashParamsWithHTTPClient(client *http.Client) *GetKeyBlockByHashParams
- func NewGetKeyBlockByHashParamsWithTimeout(timeout time.Duration) *GetKeyBlockByHashParams
- func (o *GetKeyBlockByHashParams) SetContext(ctx context.Context)
- func (o *GetKeyBlockByHashParams) SetHTTPClient(client *http.Client)
- func (o *GetKeyBlockByHashParams) SetHash(hash string)
- func (o *GetKeyBlockByHashParams) SetTimeout(timeout time.Duration)
- func (o *GetKeyBlockByHashParams) WithContext(ctx context.Context) *GetKeyBlockByHashParams
- func (o *GetKeyBlockByHashParams) WithHTTPClient(client *http.Client) *GetKeyBlockByHashParams
- func (o *GetKeyBlockByHashParams) WithHash(hash string) *GetKeyBlockByHashParams
- func (o *GetKeyBlockByHashParams) WithTimeout(timeout time.Duration) *GetKeyBlockByHashParams
- func (o *GetKeyBlockByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKeyBlockByHashReader
- type GetKeyBlockByHeightNotFound
- type GetKeyBlockByHeightOK
- type GetKeyBlockByHeightParams
- func NewGetKeyBlockByHeightParams() *GetKeyBlockByHeightParams
- func NewGetKeyBlockByHeightParamsWithContext(ctx context.Context) *GetKeyBlockByHeightParams
- func NewGetKeyBlockByHeightParamsWithHTTPClient(client *http.Client) *GetKeyBlockByHeightParams
- func NewGetKeyBlockByHeightParamsWithTimeout(timeout time.Duration) *GetKeyBlockByHeightParams
- func (o *GetKeyBlockByHeightParams) SetContext(ctx context.Context)
- func (o *GetKeyBlockByHeightParams) SetHTTPClient(client *http.Client)
- func (o *GetKeyBlockByHeightParams) SetHeight(height int64)
- func (o *GetKeyBlockByHeightParams) SetTimeout(timeout time.Duration)
- func (o *GetKeyBlockByHeightParams) WithContext(ctx context.Context) *GetKeyBlockByHeightParams
- func (o *GetKeyBlockByHeightParams) WithHTTPClient(client *http.Client) *GetKeyBlockByHeightParams
- func (o *GetKeyBlockByHeightParams) WithHeight(height int64) *GetKeyBlockByHeightParams
- func (o *GetKeyBlockByHeightParams) WithTimeout(timeout time.Duration) *GetKeyBlockByHeightParams
- func (o *GetKeyBlockByHeightParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKeyBlockByHeightReader
- type GetMicroBlockHeaderByHashBadRequest
- type GetMicroBlockHeaderByHashNotFound
- type GetMicroBlockHeaderByHashOK
- type GetMicroBlockHeaderByHashParams
- func NewGetMicroBlockHeaderByHashParams() *GetMicroBlockHeaderByHashParams
- func NewGetMicroBlockHeaderByHashParamsWithContext(ctx context.Context) *GetMicroBlockHeaderByHashParams
- func NewGetMicroBlockHeaderByHashParamsWithHTTPClient(client *http.Client) *GetMicroBlockHeaderByHashParams
- func NewGetMicroBlockHeaderByHashParamsWithTimeout(timeout time.Duration) *GetMicroBlockHeaderByHashParams
- func (o *GetMicroBlockHeaderByHashParams) SetContext(ctx context.Context)
- func (o *GetMicroBlockHeaderByHashParams) SetHTTPClient(client *http.Client)
- func (o *GetMicroBlockHeaderByHashParams) SetHash(hash string)
- func (o *GetMicroBlockHeaderByHashParams) SetTimeout(timeout time.Duration)
- func (o *GetMicroBlockHeaderByHashParams) WithContext(ctx context.Context) *GetMicroBlockHeaderByHashParams
- func (o *GetMicroBlockHeaderByHashParams) WithHTTPClient(client *http.Client) *GetMicroBlockHeaderByHashParams
- func (o *GetMicroBlockHeaderByHashParams) WithHash(hash string) *GetMicroBlockHeaderByHashParams
- func (o *GetMicroBlockHeaderByHashParams) WithTimeout(timeout time.Duration) *GetMicroBlockHeaderByHashParams
- func (o *GetMicroBlockHeaderByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMicroBlockHeaderByHashReader
- type GetMicroBlockTransactionByHashAndIndexBadRequest
- type GetMicroBlockTransactionByHashAndIndexNotFound
- type GetMicroBlockTransactionByHashAndIndexOK
- type GetMicroBlockTransactionByHashAndIndexParams
- func NewGetMicroBlockTransactionByHashAndIndexParams() *GetMicroBlockTransactionByHashAndIndexParams
- func NewGetMicroBlockTransactionByHashAndIndexParamsWithContext(ctx context.Context) *GetMicroBlockTransactionByHashAndIndexParams
- func NewGetMicroBlockTransactionByHashAndIndexParamsWithHTTPClient(client *http.Client) *GetMicroBlockTransactionByHashAndIndexParams
- func NewGetMicroBlockTransactionByHashAndIndexParamsWithTimeout(timeout time.Duration) *GetMicroBlockTransactionByHashAndIndexParams
- func (o *GetMicroBlockTransactionByHashAndIndexParams) SetContext(ctx context.Context)
- func (o *GetMicroBlockTransactionByHashAndIndexParams) SetHTTPClient(client *http.Client)
- func (o *GetMicroBlockTransactionByHashAndIndexParams) SetHash(hash string)
- func (o *GetMicroBlockTransactionByHashAndIndexParams) SetIndex(index int64)
- func (o *GetMicroBlockTransactionByHashAndIndexParams) SetTimeout(timeout time.Duration)
- func (o *GetMicroBlockTransactionByHashAndIndexParams) WithContext(ctx context.Context) *GetMicroBlockTransactionByHashAndIndexParams
- func (o *GetMicroBlockTransactionByHashAndIndexParams) WithHTTPClient(client *http.Client) *GetMicroBlockTransactionByHashAndIndexParams
- func (o *GetMicroBlockTransactionByHashAndIndexParams) WithHash(hash string) *GetMicroBlockTransactionByHashAndIndexParams
- func (o *GetMicroBlockTransactionByHashAndIndexParams) WithIndex(index int64) *GetMicroBlockTransactionByHashAndIndexParams
- func (o *GetMicroBlockTransactionByHashAndIndexParams) WithTimeout(timeout time.Duration) *GetMicroBlockTransactionByHashAndIndexParams
- func (o *GetMicroBlockTransactionByHashAndIndexParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMicroBlockTransactionByHashAndIndexReader
- type GetMicroBlockTransactionsByHashBadRequest
- type GetMicroBlockTransactionsByHashNotFound
- type GetMicroBlockTransactionsByHashOK
- type GetMicroBlockTransactionsByHashParams
- func NewGetMicroBlockTransactionsByHashParams() *GetMicroBlockTransactionsByHashParams
- func NewGetMicroBlockTransactionsByHashParamsWithContext(ctx context.Context) *GetMicroBlockTransactionsByHashParams
- func NewGetMicroBlockTransactionsByHashParamsWithHTTPClient(client *http.Client) *GetMicroBlockTransactionsByHashParams
- func NewGetMicroBlockTransactionsByHashParamsWithTimeout(timeout time.Duration) *GetMicroBlockTransactionsByHashParams
- func (o *GetMicroBlockTransactionsByHashParams) SetContext(ctx context.Context)
- func (o *GetMicroBlockTransactionsByHashParams) SetHTTPClient(client *http.Client)
- func (o *GetMicroBlockTransactionsByHashParams) SetHash(hash string)
- func (o *GetMicroBlockTransactionsByHashParams) SetTimeout(timeout time.Duration)
- func (o *GetMicroBlockTransactionsByHashParams) WithContext(ctx context.Context) *GetMicroBlockTransactionsByHashParams
- func (o *GetMicroBlockTransactionsByHashParams) WithHTTPClient(client *http.Client) *GetMicroBlockTransactionsByHashParams
- func (o *GetMicroBlockTransactionsByHashParams) WithHash(hash string) *GetMicroBlockTransactionsByHashParams
- func (o *GetMicroBlockTransactionsByHashParams) WithTimeout(timeout time.Duration) *GetMicroBlockTransactionsByHashParams
- func (o *GetMicroBlockTransactionsByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMicroBlockTransactionsByHashReader
- type GetMicroBlockTransactionsCountByHashBadRequest
- type GetMicroBlockTransactionsCountByHashNotFound
- type GetMicroBlockTransactionsCountByHashOK
- type GetMicroBlockTransactionsCountByHashParams
- func NewGetMicroBlockTransactionsCountByHashParams() *GetMicroBlockTransactionsCountByHashParams
- func NewGetMicroBlockTransactionsCountByHashParamsWithContext(ctx context.Context) *GetMicroBlockTransactionsCountByHashParams
- func NewGetMicroBlockTransactionsCountByHashParamsWithHTTPClient(client *http.Client) *GetMicroBlockTransactionsCountByHashParams
- func NewGetMicroBlockTransactionsCountByHashParamsWithTimeout(timeout time.Duration) *GetMicroBlockTransactionsCountByHashParams
- func (o *GetMicroBlockTransactionsCountByHashParams) SetContext(ctx context.Context)
- func (o *GetMicroBlockTransactionsCountByHashParams) SetHTTPClient(client *http.Client)
- func (o *GetMicroBlockTransactionsCountByHashParams) SetHash(hash string)
- func (o *GetMicroBlockTransactionsCountByHashParams) SetTimeout(timeout time.Duration)
- func (o *GetMicroBlockTransactionsCountByHashParams) WithContext(ctx context.Context) *GetMicroBlockTransactionsCountByHashParams
- func (o *GetMicroBlockTransactionsCountByHashParams) WithHTTPClient(client *http.Client) *GetMicroBlockTransactionsCountByHashParams
- func (o *GetMicroBlockTransactionsCountByHashParams) WithHash(hash string) *GetMicroBlockTransactionsCountByHashParams
- func (o *GetMicroBlockTransactionsCountByHashParams) WithTimeout(timeout time.Duration) *GetMicroBlockTransactionsCountByHashParams
- func (o *GetMicroBlockTransactionsCountByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMicroBlockTransactionsCountByHashReader
- type GetNameEntryByNameBadRequest
- type GetNameEntryByNameNotFound
- type GetNameEntryByNameOK
- type GetNameEntryByNameParams
- func NewGetNameEntryByNameParams() *GetNameEntryByNameParams
- func NewGetNameEntryByNameParamsWithContext(ctx context.Context) *GetNameEntryByNameParams
- func NewGetNameEntryByNameParamsWithHTTPClient(client *http.Client) *GetNameEntryByNameParams
- func NewGetNameEntryByNameParamsWithTimeout(timeout time.Duration) *GetNameEntryByNameParams
- func (o *GetNameEntryByNameParams) SetContext(ctx context.Context)
- func (o *GetNameEntryByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetNameEntryByNameParams) SetName(name string)
- func (o *GetNameEntryByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetNameEntryByNameParams) WithContext(ctx context.Context) *GetNameEntryByNameParams
- func (o *GetNameEntryByNameParams) WithHTTPClient(client *http.Client) *GetNameEntryByNameParams
- func (o *GetNameEntryByNameParams) WithName(name string) *GetNameEntryByNameParams
- func (o *GetNameEntryByNameParams) WithTimeout(timeout time.Duration) *GetNameEntryByNameParams
- func (o *GetNameEntryByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNameEntryByNameReader
- type GetOracleByPubkeyBadRequest
- type GetOracleByPubkeyNotFound
- type GetOracleByPubkeyOK
- type GetOracleByPubkeyParams
- func NewGetOracleByPubkeyParams() *GetOracleByPubkeyParams
- func NewGetOracleByPubkeyParamsWithContext(ctx context.Context) *GetOracleByPubkeyParams
- func NewGetOracleByPubkeyParamsWithHTTPClient(client *http.Client) *GetOracleByPubkeyParams
- func NewGetOracleByPubkeyParamsWithTimeout(timeout time.Duration) *GetOracleByPubkeyParams
- func (o *GetOracleByPubkeyParams) SetContext(ctx context.Context)
- func (o *GetOracleByPubkeyParams) SetHTTPClient(client *http.Client)
- func (o *GetOracleByPubkeyParams) SetPubkey(pubkey string)
- func (o *GetOracleByPubkeyParams) SetTimeout(timeout time.Duration)
- func (o *GetOracleByPubkeyParams) WithContext(ctx context.Context) *GetOracleByPubkeyParams
- func (o *GetOracleByPubkeyParams) WithHTTPClient(client *http.Client) *GetOracleByPubkeyParams
- func (o *GetOracleByPubkeyParams) WithPubkey(pubkey string) *GetOracleByPubkeyParams
- func (o *GetOracleByPubkeyParams) WithTimeout(timeout time.Duration) *GetOracleByPubkeyParams
- func (o *GetOracleByPubkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOracleByPubkeyReader
- type GetOracleQueriesByPubkeyBadRequest
- type GetOracleQueriesByPubkeyNotFound
- type GetOracleQueriesByPubkeyOK
- type GetOracleQueriesByPubkeyParams
- func NewGetOracleQueriesByPubkeyParams() *GetOracleQueriesByPubkeyParams
- func NewGetOracleQueriesByPubkeyParamsWithContext(ctx context.Context) *GetOracleQueriesByPubkeyParams
- func NewGetOracleQueriesByPubkeyParamsWithHTTPClient(client *http.Client) *GetOracleQueriesByPubkeyParams
- func NewGetOracleQueriesByPubkeyParamsWithTimeout(timeout time.Duration) *GetOracleQueriesByPubkeyParams
- func (o *GetOracleQueriesByPubkeyParams) SetContext(ctx context.Context)
- func (o *GetOracleQueriesByPubkeyParams) SetFrom(from *string)
- func (o *GetOracleQueriesByPubkeyParams) SetHTTPClient(client *http.Client)
- func (o *GetOracleQueriesByPubkeyParams) SetLimit(limit *int64)
- func (o *GetOracleQueriesByPubkeyParams) SetPubkey(pubkey string)
- func (o *GetOracleQueriesByPubkeyParams) SetTimeout(timeout time.Duration)
- func (o *GetOracleQueriesByPubkeyParams) SetType(typeVar *string)
- func (o *GetOracleQueriesByPubkeyParams) WithContext(ctx context.Context) *GetOracleQueriesByPubkeyParams
- func (o *GetOracleQueriesByPubkeyParams) WithFrom(from *string) *GetOracleQueriesByPubkeyParams
- func (o *GetOracleQueriesByPubkeyParams) WithHTTPClient(client *http.Client) *GetOracleQueriesByPubkeyParams
- func (o *GetOracleQueriesByPubkeyParams) WithLimit(limit *int64) *GetOracleQueriesByPubkeyParams
- func (o *GetOracleQueriesByPubkeyParams) WithPubkey(pubkey string) *GetOracleQueriesByPubkeyParams
- func (o *GetOracleQueriesByPubkeyParams) WithTimeout(timeout time.Duration) *GetOracleQueriesByPubkeyParams
- func (o *GetOracleQueriesByPubkeyParams) WithType(typeVar *string) *GetOracleQueriesByPubkeyParams
- func (o *GetOracleQueriesByPubkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOracleQueriesByPubkeyReader
- type GetOracleQueryByPubkeyAndQueryIDBadRequest
- type GetOracleQueryByPubkeyAndQueryIDNotFound
- type GetOracleQueryByPubkeyAndQueryIDOK
- type GetOracleQueryByPubkeyAndQueryIDParams
- func NewGetOracleQueryByPubkeyAndQueryIDParams() *GetOracleQueryByPubkeyAndQueryIDParams
- func NewGetOracleQueryByPubkeyAndQueryIDParamsWithContext(ctx context.Context) *GetOracleQueryByPubkeyAndQueryIDParams
- func NewGetOracleQueryByPubkeyAndQueryIDParamsWithHTTPClient(client *http.Client) *GetOracleQueryByPubkeyAndQueryIDParams
- func NewGetOracleQueryByPubkeyAndQueryIDParamsWithTimeout(timeout time.Duration) *GetOracleQueryByPubkeyAndQueryIDParams
- func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetContext(ctx context.Context)
- func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetHTTPClient(client *http.Client)
- func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetPubkey(pubkey string)
- func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetQueryID(queryID string)
- func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetTimeout(timeout time.Duration)
- func (o *GetOracleQueryByPubkeyAndQueryIDParams) WithContext(ctx context.Context) *GetOracleQueryByPubkeyAndQueryIDParams
- func (o *GetOracleQueryByPubkeyAndQueryIDParams) WithHTTPClient(client *http.Client) *GetOracleQueryByPubkeyAndQueryIDParams
- func (o *GetOracleQueryByPubkeyAndQueryIDParams) WithPubkey(pubkey string) *GetOracleQueryByPubkeyAndQueryIDParams
- func (o *GetOracleQueryByPubkeyAndQueryIDParams) WithQueryID(queryID string) *GetOracleQueryByPubkeyAndQueryIDParams
- func (o *GetOracleQueryByPubkeyAndQueryIDParams) WithTimeout(timeout time.Duration) *GetOracleQueryByPubkeyAndQueryIDParams
- func (o *GetOracleQueryByPubkeyAndQueryIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOracleQueryByPubkeyAndQueryIDReader
- type GetPeerPubkeyOK
- type GetPeerPubkeyParams
- func (o *GetPeerPubkeyParams) SetContext(ctx context.Context)
- func (o *GetPeerPubkeyParams) SetHTTPClient(client *http.Client)
- func (o *GetPeerPubkeyParams) SetTimeout(timeout time.Duration)
- func (o *GetPeerPubkeyParams) WithContext(ctx context.Context) *GetPeerPubkeyParams
- func (o *GetPeerPubkeyParams) WithHTTPClient(client *http.Client) *GetPeerPubkeyParams
- func (o *GetPeerPubkeyParams) WithTimeout(timeout time.Duration) *GetPeerPubkeyParams
- func (o *GetPeerPubkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPeerPubkeyReader
- type GetPendingAccountTransactionsByPubkeyBadRequest
- type GetPendingAccountTransactionsByPubkeyNotFound
- type GetPendingAccountTransactionsByPubkeyOK
- type GetPendingAccountTransactionsByPubkeyParams
- func NewGetPendingAccountTransactionsByPubkeyParams() *GetPendingAccountTransactionsByPubkeyParams
- func NewGetPendingAccountTransactionsByPubkeyParamsWithContext(ctx context.Context) *GetPendingAccountTransactionsByPubkeyParams
- func NewGetPendingAccountTransactionsByPubkeyParamsWithHTTPClient(client *http.Client) *GetPendingAccountTransactionsByPubkeyParams
- func NewGetPendingAccountTransactionsByPubkeyParamsWithTimeout(timeout time.Duration) *GetPendingAccountTransactionsByPubkeyParams
- func (o *GetPendingAccountTransactionsByPubkeyParams) SetContext(ctx context.Context)
- func (o *GetPendingAccountTransactionsByPubkeyParams) SetHTTPClient(client *http.Client)
- func (o *GetPendingAccountTransactionsByPubkeyParams) SetPubkey(pubkey string)
- func (o *GetPendingAccountTransactionsByPubkeyParams) SetTimeout(timeout time.Duration)
- func (o *GetPendingAccountTransactionsByPubkeyParams) WithContext(ctx context.Context) *GetPendingAccountTransactionsByPubkeyParams
- func (o *GetPendingAccountTransactionsByPubkeyParams) WithHTTPClient(client *http.Client) *GetPendingAccountTransactionsByPubkeyParams
- func (o *GetPendingAccountTransactionsByPubkeyParams) WithPubkey(pubkey string) *GetPendingAccountTransactionsByPubkeyParams
- func (o *GetPendingAccountTransactionsByPubkeyParams) WithTimeout(timeout time.Duration) *GetPendingAccountTransactionsByPubkeyParams
- func (o *GetPendingAccountTransactionsByPubkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPendingAccountTransactionsByPubkeyReader
- type GetPendingKeyBlockBadRequest
- type GetPendingKeyBlockNotFound
- type GetPendingKeyBlockOK
- type GetPendingKeyBlockParams
- func NewGetPendingKeyBlockParams() *GetPendingKeyBlockParams
- func NewGetPendingKeyBlockParamsWithContext(ctx context.Context) *GetPendingKeyBlockParams
- func NewGetPendingKeyBlockParamsWithHTTPClient(client *http.Client) *GetPendingKeyBlockParams
- func NewGetPendingKeyBlockParamsWithTimeout(timeout time.Duration) *GetPendingKeyBlockParams
- func (o *GetPendingKeyBlockParams) SetContext(ctx context.Context)
- func (o *GetPendingKeyBlockParams) SetHTTPClient(client *http.Client)
- func (o *GetPendingKeyBlockParams) SetTimeout(timeout time.Duration)
- func (o *GetPendingKeyBlockParams) WithContext(ctx context.Context) *GetPendingKeyBlockParams
- func (o *GetPendingKeyBlockParams) WithHTTPClient(client *http.Client) *GetPendingKeyBlockParams
- func (o *GetPendingKeyBlockParams) WithTimeout(timeout time.Duration) *GetPendingKeyBlockParams
- func (o *GetPendingKeyBlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPendingKeyBlockReader
- type GetStatusOK
- type GetStatusParams
- func (o *GetStatusParams) SetContext(ctx context.Context)
- func (o *GetStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetStatusParams) WithContext(ctx context.Context) *GetStatusParams
- func (o *GetStatusParams) WithHTTPClient(client *http.Client) *GetStatusParams
- func (o *GetStatusParams) WithTimeout(timeout time.Duration) *GetStatusParams
- func (o *GetStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStatusReader
- type GetTopBlockNotFound
- type GetTopBlockOK
- type GetTopBlockParams
- func (o *GetTopBlockParams) SetContext(ctx context.Context)
- func (o *GetTopBlockParams) SetHTTPClient(client *http.Client)
- func (o *GetTopBlockParams) SetTimeout(timeout time.Duration)
- func (o *GetTopBlockParams) WithContext(ctx context.Context) *GetTopBlockParams
- func (o *GetTopBlockParams) WithHTTPClient(client *http.Client) *GetTopBlockParams
- func (o *GetTopBlockParams) WithTimeout(timeout time.Duration) *GetTopBlockParams
- func (o *GetTopBlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTopBlockReader
- type GetTransactionByHashBadRequest
- type GetTransactionByHashNotFound
- type GetTransactionByHashOK
- type GetTransactionByHashParams
- func NewGetTransactionByHashParams() *GetTransactionByHashParams
- func NewGetTransactionByHashParamsWithContext(ctx context.Context) *GetTransactionByHashParams
- func NewGetTransactionByHashParamsWithHTTPClient(client *http.Client) *GetTransactionByHashParams
- func NewGetTransactionByHashParamsWithTimeout(timeout time.Duration) *GetTransactionByHashParams
- func (o *GetTransactionByHashParams) SetContext(ctx context.Context)
- func (o *GetTransactionByHashParams) SetHTTPClient(client *http.Client)
- func (o *GetTransactionByHashParams) SetHash(hash string)
- func (o *GetTransactionByHashParams) SetTimeout(timeout time.Duration)
- func (o *GetTransactionByHashParams) WithContext(ctx context.Context) *GetTransactionByHashParams
- func (o *GetTransactionByHashParams) WithHTTPClient(client *http.Client) *GetTransactionByHashParams
- func (o *GetTransactionByHashParams) WithHash(hash string) *GetTransactionByHashParams
- func (o *GetTransactionByHashParams) WithTimeout(timeout time.Duration) *GetTransactionByHashParams
- func (o *GetTransactionByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTransactionByHashReader
- type GetTransactionInfoByHashBadRequest
- type GetTransactionInfoByHashNotFound
- type GetTransactionInfoByHashOK
- type GetTransactionInfoByHashParams
- func NewGetTransactionInfoByHashParams() *GetTransactionInfoByHashParams
- func NewGetTransactionInfoByHashParamsWithContext(ctx context.Context) *GetTransactionInfoByHashParams
- func NewGetTransactionInfoByHashParamsWithHTTPClient(client *http.Client) *GetTransactionInfoByHashParams
- func NewGetTransactionInfoByHashParamsWithTimeout(timeout time.Duration) *GetTransactionInfoByHashParams
- func (o *GetTransactionInfoByHashParams) SetContext(ctx context.Context)
- func (o *GetTransactionInfoByHashParams) SetHTTPClient(client *http.Client)
- func (o *GetTransactionInfoByHashParams) SetHash(hash string)
- func (o *GetTransactionInfoByHashParams) SetTimeout(timeout time.Duration)
- func (o *GetTransactionInfoByHashParams) WithContext(ctx context.Context) *GetTransactionInfoByHashParams
- func (o *GetTransactionInfoByHashParams) WithHTTPClient(client *http.Client) *GetTransactionInfoByHashParams
- func (o *GetTransactionInfoByHashParams) WithHash(hash string) *GetTransactionInfoByHashParams
- func (o *GetTransactionInfoByHashParams) WithTimeout(timeout time.Duration) *GetTransactionInfoByHashParams
- func (o *GetTransactionInfoByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTransactionInfoByHashReader
- type PostTransactionBadRequest
- type PostTransactionOK
- type PostTransactionParams
- func NewPostTransactionParams() *PostTransactionParams
- func NewPostTransactionParamsWithContext(ctx context.Context) *PostTransactionParams
- func NewPostTransactionParamsWithHTTPClient(client *http.Client) *PostTransactionParams
- func NewPostTransactionParamsWithTimeout(timeout time.Duration) *PostTransactionParams
- func (o *PostTransactionParams) SetBody(body *models.Tx)
- func (o *PostTransactionParams) SetContext(ctx context.Context)
- func (o *PostTransactionParams) SetHTTPClient(client *http.Client)
- func (o *PostTransactionParams) SetTimeout(timeout time.Duration)
- func (o *PostTransactionParams) WithBody(body *models.Tx) *PostTransactionParams
- func (o *PostTransactionParams) WithContext(ctx context.Context) *PostTransactionParams
- func (o *PostTransactionParams) WithHTTPClient(client *http.Client) *PostTransactionParams
- func (o *PostTransactionParams) WithTimeout(timeout time.Duration) *PostTransactionParams
- func (o *PostTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostTransactionReader
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 ¶
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 ¶
func (o *GetAccountByPubkeyAndHashBadRequest) Error() string
type GetAccountByPubkeyAndHashNotFound ¶
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 ¶
func (o *GetAccountByPubkeyAndHashNotFound) Error() string
type GetAccountByPubkeyAndHashOK ¶
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 ¶
func (o *GetAccountByPubkeyAndHashOK) Error() string
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 ¶
func (o *GetAccountByPubkeyAndHashParams) WithContext(ctx context.Context) *GetAccountByPubkeyAndHashParams
WithContext adds the context to the get account by pubkey and hash params
func (*GetAccountByPubkeyAndHashParams) WithHTTPClient ¶
func (o *GetAccountByPubkeyAndHashParams) WithHTTPClient(client *http.Client) *GetAccountByPubkeyAndHashParams
WithHTTPClient adds the HTTPClient to the get account by pubkey and hash params
func (*GetAccountByPubkeyAndHashParams) WithHash ¶
func (o *GetAccountByPubkeyAndHashParams) WithHash(hash string) *GetAccountByPubkeyAndHashParams
WithHash adds the hash to the get account by pubkey and hash params
func (*GetAccountByPubkeyAndHashParams) WithPubkey ¶
func (o *GetAccountByPubkeyAndHashParams) WithPubkey(pubkey string) *GetAccountByPubkeyAndHashParams
WithPubkey adds the pubkey to the get account by pubkey and hash params
func (*GetAccountByPubkeyAndHashParams) WithTimeout ¶
func (o *GetAccountByPubkeyAndHashParams) WithTimeout(timeout time.Duration) *GetAccountByPubkeyAndHashParams
WithTimeout adds the timeout to the get account by pubkey and hash params
func (*GetAccountByPubkeyAndHashParams) WriteToRequest ¶
func (o *GetAccountByPubkeyAndHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetAccountByPubkeyAndHeightBadRequest) Error() string
type GetAccountByPubkeyAndHeightNotFound ¶
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 ¶
func (o *GetAccountByPubkeyAndHeightNotFound) Error() string
type GetAccountByPubkeyAndHeightOK ¶
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 ¶
func (o *GetAccountByPubkeyAndHeightOK) Error() string
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 ¶
func (o *GetAccountByPubkeyAndHeightParams) SetContext(ctx context.Context)
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 ¶
func (o *GetAccountByPubkeyAndHeightParams) WithContext(ctx context.Context) *GetAccountByPubkeyAndHeightParams
WithContext adds the context to the get account by pubkey and height params
func (*GetAccountByPubkeyAndHeightParams) WithHTTPClient ¶
func (o *GetAccountByPubkeyAndHeightParams) WithHTTPClient(client *http.Client) *GetAccountByPubkeyAndHeightParams
WithHTTPClient adds the HTTPClient to the get account by pubkey and height params
func (*GetAccountByPubkeyAndHeightParams) WithHeight ¶
func (o *GetAccountByPubkeyAndHeightParams) WithHeight(height int64) *GetAccountByPubkeyAndHeightParams
WithHeight adds the height to the get account by pubkey and height params
func (*GetAccountByPubkeyAndHeightParams) WithPubkey ¶
func (o *GetAccountByPubkeyAndHeightParams) WithPubkey(pubkey string) *GetAccountByPubkeyAndHeightParams
WithPubkey adds the pubkey to the get account by pubkey and height params
func (*GetAccountByPubkeyAndHeightParams) WithTimeout ¶
func (o *GetAccountByPubkeyAndHeightParams) WithTimeout(timeout time.Duration) *GetAccountByPubkeyAndHeightParams
WithTimeout adds the timeout to the get account by pubkey and height params
func (*GetAccountByPubkeyAndHeightParams) WriteToRequest ¶
func (o *GetAccountByPubkeyAndHeightParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetAccountByPubkeyBadRequest) Error() string
type GetAccountByPubkeyNotFound ¶
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 ¶
func (o *GetAccountByPubkeyNotFound) Error() string
type GetAccountByPubkeyOK ¶
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 ¶
func (o *GetAccountByPubkeyParams) WithContext(ctx context.Context) *GetAccountByPubkeyParams
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 ¶
func (o *GetAccountByPubkeyParams) WithPubkey(pubkey string) *GetAccountByPubkeyParams
WithPubkey adds the pubkey to the get account by pubkey params
func (*GetAccountByPubkeyParams) WithTimeout ¶
func (o *GetAccountByPubkeyParams) WithTimeout(timeout time.Duration) *GetAccountByPubkeyParams
WithTimeout adds the timeout to the get account by pubkey params
func (*GetAccountByPubkeyParams) WriteToRequest ¶
func (o *GetAccountByPubkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetChannelByPubkeyBadRequest) Error() string
type GetChannelByPubkeyNotFound ¶
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 ¶
func (o *GetChannelByPubkeyNotFound) Error() string
type GetChannelByPubkeyOK ¶
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 ¶
func (o *GetChannelByPubkeyParams) WithContext(ctx context.Context) *GetChannelByPubkeyParams
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 ¶
func (o *GetChannelByPubkeyParams) WithPubkey(pubkey string) *GetChannelByPubkeyParams
WithPubkey adds the pubkey to the get channel by pubkey params
func (*GetChannelByPubkeyParams) WithTimeout ¶
func (o *GetChannelByPubkeyParams) WithTimeout(timeout time.Duration) *GetChannelByPubkeyParams
WithTimeout adds the timeout to the get channel by pubkey params
func (*GetChannelByPubkeyParams) WriteToRequest ¶
func (o *GetChannelByPubkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *GetContractCodeParams) WithContext(ctx context.Context) *GetContractCodeParams
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 ¶
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 ¶
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 ¶
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 ¶
func (o *GetContractPoIParams) WithContext(ctx context.Context) *GetContractPoIParams
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 ¶
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 ¶
func (o *GetContractStoreBadRequest) Error() string
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 ¶
func (o *GetContractStoreParams) WithContext(ctx context.Context) *GetContractStoreParams
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 ¶
func (o *GetContractStoreParams) WithTimeout(timeout time.Duration) *GetContractStoreParams
WithTimeout adds the timeout to the get contract store params
func (*GetContractStoreParams) WriteToRequest ¶
func (o *GetContractStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetCurrentGenerationNotFound) Error() string
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 ¶
func (o *GetCurrentGenerationParams) WithContext(ctx context.Context) *GetCurrentGenerationParams
WithContext adds the context to the get current generation params
func (*GetCurrentGenerationParams) WithHTTPClient ¶
func (o *GetCurrentGenerationParams) WithHTTPClient(client *http.Client) *GetCurrentGenerationParams
WithHTTPClient adds the HTTPClient to the get current generation params
func (*GetCurrentGenerationParams) WithTimeout ¶
func (o *GetCurrentGenerationParams) WithTimeout(timeout time.Duration) *GetCurrentGenerationParams
WithTimeout adds the timeout to the get current generation params
func (*GetCurrentGenerationParams) WriteToRequest ¶
func (o *GetCurrentGenerationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetCurrentKeyBlockHashNotFound) Error() string
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 ¶
func (o *GetCurrentKeyBlockHashParams) WithContext(ctx context.Context) *GetCurrentKeyBlockHashParams
WithContext adds the context to the get current key block hash params
func (*GetCurrentKeyBlockHashParams) WithHTTPClient ¶
func (o *GetCurrentKeyBlockHashParams) WithHTTPClient(client *http.Client) *GetCurrentKeyBlockHashParams
WithHTTPClient adds the HTTPClient to the get current key block hash params
func (*GetCurrentKeyBlockHashParams) WithTimeout ¶
func (o *GetCurrentKeyBlockHashParams) WithTimeout(timeout time.Duration) *GetCurrentKeyBlockHashParams
WithTimeout adds the timeout to the get current key block hash params
func (*GetCurrentKeyBlockHashParams) WriteToRequest ¶
func (o *GetCurrentKeyBlockHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetCurrentKeyBlockHeightNotFound) Error() string
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 ¶
func (o *GetCurrentKeyBlockHeightOK) Error() string
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 ¶
func (o *GetCurrentKeyBlockHeightParams) WithContext(ctx context.Context) *GetCurrentKeyBlockHeightParams
WithContext adds the context to the get current key block height params
func (*GetCurrentKeyBlockHeightParams) WithHTTPClient ¶
func (o *GetCurrentKeyBlockHeightParams) WithHTTPClient(client *http.Client) *GetCurrentKeyBlockHeightParams
WithHTTPClient adds the HTTPClient to the get current key block height params
func (*GetCurrentKeyBlockHeightParams) WithTimeout ¶
func (o *GetCurrentKeyBlockHeightParams) WithTimeout(timeout time.Duration) *GetCurrentKeyBlockHeightParams
WithTimeout adds the timeout to the get current key block height params
func (*GetCurrentKeyBlockHeightParams) WriteToRequest ¶
func (o *GetCurrentKeyBlockHeightParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetCurrentKeyBlockNotFound) Error() string
type GetCurrentKeyBlockOK ¶
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 ¶
func (o *GetCurrentKeyBlockParams) WithContext(ctx context.Context) *GetCurrentKeyBlockParams
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 ¶
func (o *GetCurrentKeyBlockParams) WithTimeout(timeout time.Duration) *GetCurrentKeyBlockParams
WithTimeout adds the timeout to the get current key block params
func (*GetCurrentKeyBlockParams) WriteToRequest ¶
func (o *GetCurrentKeyBlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetGenerationByHashBadRequest) Error() string
type GetGenerationByHashNotFound ¶
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 ¶
func (o *GetGenerationByHashNotFound) Error() string
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 ¶
func (o *GetGenerationByHashParams) WithContext(ctx context.Context) *GetGenerationByHashParams
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 ¶
func (o *GetGenerationByHashParams) WithHash(hash string) *GetGenerationByHashParams
WithHash adds the hash to the get generation by hash params
func (*GetGenerationByHashParams) WithTimeout ¶
func (o *GetGenerationByHashParams) WithTimeout(timeout time.Duration) *GetGenerationByHashParams
WithTimeout adds the timeout to the get generation by hash params
func (*GetGenerationByHashParams) WriteToRequest ¶
func (o *GetGenerationByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetGenerationByHeightNotFound) Error() string
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 ¶
func (o *GetGenerationByHeightParams) WithContext(ctx context.Context) *GetGenerationByHeightParams
WithContext adds the context to the get generation by height params
func (*GetGenerationByHeightParams) WithHTTPClient ¶
func (o *GetGenerationByHeightParams) WithHTTPClient(client *http.Client) *GetGenerationByHeightParams
WithHTTPClient adds the HTTPClient to the get generation by height params
func (*GetGenerationByHeightParams) WithHeight ¶
func (o *GetGenerationByHeightParams) WithHeight(height uint64) *GetGenerationByHeightParams
WithHeight adds the height to the get generation by height params
func (*GetGenerationByHeightParams) WithTimeout ¶
func (o *GetGenerationByHeightParams) WithTimeout(timeout time.Duration) *GetGenerationByHeightParams
WithTimeout adds the timeout to the get generation by height params
func (*GetGenerationByHeightParams) WriteToRequest ¶
func (o *GetGenerationByHeightParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetKeyBlockByHashBadRequest) Error() string
type GetKeyBlockByHashNotFound ¶
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 ¶
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 ¶
func (o *GetKeyBlockByHashParams) WithContext(ctx context.Context) *GetKeyBlockByHashParams
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 ¶
func (o *GetKeyBlockByHashParams) WithHash(hash string) *GetKeyBlockByHashParams
WithHash adds the hash to the get key block by hash params
func (*GetKeyBlockByHashParams) WithTimeout ¶
func (o *GetKeyBlockByHashParams) WithTimeout(timeout time.Duration) *GetKeyBlockByHashParams
WithTimeout adds the timeout to the get key block by hash params
func (*GetKeyBlockByHashParams) WriteToRequest ¶
func (o *GetKeyBlockByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetKeyBlockByHeightNotFound) Error() string
type GetKeyBlockByHeightOK ¶
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 ¶
func (o *GetKeyBlockByHeightParams) WithContext(ctx context.Context) *GetKeyBlockByHeightParams
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 ¶
func (o *GetKeyBlockByHeightParams) WithHeight(height int64) *GetKeyBlockByHeightParams
WithHeight adds the height to the get key block by height params
func (*GetKeyBlockByHeightParams) WithTimeout ¶
func (o *GetKeyBlockByHeightParams) WithTimeout(timeout time.Duration) *GetKeyBlockByHeightParams
WithTimeout adds the timeout to the get key block by height params
func (*GetKeyBlockByHeightParams) WriteToRequest ¶
func (o *GetKeyBlockByHeightParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetMicroBlockHeaderByHashBadRequest) Error() string
type GetMicroBlockHeaderByHashNotFound ¶
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 ¶
func (o *GetMicroBlockHeaderByHashNotFound) Error() string
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 ¶
func (o *GetMicroBlockHeaderByHashOK) Error() string
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 ¶
func (o *GetMicroBlockHeaderByHashParams) WithContext(ctx context.Context) *GetMicroBlockHeaderByHashParams
WithContext adds the context to the get micro block header by hash params
func (*GetMicroBlockHeaderByHashParams) WithHTTPClient ¶
func (o *GetMicroBlockHeaderByHashParams) WithHTTPClient(client *http.Client) *GetMicroBlockHeaderByHashParams
WithHTTPClient adds the HTTPClient to the get micro block header by hash params
func (*GetMicroBlockHeaderByHashParams) WithHash ¶
func (o *GetMicroBlockHeaderByHashParams) WithHash(hash string) *GetMicroBlockHeaderByHashParams
WithHash adds the hash to the get micro block header by hash params
func (*GetMicroBlockHeaderByHashParams) WithTimeout ¶
func (o *GetMicroBlockHeaderByHashParams) WithTimeout(timeout time.Duration) *GetMicroBlockHeaderByHashParams
WithTimeout adds the timeout to the get micro block header by hash params
func (*GetMicroBlockHeaderByHashParams) WriteToRequest ¶
func (o *GetMicroBlockHeaderByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetMicroBlockTransactionByHashAndIndexBadRequest) Error() string
type GetMicroBlockTransactionByHashAndIndexNotFound ¶
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 ¶
func (o *GetMicroBlockTransactionByHashAndIndexNotFound) Error() string
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 ¶
func (o *GetMicroBlockTransactionByHashAndIndexOK) Error() string
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 ¶
func (o *GetMicroBlockTransactionByHashAndIndexParams) SetContext(ctx context.Context)
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 ¶
func (o *GetMicroBlockTransactionByHashAndIndexParams) SetHash(hash string)
SetHash adds the hash to the get micro block transaction by hash and index params
func (*GetMicroBlockTransactionByHashAndIndexParams) SetIndex ¶
func (o *GetMicroBlockTransactionByHashAndIndexParams) SetIndex(index int64)
SetIndex adds the index to the get micro block transaction by hash and index params
func (*GetMicroBlockTransactionByHashAndIndexParams) SetTimeout ¶
func (o *GetMicroBlockTransactionByHashAndIndexParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get micro block transaction by hash and index params
func (*GetMicroBlockTransactionByHashAndIndexParams) WithContext ¶
func (o *GetMicroBlockTransactionByHashAndIndexParams) WithContext(ctx context.Context) *GetMicroBlockTransactionByHashAndIndexParams
WithContext adds the context to the get micro block transaction by hash and index params
func (*GetMicroBlockTransactionByHashAndIndexParams) WithHTTPClient ¶
func (o *GetMicroBlockTransactionByHashAndIndexParams) WithHTTPClient(client *http.Client) *GetMicroBlockTransactionByHashAndIndexParams
WithHTTPClient adds the HTTPClient to the get micro block transaction by hash and index params
func (*GetMicroBlockTransactionByHashAndIndexParams) WithHash ¶
func (o *GetMicroBlockTransactionByHashAndIndexParams) WithHash(hash string) *GetMicroBlockTransactionByHashAndIndexParams
WithHash adds the hash to the get micro block transaction by hash and index params
func (*GetMicroBlockTransactionByHashAndIndexParams) WithIndex ¶
func (o *GetMicroBlockTransactionByHashAndIndexParams) WithIndex(index int64) *GetMicroBlockTransactionByHashAndIndexParams
WithIndex adds the index to the get micro block transaction by hash and index params
func (*GetMicroBlockTransactionByHashAndIndexParams) WithTimeout ¶
func (o *GetMicroBlockTransactionByHashAndIndexParams) WithTimeout(timeout time.Duration) *GetMicroBlockTransactionByHashAndIndexParams
WithTimeout adds the timeout to the get micro block transaction by hash and index params
func (*GetMicroBlockTransactionByHashAndIndexParams) WriteToRequest ¶
func (o *GetMicroBlockTransactionByHashAndIndexParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetMicroBlockTransactionsByHashBadRequest) Error() string
type GetMicroBlockTransactionsByHashNotFound ¶
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 ¶
func (o *GetMicroBlockTransactionsByHashNotFound) Error() string
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 ¶
func (o *GetMicroBlockTransactionsByHashOK) Error() string
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 ¶
func (o *GetMicroBlockTransactionsByHashParams) SetContext(ctx context.Context)
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 ¶
func (o *GetMicroBlockTransactionsByHashParams) SetHash(hash string)
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 ¶
func (o *GetMicroBlockTransactionsByHashParams) WithContext(ctx context.Context) *GetMicroBlockTransactionsByHashParams
WithContext adds the context to the get micro block transactions by hash params
func (*GetMicroBlockTransactionsByHashParams) WithHTTPClient ¶
func (o *GetMicroBlockTransactionsByHashParams) WithHTTPClient(client *http.Client) *GetMicroBlockTransactionsByHashParams
WithHTTPClient adds the HTTPClient to the get micro block transactions by hash params
func (*GetMicroBlockTransactionsByHashParams) WithHash ¶
func (o *GetMicroBlockTransactionsByHashParams) WithHash(hash string) *GetMicroBlockTransactionsByHashParams
WithHash adds the hash to the get micro block transactions by hash params
func (*GetMicroBlockTransactionsByHashParams) WithTimeout ¶
func (o *GetMicroBlockTransactionsByHashParams) WithTimeout(timeout time.Duration) *GetMicroBlockTransactionsByHashParams
WithTimeout adds the timeout to the get micro block transactions by hash params
func (*GetMicroBlockTransactionsByHashParams) WriteToRequest ¶
func (o *GetMicroBlockTransactionsByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetMicroBlockTransactionsCountByHashBadRequest) Error() string
type GetMicroBlockTransactionsCountByHashNotFound ¶
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 ¶
func (o *GetMicroBlockTransactionsCountByHashNotFound) Error() string
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 ¶
func (o *GetMicroBlockTransactionsCountByHashOK) Error() string
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 ¶
func (o *GetMicroBlockTransactionsCountByHashParams) SetContext(ctx context.Context)
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 ¶
func (o *GetMicroBlockTransactionsCountByHashParams) SetHash(hash string)
SetHash adds the hash to the get micro block transactions count by hash params
func (*GetMicroBlockTransactionsCountByHashParams) SetTimeout ¶
func (o *GetMicroBlockTransactionsCountByHashParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get micro block transactions count by hash params
func (*GetMicroBlockTransactionsCountByHashParams) WithContext ¶
func (o *GetMicroBlockTransactionsCountByHashParams) WithContext(ctx context.Context) *GetMicroBlockTransactionsCountByHashParams
WithContext adds the context to the get micro block transactions count by hash params
func (*GetMicroBlockTransactionsCountByHashParams) WithHTTPClient ¶
func (o *GetMicroBlockTransactionsCountByHashParams) WithHTTPClient(client *http.Client) *GetMicroBlockTransactionsCountByHashParams
WithHTTPClient adds the HTTPClient to the get micro block transactions count by hash params
func (*GetMicroBlockTransactionsCountByHashParams) WithHash ¶
func (o *GetMicroBlockTransactionsCountByHashParams) WithHash(hash string) *GetMicroBlockTransactionsCountByHashParams
WithHash adds the hash to the get micro block transactions count by hash params
func (*GetMicroBlockTransactionsCountByHashParams) WithTimeout ¶
func (o *GetMicroBlockTransactionsCountByHashParams) WithTimeout(timeout time.Duration) *GetMicroBlockTransactionsCountByHashParams
WithTimeout adds the timeout to the get micro block transactions count by hash params
func (*GetMicroBlockTransactionsCountByHashParams) WriteToRequest ¶
func (o *GetMicroBlockTransactionsCountByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetNameEntryByNameBadRequest) Error() string
type GetNameEntryByNameNotFound ¶
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 ¶
func (o *GetNameEntryByNameNotFound) Error() string
type GetNameEntryByNameOK ¶
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 ¶
func (o *GetNameEntryByNameParams) WithContext(ctx context.Context) *GetNameEntryByNameParams
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 ¶
func (o *GetNameEntryByNameParams) WithName(name string) *GetNameEntryByNameParams
WithName adds the name to the get name entry by name params
func (*GetNameEntryByNameParams) WithTimeout ¶
func (o *GetNameEntryByNameParams) WithTimeout(timeout time.Duration) *GetNameEntryByNameParams
WithTimeout adds the timeout to the get name entry by name params
func (*GetNameEntryByNameParams) WriteToRequest ¶
func (o *GetNameEntryByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetOracleByPubkeyBadRequest) Error() string
type GetOracleByPubkeyNotFound ¶
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 ¶
func (o *GetOracleByPubkeyParams) WithContext(ctx context.Context) *GetOracleByPubkeyParams
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 ¶
func (o *GetOracleByPubkeyParams) WithPubkey(pubkey string) *GetOracleByPubkeyParams
WithPubkey adds the pubkey to the get oracle by pubkey params
func (*GetOracleByPubkeyParams) WithTimeout ¶
func (o *GetOracleByPubkeyParams) WithTimeout(timeout time.Duration) *GetOracleByPubkeyParams
WithTimeout adds the timeout to the get oracle by pubkey params
func (*GetOracleByPubkeyParams) WriteToRequest ¶
func (o *GetOracleByPubkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetOracleQueriesByPubkeyBadRequest) Error() string
type GetOracleQueriesByPubkeyNotFound ¶
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 ¶
func (o *GetOracleQueriesByPubkeyNotFound) Error() string
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 ¶
func (o *GetOracleQueriesByPubkeyOK) Error() string
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 ¶
func (o *GetOracleQueriesByPubkeyParams) WithContext(ctx context.Context) *GetOracleQueriesByPubkeyParams
WithContext adds the context to the get oracle queries by pubkey params
func (*GetOracleQueriesByPubkeyParams) WithFrom ¶
func (o *GetOracleQueriesByPubkeyParams) WithFrom(from *string) *GetOracleQueriesByPubkeyParams
WithFrom adds the from to the get oracle queries by pubkey params
func (*GetOracleQueriesByPubkeyParams) WithHTTPClient ¶
func (o *GetOracleQueriesByPubkeyParams) WithHTTPClient(client *http.Client) *GetOracleQueriesByPubkeyParams
WithHTTPClient adds the HTTPClient to the get oracle queries by pubkey params
func (*GetOracleQueriesByPubkeyParams) WithLimit ¶
func (o *GetOracleQueriesByPubkeyParams) WithLimit(limit *int64) *GetOracleQueriesByPubkeyParams
WithLimit adds the limit to the get oracle queries by pubkey params
func (*GetOracleQueriesByPubkeyParams) WithPubkey ¶
func (o *GetOracleQueriesByPubkeyParams) WithPubkey(pubkey string) *GetOracleQueriesByPubkeyParams
WithPubkey adds the pubkey to the get oracle queries by pubkey params
func (*GetOracleQueriesByPubkeyParams) WithTimeout ¶
func (o *GetOracleQueriesByPubkeyParams) WithTimeout(timeout time.Duration) *GetOracleQueriesByPubkeyParams
WithTimeout adds the timeout to the get oracle queries by pubkey params
func (*GetOracleQueriesByPubkeyParams) WithType ¶
func (o *GetOracleQueriesByPubkeyParams) WithType(typeVar *string) *GetOracleQueriesByPubkeyParams
WithType adds the typeVar to the get oracle queries by pubkey params
func (*GetOracleQueriesByPubkeyParams) WriteToRequest ¶
func (o *GetOracleQueriesByPubkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetOracleQueryByPubkeyAndQueryIDBadRequest) Error() string
type GetOracleQueryByPubkeyAndQueryIDNotFound ¶
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 ¶
func (o *GetOracleQueryByPubkeyAndQueryIDNotFound) Error() string
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 ¶
func (o *GetOracleQueryByPubkeyAndQueryIDOK) Error() string
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 ¶
func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetContext(ctx context.Context)
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 ¶
func (o *GetOracleQueryByPubkeyAndQueryIDParams) WithContext(ctx context.Context) *GetOracleQueryByPubkeyAndQueryIDParams
WithContext adds the context to the get oracle query by pubkey and query Id params
func (*GetOracleQueryByPubkeyAndQueryIDParams) WithHTTPClient ¶
func (o *GetOracleQueryByPubkeyAndQueryIDParams) WithHTTPClient(client *http.Client) *GetOracleQueryByPubkeyAndQueryIDParams
WithHTTPClient adds the HTTPClient to the get oracle query by pubkey and query Id params
func (*GetOracleQueryByPubkeyAndQueryIDParams) WithPubkey ¶
func (o *GetOracleQueryByPubkeyAndQueryIDParams) WithPubkey(pubkey string) *GetOracleQueryByPubkeyAndQueryIDParams
WithPubkey adds the pubkey to the get oracle query by pubkey and query Id params
func (*GetOracleQueryByPubkeyAndQueryIDParams) WithQueryID ¶
func (o *GetOracleQueryByPubkeyAndQueryIDParams) WithQueryID(queryID string) *GetOracleQueryByPubkeyAndQueryIDParams
WithQueryID adds the queryID to the get oracle query by pubkey and query Id params
func (*GetOracleQueryByPubkeyAndQueryIDParams) WithTimeout ¶
func (o *GetOracleQueryByPubkeyAndQueryIDParams) WithTimeout(timeout time.Duration) *GetOracleQueryByPubkeyAndQueryIDParams
WithTimeout adds the timeout to the get oracle query by pubkey and query Id params
func (*GetOracleQueryByPubkeyAndQueryIDParams) WriteToRequest ¶
func (o *GetOracleQueryByPubkeyAndQueryIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPeerPubkeyParams) WithContext(ctx context.Context) *GetPeerPubkeyParams
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 ¶
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 ¶
func (o *GetPendingAccountTransactionsByPubkeyBadRequest) Error() string
type GetPendingAccountTransactionsByPubkeyNotFound ¶
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 ¶
func (o *GetPendingAccountTransactionsByPubkeyNotFound) Error() string
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 ¶
func (o *GetPendingAccountTransactionsByPubkeyOK) Error() string
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 ¶
func (o *GetPendingAccountTransactionsByPubkeyParams) SetContext(ctx context.Context)
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 ¶
func (o *GetPendingAccountTransactionsByPubkeyParams) SetPubkey(pubkey string)
SetPubkey adds the pubkey to the get pending account transactions by pubkey params
func (*GetPendingAccountTransactionsByPubkeyParams) SetTimeout ¶
func (o *GetPendingAccountTransactionsByPubkeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get pending account transactions by pubkey params
func (*GetPendingAccountTransactionsByPubkeyParams) WithContext ¶
func (o *GetPendingAccountTransactionsByPubkeyParams) WithContext(ctx context.Context) *GetPendingAccountTransactionsByPubkeyParams
WithContext adds the context to the get pending account transactions by pubkey params
func (*GetPendingAccountTransactionsByPubkeyParams) WithHTTPClient ¶
func (o *GetPendingAccountTransactionsByPubkeyParams) WithHTTPClient(client *http.Client) *GetPendingAccountTransactionsByPubkeyParams
WithHTTPClient adds the HTTPClient to the get pending account transactions by pubkey params
func (*GetPendingAccountTransactionsByPubkeyParams) WithPubkey ¶
func (o *GetPendingAccountTransactionsByPubkeyParams) WithPubkey(pubkey string) *GetPendingAccountTransactionsByPubkeyParams
WithPubkey adds the pubkey to the get pending account transactions by pubkey params
func (*GetPendingAccountTransactionsByPubkeyParams) WithTimeout ¶
func (o *GetPendingAccountTransactionsByPubkeyParams) WithTimeout(timeout time.Duration) *GetPendingAccountTransactionsByPubkeyParams
WithTimeout adds the timeout to the get pending account transactions by pubkey params
func (*GetPendingAccountTransactionsByPubkeyParams) WriteToRequest ¶
func (o *GetPendingAccountTransactionsByPubkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetPendingKeyBlockBadRequest) Error() string
type GetPendingKeyBlockNotFound ¶
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 ¶
func (o *GetPendingKeyBlockNotFound) Error() string
type GetPendingKeyBlockOK ¶
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 ¶
func (o *GetPendingKeyBlockParams) WithContext(ctx context.Context) *GetPendingKeyBlockParams
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 ¶
func (o *GetPendingKeyBlockParams) WithTimeout(timeout time.Duration) *GetPendingKeyBlockParams
WithTimeout adds the timeout to the get pending key block params
func (*GetPendingKeyBlockParams) WriteToRequest ¶
func (o *GetPendingKeyBlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
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 ¶
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 ¶
func (o *GetTransactionByHashBadRequest) Error() string
type GetTransactionByHashNotFound ¶
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 ¶
func (o *GetTransactionByHashNotFound) Error() string
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 ¶
func (o *GetTransactionByHashParams) WithContext(ctx context.Context) *GetTransactionByHashParams
WithContext adds the context to the get transaction by hash params
func (*GetTransactionByHashParams) WithHTTPClient ¶
func (o *GetTransactionByHashParams) WithHTTPClient(client *http.Client) *GetTransactionByHashParams
WithHTTPClient adds the HTTPClient to the get transaction by hash params
func (*GetTransactionByHashParams) WithHash ¶
func (o *GetTransactionByHashParams) WithHash(hash string) *GetTransactionByHashParams
WithHash adds the hash to the get transaction by hash params
func (*GetTransactionByHashParams) WithTimeout ¶
func (o *GetTransactionByHashParams) WithTimeout(timeout time.Duration) *GetTransactionByHashParams
WithTimeout adds the timeout to the get transaction by hash params
func (*GetTransactionByHashParams) WriteToRequest ¶
func (o *GetTransactionByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetTransactionInfoByHashBadRequest) Error() string
type GetTransactionInfoByHashNotFound ¶
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 ¶
func (o *GetTransactionInfoByHashNotFound) Error() string
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 ¶
func (o *GetTransactionInfoByHashOK) Error() string
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 ¶
func (o *GetTransactionInfoByHashParams) WithContext(ctx context.Context) *GetTransactionInfoByHashParams
WithContext adds the context to the get transaction info by hash params
func (*GetTransactionInfoByHashParams) WithHTTPClient ¶
func (o *GetTransactionInfoByHashParams) WithHTTPClient(client *http.Client) *GetTransactionInfoByHashParams
WithHTTPClient adds the HTTPClient to the get transaction info by hash params
func (*GetTransactionInfoByHashParams) WithHash ¶
func (o *GetTransactionInfoByHashParams) WithHash(hash string) *GetTransactionInfoByHashParams
WithHash adds the hash to the get transaction info by hash params
func (*GetTransactionInfoByHashParams) WithTimeout ¶
func (o *GetTransactionInfoByHashParams) WithTimeout(timeout time.Duration) *GetTransactionInfoByHashParams
WithTimeout adds the timeout to the get transaction info by hash params
func (*GetTransactionInfoByHashParams) WriteToRequest ¶
func (o *GetTransactionInfoByHashParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *PostTransactionParams) WithBody(body *models.Tx) *PostTransactionParams
WithBody adds the body to the post transaction params
func (*PostTransactionParams) WithContext ¶
func (o *PostTransactionParams) WithContext(ctx context.Context) *PostTransactionParams
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 ¶
- external_client.go
- get_account_by_pubkey_and_hash_parameters.go
- get_account_by_pubkey_and_hash_responses.go
- get_account_by_pubkey_and_height_parameters.go
- get_account_by_pubkey_and_height_responses.go
- get_account_by_pubkey_parameters.go
- get_account_by_pubkey_responses.go
- get_channel_by_pubkey_parameters.go
- get_channel_by_pubkey_responses.go
- get_contract_code_parameters.go
- get_contract_code_responses.go
- get_contract_parameters.go
- get_contract_po_i_parameters.go
- get_contract_po_i_responses.go
- get_contract_responses.go
- get_contract_store_parameters.go
- get_contract_store_responses.go
- get_current_generation_parameters.go
- get_current_generation_responses.go
- get_current_key_block_hash_parameters.go
- get_current_key_block_hash_responses.go
- get_current_key_block_height_parameters.go
- get_current_key_block_height_responses.go
- get_current_key_block_parameters.go
- get_current_key_block_responses.go
- get_generation_by_hash_parameters.go
- get_generation_by_hash_responses.go
- get_generation_by_height_parameters.go
- get_generation_by_height_responses.go
- get_key_block_by_hash_parameters.go
- get_key_block_by_hash_responses.go
- get_key_block_by_height_parameters.go
- get_key_block_by_height_responses.go
- get_micro_block_header_by_hash_parameters.go
- get_micro_block_header_by_hash_responses.go
- get_micro_block_transaction_by_hash_and_index_parameters.go
- get_micro_block_transaction_by_hash_and_index_responses.go
- get_micro_block_transactions_by_hash_parameters.go
- get_micro_block_transactions_by_hash_responses.go
- get_micro_block_transactions_count_by_hash_parameters.go
- get_micro_block_transactions_count_by_hash_responses.go
- get_name_entry_by_name_parameters.go
- get_name_entry_by_name_responses.go
- get_oracle_by_pubkey_parameters.go
- get_oracle_by_pubkey_responses.go
- get_oracle_queries_by_pubkey_parameters.go
- get_oracle_queries_by_pubkey_responses.go
- get_oracle_query_by_pubkey_and_query_id_parameters.go
- get_oracle_query_by_pubkey_and_query_id_responses.go
- get_peer_pubkey_parameters.go
- get_peer_pubkey_responses.go
- get_pending_account_transactions_by_pubkey_parameters.go
- get_pending_account_transactions_by_pubkey_responses.go
- get_pending_key_block_parameters.go
- get_pending_key_block_responses.go
- get_status_parameters.go
- get_status_responses.go
- get_top_block_parameters.go
- get_top_block_responses.go
- get_transaction_by_hash_parameters.go
- get_transaction_by_hash_responses.go
- get_transaction_info_by_hash_parameters.go
- get_transaction_info_by_hash_responses.go
- post_transaction_parameters.go
- post_transaction_responses.go