Documentation
¶
Index ¶
- type Client
- func (a *Client) GetAccountByPubkey(params *GetAccountByPubkeyParams, opts ...ClientOption) (*GetAccountByPubkeyOK, error)
- func (a *Client) GetAccountByPubkeyAndHash(params *GetAccountByPubkeyAndHashParams, opts ...ClientOption) (*GetAccountByPubkeyAndHashOK, error)
- func (a *Client) GetAccountByPubkeyAndHeight(params *GetAccountByPubkeyAndHeightParams, opts ...ClientOption) (*GetAccountByPubkeyAndHeightOK, error)
- func (a *Client) GetChainEnds(params *GetChainEndsParams, opts ...ClientOption) (*GetChainEndsOK, error)
- func (a *Client) GetChannelByPubkey(params *GetChannelByPubkeyParams, opts ...ClientOption) (*GetChannelByPubkeyOK, error)
- func (a *Client) GetContract(params *GetContractParams, opts ...ClientOption) (*GetContractOK, error)
- func (a *Client) GetContractCode(params *GetContractCodeParams, opts ...ClientOption) (*GetContractCodeOK, error)
- func (a *Client) GetContractPoI(params *GetContractPoIParams, opts ...ClientOption) (*GetContractPoIOK, error)
- func (a *Client) GetCurrentGeneration(params *GetCurrentGenerationParams, opts ...ClientOption) (*GetCurrentGenerationOK, error)
- func (a *Client) GetCurrentKeyBlock(params *GetCurrentKeyBlockParams, opts ...ClientOption) (*GetCurrentKeyBlockOK, error)
- func (a *Client) GetCurrentKeyBlockHash(params *GetCurrentKeyBlockHashParams, opts ...ClientOption) (*GetCurrentKeyBlockHashOK, error)
- func (a *Client) GetCurrentKeyBlockHeight(params *GetCurrentKeyBlockHeightParams, opts ...ClientOption) (*GetCurrentKeyBlockHeightOK, error)
- func (a *Client) GetGenerationByHash(params *GetGenerationByHashParams, opts ...ClientOption) (*GetGenerationByHashOK, error)
- func (a *Client) GetGenerationByHeight(params *GetGenerationByHeightParams, opts ...ClientOption) (*GetGenerationByHeightOK, error)
- func (a *Client) GetKeyBlockByHash(params *GetKeyBlockByHashParams, opts ...ClientOption) (*GetKeyBlockByHashOK, error)
- func (a *Client) GetKeyBlockByHeight(params *GetKeyBlockByHeightParams, opts ...ClientOption) (*GetKeyBlockByHeightOK, error)
- func (a *Client) GetMicroBlockHeaderByHash(params *GetMicroBlockHeaderByHashParams, opts ...ClientOption) (*GetMicroBlockHeaderByHashOK, error)
- func (a *Client) GetMicroBlockTransactionByHashAndIndex(params *GetMicroBlockTransactionByHashAndIndexParams, opts ...ClientOption) (*GetMicroBlockTransactionByHashAndIndexOK, error)
- func (a *Client) GetMicroBlockTransactionsByHash(params *GetMicroBlockTransactionsByHashParams, opts ...ClientOption) (*GetMicroBlockTransactionsByHashOK, error)
- func (a *Client) GetMicroBlockTransactionsCountByHash(params *GetMicroBlockTransactionsCountByHashParams, opts ...ClientOption) (*GetMicroBlockTransactionsCountByHashOK, error)
- func (a *Client) GetNameEntryByName(params *GetNameEntryByNameParams, opts ...ClientOption) (*GetNameEntryByNameOK, error)
- func (a *Client) GetOracleByPubkey(params *GetOracleByPubkeyParams, opts ...ClientOption) (*GetOracleByPubkeyOK, error)
- func (a *Client) GetOracleQueriesByPubkey(params *GetOracleQueriesByPubkeyParams, opts ...ClientOption) (*GetOracleQueriesByPubkeyOK, error)
- func (a *Client) GetOracleQueryByPubkeyAndQueryID(params *GetOracleQueryByPubkeyAndQueryIDParams, opts ...ClientOption) (*GetOracleQueryByPubkeyAndQueryIDOK, error)
- func (a *Client) GetPeerPubkey(params *GetPeerPubkeyParams, opts ...ClientOption) (*GetPeerPubkeyOK, error)
- func (a *Client) GetPendingAccountTransactionsByPubkey(params *GetPendingAccountTransactionsByPubkeyParams, opts ...ClientOption) (*GetPendingAccountTransactionsByPubkeyOK, error)
- func (a *Client) GetPendingKeyBlock(params *GetPendingKeyBlockParams, opts ...ClientOption) (*GetPendingKeyBlockOK, error)
- func (a *Client) GetStatus(params *GetStatusParams, opts ...ClientOption) (*GetStatusOK, error)
- func (a *Client) GetTopBlock(params *GetTopBlockParams, opts ...ClientOption) (*GetTopBlockOK, error)
- func (a *Client) GetTransactionByHash(params *GetTransactionByHashParams, opts ...ClientOption) (*GetTransactionByHashOK, error)
- func (a *Client) GetTransactionInfoByHash(params *GetTransactionInfoByHashParams, opts ...ClientOption) (*GetTransactionInfoByHashOK, error)
- func (a *Client) PostTransaction(params *PostTransactionParams, opts ...ClientOption) (*PostTransactionOK, error)
- func (a *Client) ProtectedDryRunTxs(params *ProtectedDryRunTxsParams, opts ...ClientOption) (*ProtectedDryRunTxsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- func (o *GetAccountByPubkeyAndHeightParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountByPubkeyAndHeightParams) SetHeight(height uint64)
- func (o *GetAccountByPubkeyAndHeightParams) SetPubkey(pubkey string)
- func (o *GetAccountByPubkeyAndHeightParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountByPubkeyAndHeightParams) WithContext(ctx context.Context) *GetAccountByPubkeyAndHeightParams
- func (o *GetAccountByPubkeyAndHeightParams) WithDefaults() *GetAccountByPubkeyAndHeightParams
- func (o *GetAccountByPubkeyAndHeightParams) WithHTTPClient(client *http.Client) *GetAccountByPubkeyAndHeightParams
- func (o *GetAccountByPubkeyAndHeightParams) WithHeight(height uint64) *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) SetDefaults()
- 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) WithDefaults() *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 GetChainEndsOK
- type GetChainEndsParams
- func (o *GetChainEndsParams) SetContext(ctx context.Context)
- func (o *GetChainEndsParams) SetDefaults()
- func (o *GetChainEndsParams) SetHTTPClient(client *http.Client)
- func (o *GetChainEndsParams) SetTimeout(timeout time.Duration)
- func (o *GetChainEndsParams) WithContext(ctx context.Context) *GetChainEndsParams
- func (o *GetChainEndsParams) WithDefaults() *GetChainEndsParams
- func (o *GetChainEndsParams) WithHTTPClient(client *http.Client) *GetChainEndsParams
- func (o *GetChainEndsParams) WithTimeout(timeout time.Duration) *GetChainEndsParams
- func (o *GetChainEndsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetChainEndsReader
- 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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 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) SetDefaults()
- 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) WithDefaults() *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 GetCurrentKeyBlockHashOKBody
- func (o *GetCurrentKeyBlockHashOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCurrentKeyBlockHashOKBody) MarshalBinary() ([]byte, error)
- func (o *GetCurrentKeyBlockHashOKBody) UnmarshalBinary(b []byte) error
- func (o *GetCurrentKeyBlockHashOKBody) Validate(formats strfmt.Registry) error
- 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) SetDefaults()
- 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) WithDefaults() *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 GetCurrentKeyBlockHeightOKBody
- func (o *GetCurrentKeyBlockHeightOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCurrentKeyBlockHeightOKBody) MarshalBinary() ([]byte, error)
- func (o *GetCurrentKeyBlockHeightOKBody) UnmarshalBinary(b []byte) error
- func (o *GetCurrentKeyBlockHeightOKBody) Validate(formats strfmt.Registry) error
- 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- func (o *GetKeyBlockByHeightParams) SetHTTPClient(client *http.Client)
- func (o *GetKeyBlockByHeightParams) SetHeight(height uint64)
- func (o *GetKeyBlockByHeightParams) SetTimeout(timeout time.Duration)
- func (o *GetKeyBlockByHeightParams) WithContext(ctx context.Context) *GetKeyBlockByHeightParams
- func (o *GetKeyBlockByHeightParams) WithDefaults() *GetKeyBlockByHeightParams
- func (o *GetKeyBlockByHeightParams) WithHTTPClient(client *http.Client) *GetKeyBlockByHeightParams
- func (o *GetKeyBlockByHeightParams) WithHeight(height uint64) *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- func (o *GetMicroBlockTransactionByHashAndIndexParams) SetHTTPClient(client *http.Client)
- func (o *GetMicroBlockTransactionByHashAndIndexParams) SetHash(hash string)
- func (o *GetMicroBlockTransactionByHashAndIndexParams) SetIndex(index uint64)
- func (o *GetMicroBlockTransactionByHashAndIndexParams) SetTimeout(timeout time.Duration)
- func (o *GetMicroBlockTransactionByHashAndIndexParams) WithContext(ctx context.Context) *GetMicroBlockTransactionByHashAndIndexParams
- func (o *GetMicroBlockTransactionByHashAndIndexParams) WithDefaults() *GetMicroBlockTransactionByHashAndIndexParams
- func (o *GetMicroBlockTransactionByHashAndIndexParams) WithHTTPClient(client *http.Client) *GetMicroBlockTransactionByHashAndIndexParams
- func (o *GetMicroBlockTransactionByHashAndIndexParams) WithHash(hash string) *GetMicroBlockTransactionByHashAndIndexParams
- func (o *GetMicroBlockTransactionByHashAndIndexParams) WithIndex(index uint64) *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) SetDefaults()
- 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) WithDefaults() *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 GetMicroBlockTransactionsCountByHashOKBody
- func (o *GetMicroBlockTransactionsCountByHashOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetMicroBlockTransactionsCountByHashOKBody) MarshalBinary() ([]byte, error)
- func (o *GetMicroBlockTransactionsCountByHashOKBody) UnmarshalBinary(b []byte) error
- func (o *GetMicroBlockTransactionsCountByHashOKBody) Validate(formats strfmt.Registry) error
- 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- func (o *GetOracleQueriesByPubkeyParams) SetFrom(from *string)
- func (o *GetOracleQueriesByPubkeyParams) SetHTTPClient(client *http.Client)
- func (o *GetOracleQueriesByPubkeyParams) SetLimit(limit *uint64)
- 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) WithDefaults() *GetOracleQueriesByPubkeyParams
- func (o *GetOracleQueriesByPubkeyParams) WithFrom(from *string) *GetOracleQueriesByPubkeyParams
- func (o *GetOracleQueriesByPubkeyParams) WithHTTPClient(client *http.Client) *GetOracleQueriesByPubkeyParams
- func (o *GetOracleQueriesByPubkeyParams) WithLimit(limit *uint64) *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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
- type ProtectedDryRunTxsForbidden
- type ProtectedDryRunTxsOK
- type ProtectedDryRunTxsParams
- func NewProtectedDryRunTxsParams() *ProtectedDryRunTxsParams
- func NewProtectedDryRunTxsParamsWithContext(ctx context.Context) *ProtectedDryRunTxsParams
- func NewProtectedDryRunTxsParamsWithHTTPClient(client *http.Client) *ProtectedDryRunTxsParams
- func NewProtectedDryRunTxsParamsWithTimeout(timeout time.Duration) *ProtectedDryRunTxsParams
- func (o *ProtectedDryRunTxsParams) SetBody(body *models.DryRunInput)
- func (o *ProtectedDryRunTxsParams) SetContext(ctx context.Context)
- func (o *ProtectedDryRunTxsParams) SetDefaults()
- func (o *ProtectedDryRunTxsParams) SetHTTPClient(client *http.Client)
- func (o *ProtectedDryRunTxsParams) SetTimeout(timeout time.Duration)
- func (o *ProtectedDryRunTxsParams) WithBody(body *models.DryRunInput) *ProtectedDryRunTxsParams
- func (o *ProtectedDryRunTxsParams) WithContext(ctx context.Context) *ProtectedDryRunTxsParams
- func (o *ProtectedDryRunTxsParams) WithDefaults() *ProtectedDryRunTxsParams
- func (o *ProtectedDryRunTxsParams) WithHTTPClient(client *http.Client) *ProtectedDryRunTxsParams
- func (o *ProtectedDryRunTxsParams) WithTimeout(timeout time.Duration) *ProtectedDryRunTxsParams
- func (o *ProtectedDryRunTxsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProtectedDryRunTxsReader
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 (*Client) GetAccountByPubkey ¶
func (a *Client) GetAccountByPubkey(params *GetAccountByPubkeyParams, opts ...ClientOption) (*GetAccountByPubkeyOK, error)
GetAccountByPubkey Get an account by public key
func (*Client) GetAccountByPubkeyAndHash ¶
func (a *Client) GetAccountByPubkeyAndHash(params *GetAccountByPubkeyAndHashParams, opts ...ClientOption) (*GetAccountByPubkeyAndHashOK, error)
GetAccountByPubkeyAndHash Get an account by public key after the block indicated by hash
func (*Client) GetAccountByPubkeyAndHeight ¶
func (a *Client) GetAccountByPubkeyAndHeight(params *GetAccountByPubkeyAndHeightParams, opts ...ClientOption) (*GetAccountByPubkeyAndHeightOK, error)
GetAccountByPubkeyAndHeight Get an account by public key after the opening key block of the generation at height
func (*Client) GetChainEnds ¶
func (a *Client) GetChainEnds(params *GetChainEndsParams, opts ...ClientOption) (*GetChainEndsOK, error)
GetChainEnds Get oldest keyblock hashes counting from genesis including orphans
func (*Client) GetChannelByPubkey ¶
func (a *Client) GetChannelByPubkey(params *GetChannelByPubkeyParams, opts ...ClientOption) (*GetChannelByPubkeyOK, error)
GetChannelByPubkey Get channel by public key
func (*Client) GetContract ¶
func (a *Client) GetContract(params *GetContractParams, opts ...ClientOption) (*GetContractOK, error)
GetContract Get a contract by pubkey
func (*Client) GetContractCode ¶
func (a *Client) GetContractCode(params *GetContractCodeParams, opts ...ClientOption) (*GetContractCodeOK, error)
GetContractCode Get contract code by pubkey
func (*Client) GetContractPoI ¶
func (a *Client) GetContractPoI(params *GetContractPoIParams, opts ...ClientOption) (*GetContractPoIOK, error)
GetContractPoI Get a proof of inclusion for a contract
func (*Client) GetCurrentGeneration ¶
func (a *Client) GetCurrentGeneration(params *GetCurrentGenerationParams, opts ...ClientOption) (*GetCurrentGenerationOK, error)
GetCurrentGeneration Get the current generation
func (*Client) GetCurrentKeyBlock ¶
func (a *Client) GetCurrentKeyBlock(params *GetCurrentKeyBlockParams, opts ...ClientOption) (*GetCurrentKeyBlockOK, error)
GetCurrentKeyBlock Get the current key block
func (*Client) GetCurrentKeyBlockHash ¶
func (a *Client) GetCurrentKeyBlockHash(params *GetCurrentKeyBlockHashParams, opts ...ClientOption) (*GetCurrentKeyBlockHashOK, error)
GetCurrentKeyBlockHash Get the hash of the current key block
func (*Client) GetCurrentKeyBlockHeight ¶
func (a *Client) GetCurrentKeyBlockHeight(params *GetCurrentKeyBlockHeightParams, opts ...ClientOption) (*GetCurrentKeyBlockHeightOK, error)
GetCurrentKeyBlockHeight Get the height of the current key block
func (*Client) GetGenerationByHash ¶
func (a *Client) GetGenerationByHash(params *GetGenerationByHashParams, opts ...ClientOption) (*GetGenerationByHashOK, error)
GetGenerationByHash Get a generation by hash
func (*Client) GetGenerationByHeight ¶
func (a *Client) GetGenerationByHeight(params *GetGenerationByHeightParams, opts ...ClientOption) (*GetGenerationByHeightOK, error)
GetGenerationByHeight Get a generation by height
func (*Client) GetKeyBlockByHash ¶
func (a *Client) GetKeyBlockByHash(params *GetKeyBlockByHashParams, opts ...ClientOption) (*GetKeyBlockByHashOK, error)
GetKeyBlockByHash Get a key block by hash
func (*Client) GetKeyBlockByHeight ¶
func (a *Client) GetKeyBlockByHeight(params *GetKeyBlockByHeightParams, opts ...ClientOption) (*GetKeyBlockByHeightOK, error)
GetKeyBlockByHeight Get a key block by height
func (*Client) GetMicroBlockHeaderByHash ¶
func (a *Client) GetMicroBlockHeaderByHash(params *GetMicroBlockHeaderByHashParams, opts ...ClientOption) (*GetMicroBlockHeaderByHashOK, error)
GetMicroBlockHeaderByHash Get a micro block header by hash
func (*Client) GetMicroBlockTransactionByHashAndIndex ¶
func (a *Client) GetMicroBlockTransactionByHashAndIndex(params *GetMicroBlockTransactionByHashAndIndexParams, opts ...ClientOption) (*GetMicroBlockTransactionByHashAndIndexOK, error)
GetMicroBlockTransactionByHashAndIndex Get a micro block transaction by hash and index
func (*Client) GetMicroBlockTransactionsByHash ¶
func (a *Client) GetMicroBlockTransactionsByHash(params *GetMicroBlockTransactionsByHashParams, opts ...ClientOption) (*GetMicroBlockTransactionsByHashOK, error)
GetMicroBlockTransactionsByHash Get micro block transactions by hash
func (*Client) GetMicroBlockTransactionsCountByHash ¶
func (a *Client) GetMicroBlockTransactionsCountByHash(params *GetMicroBlockTransactionsCountByHashParams, opts ...ClientOption) (*GetMicroBlockTransactionsCountByHashOK, error)
GetMicroBlockTransactionsCountByHash Get micro block transaction count by hash
func (*Client) GetNameEntryByName ¶
func (a *Client) GetNameEntryByName(params *GetNameEntryByNameParams, opts ...ClientOption) (*GetNameEntryByNameOK, error)
GetNameEntryByName Get name entry from naming system
func (*Client) GetOracleByPubkey ¶
func (a *Client) GetOracleByPubkey(params *GetOracleByPubkeyParams, opts ...ClientOption) (*GetOracleByPubkeyOK, error)
GetOracleByPubkey Get an oracle by public key
func (*Client) GetOracleQueriesByPubkey ¶
func (a *Client) GetOracleQueriesByPubkey(params *GetOracleQueriesByPubkeyParams, opts ...ClientOption) (*GetOracleQueriesByPubkeyOK, error)
GetOracleQueriesByPubkey Get oracle queries by public key
func (*Client) GetOracleQueryByPubkeyAndQueryID ¶
func (a *Client) GetOracleQueryByPubkeyAndQueryID(params *GetOracleQueryByPubkeyAndQueryIDParams, opts ...ClientOption) (*GetOracleQueryByPubkeyAndQueryIDOK, error)
GetOracleQueryByPubkeyAndQueryID Get an oracle query by public key and query ID
func (*Client) GetPeerPubkey ¶
func (a *Client) GetPeerPubkey(params *GetPeerPubkeyParams, opts ...ClientOption) (*GetPeerPubkeyOK, error)
GetPeerPubkey Get peer public key
func (*Client) GetPendingAccountTransactionsByPubkey ¶
func (a *Client) GetPendingAccountTransactionsByPubkey(params *GetPendingAccountTransactionsByPubkeyParams, opts ...ClientOption) (*GetPendingAccountTransactionsByPubkeyOK, error)
GetPendingAccountTransactionsByPubkey Get pending account transactions by public key
func (*Client) GetPendingKeyBlock ¶
func (a *Client) GetPendingKeyBlock(params *GetPendingKeyBlockParams, opts ...ClientOption) (*GetPendingKeyBlockOK, error)
GetPendingKeyBlock Get the pending key block
func (*Client) GetStatus ¶
func (a *Client) GetStatus(params *GetStatusParams, opts ...ClientOption) (*GetStatusOK, error)
GetStatus Get the status of a node
func (*Client) GetTopBlock ¶
func (a *Client) GetTopBlock(params *GetTopBlockParams, opts ...ClientOption) (*GetTopBlockOK, error)
GetTopBlock Get the top block (either key or micro block)
func (*Client) GetTransactionByHash ¶
func (a *Client) GetTransactionByHash(params *GetTransactionByHashParams, opts ...ClientOption) (*GetTransactionByHashOK, error)
GetTransactionByHash Get a transaction by hash
func (*Client) GetTransactionInfoByHash ¶
func (a *Client) GetTransactionInfoByHash(params *GetTransactionInfoByHashParams, opts ...ClientOption) (*GetTransactionInfoByHashOK, error)
GetTransactionInfoByHash get transaction info by hash API
func (*Client) PostTransaction ¶
func (a *Client) PostTransaction(params *PostTransactionParams, opts ...ClientOption) (*PostTransactionOK, error)
PostTransaction Post a new transaction
func (*Client) ProtectedDryRunTxs ¶
func (a *Client) ProtectedDryRunTxs(params *ProtectedDryRunTxsParams, opts ...ClientOption) (*ProtectedDryRunTxsOK, error)
ProtectedDryRunTxs Dry-run transactions on top of a given block. Supports all TXs except GAMetaTx, PayingForTx and OffchainTx. The maximum gas limit of all calls is capped. The maximum gas limit per request is a global node setting. Since DryRunCallReq object do not have a mandatory gas field, if not set a default value of 1000000 is being used instead.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetAccountByPubkey(params *GetAccountByPubkeyParams, opts ...ClientOption) (*GetAccountByPubkeyOK, error) GetAccountByPubkeyAndHash(params *GetAccountByPubkeyAndHashParams, opts ...ClientOption) (*GetAccountByPubkeyAndHashOK, error) GetAccountByPubkeyAndHeight(params *GetAccountByPubkeyAndHeightParams, opts ...ClientOption) (*GetAccountByPubkeyAndHeightOK, error) GetChainEnds(params *GetChainEndsParams, opts ...ClientOption) (*GetChainEndsOK, error) GetChannelByPubkey(params *GetChannelByPubkeyParams, opts ...ClientOption) (*GetChannelByPubkeyOK, error) GetContract(params *GetContractParams, opts ...ClientOption) (*GetContractOK, error) GetContractCode(params *GetContractCodeParams, opts ...ClientOption) (*GetContractCodeOK, error) GetContractPoI(params *GetContractPoIParams, opts ...ClientOption) (*GetContractPoIOK, error) GetCurrentGeneration(params *GetCurrentGenerationParams, opts ...ClientOption) (*GetCurrentGenerationOK, error) GetCurrentKeyBlock(params *GetCurrentKeyBlockParams, opts ...ClientOption) (*GetCurrentKeyBlockOK, error) GetCurrentKeyBlockHash(params *GetCurrentKeyBlockHashParams, opts ...ClientOption) (*GetCurrentKeyBlockHashOK, error) GetCurrentKeyBlockHeight(params *GetCurrentKeyBlockHeightParams, opts ...ClientOption) (*GetCurrentKeyBlockHeightOK, error) GetGenerationByHash(params *GetGenerationByHashParams, opts ...ClientOption) (*GetGenerationByHashOK, error) GetGenerationByHeight(params *GetGenerationByHeightParams, opts ...ClientOption) (*GetGenerationByHeightOK, error) GetKeyBlockByHash(params *GetKeyBlockByHashParams, opts ...ClientOption) (*GetKeyBlockByHashOK, error) GetKeyBlockByHeight(params *GetKeyBlockByHeightParams, opts ...ClientOption) (*GetKeyBlockByHeightOK, error) GetMicroBlockHeaderByHash(params *GetMicroBlockHeaderByHashParams, opts ...ClientOption) (*GetMicroBlockHeaderByHashOK, error) GetMicroBlockTransactionByHashAndIndex(params *GetMicroBlockTransactionByHashAndIndexParams, opts ...ClientOption) (*GetMicroBlockTransactionByHashAndIndexOK, error) GetMicroBlockTransactionsByHash(params *GetMicroBlockTransactionsByHashParams, opts ...ClientOption) (*GetMicroBlockTransactionsByHashOK, error) GetMicroBlockTransactionsCountByHash(params *GetMicroBlockTransactionsCountByHashParams, opts ...ClientOption) (*GetMicroBlockTransactionsCountByHashOK, error) GetNameEntryByName(params *GetNameEntryByNameParams, opts ...ClientOption) (*GetNameEntryByNameOK, error) GetOracleByPubkey(params *GetOracleByPubkeyParams, opts ...ClientOption) (*GetOracleByPubkeyOK, error) GetOracleQueriesByPubkey(params *GetOracleQueriesByPubkeyParams, opts ...ClientOption) (*GetOracleQueriesByPubkeyOK, error) GetOracleQueryByPubkeyAndQueryID(params *GetOracleQueryByPubkeyAndQueryIDParams, opts ...ClientOption) (*GetOracleQueryByPubkeyAndQueryIDOK, error) GetPeerPubkey(params *GetPeerPubkeyParams, opts ...ClientOption) (*GetPeerPubkeyOK, error) GetPendingAccountTransactionsByPubkey(params *GetPendingAccountTransactionsByPubkeyParams, opts ...ClientOption) (*GetPendingAccountTransactionsByPubkeyOK, error) GetPendingKeyBlock(params *GetPendingKeyBlockParams, opts ...ClientOption) (*GetPendingKeyBlockOK, error) GetStatus(params *GetStatusParams, opts ...ClientOption) (*GetStatusOK, error) GetTopBlock(params *GetTopBlockParams, opts ...ClientOption) (*GetTopBlockOK, error) GetTransactionByHash(params *GetTransactionByHashParams, opts ...ClientOption) (*GetTransactionByHashOK, error) GetTransactionInfoByHash(params *GetTransactionInfoByHashParams, opts ...ClientOption) (*GetTransactionInfoByHashOK, error) PostTransaction(params *PostTransactionParams, opts ...ClientOption) (*PostTransactionOK, error) ProtectedDryRunTxs(params *ProtectedDryRunTxsParams, opts ...ClientOption) (*ProtectedDryRunTxsOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new external API client.
type GetAccountByPubkeyAndHashBadRequest ¶
GetAccountByPubkeyAndHashBadRequest describes a response with status code 400, 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
func (*GetAccountByPubkeyAndHashBadRequest) GetPayload ¶
func (o *GetAccountByPubkeyAndHashBadRequest) GetPayload() *models.Error
type GetAccountByPubkeyAndHashNotFound ¶
GetAccountByPubkeyAndHashNotFound describes a response with status code 404, 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
func (*GetAccountByPubkeyAndHashNotFound) GetPayload ¶
func (o *GetAccountByPubkeyAndHashNotFound) GetPayload() *models.Error
type GetAccountByPubkeyAndHashOK ¶
GetAccountByPubkeyAndHashOK describes a response with status code 200, 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
func (*GetAccountByPubkeyAndHashOK) GetPayload ¶
func (o *GetAccountByPubkeyAndHashOK) GetPayload() *models.Account
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAccountByPubkeyAndHashParamsWithContext ¶
func NewGetAccountByPubkeyAndHashParamsWithContext(ctx context.Context) *GetAccountByPubkeyAndHashParams
NewGetAccountByPubkeyAndHashParamsWithContext creates a new GetAccountByPubkeyAndHashParams object with 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 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 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) SetDefaults ¶
func (o *GetAccountByPubkeyAndHashParams) SetDefaults()
SetDefaults hydrates default values in the get account by pubkey and hash params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetAccountByPubkeyAndHashParams) WithDefaults() *GetAccountByPubkeyAndHashParams
WithDefaults hydrates default values in the get account by pubkey and hash params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetAccountByPubkeyAndHeightBadRequest) GetPayload ¶
func (o *GetAccountByPubkeyAndHeightBadRequest) GetPayload() *models.Error
type GetAccountByPubkeyAndHeightNotFound ¶
GetAccountByPubkeyAndHeightNotFound describes a response with status code 404, 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
func (*GetAccountByPubkeyAndHeightNotFound) GetPayload ¶
func (o *GetAccountByPubkeyAndHeightNotFound) GetPayload() *models.Error
type GetAccountByPubkeyAndHeightOK ¶
GetAccountByPubkeyAndHeightOK describes a response with status code 200, 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
func (*GetAccountByPubkeyAndHeightOK) GetPayload ¶
func (o *GetAccountByPubkeyAndHeightOK) GetPayload() *models.Account
type GetAccountByPubkeyAndHeightParams ¶
type GetAccountByPubkeyAndHeightParams struct { /* Height. The height Format: uint64 */ Height uint64 /* 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAccountByPubkeyAndHeightParamsWithContext ¶
func NewGetAccountByPubkeyAndHeightParamsWithContext(ctx context.Context) *GetAccountByPubkeyAndHeightParams
NewGetAccountByPubkeyAndHeightParamsWithContext creates a new GetAccountByPubkeyAndHeightParams object with 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 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 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) SetDefaults ¶
func (o *GetAccountByPubkeyAndHeightParams) SetDefaults()
SetDefaults hydrates default values in the get account by pubkey and height params (not the query body).
All values with no default are reset to their zero value.
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 uint64)
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) WithDefaults ¶
func (o *GetAccountByPubkeyAndHeightParams) WithDefaults() *GetAccountByPubkeyAndHeightParams
WithDefaults hydrates default values in the get account by pubkey and height params (not the query body).
All values with no default are reset to their zero value.
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 uint64) *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 describes a response with status code 400, 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
func (*GetAccountByPubkeyBadRequest) GetPayload ¶
func (o *GetAccountByPubkeyBadRequest) GetPayload() *models.Error
type GetAccountByPubkeyNotFound ¶
GetAccountByPubkeyNotFound describes a response with status code 404, 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
func (*GetAccountByPubkeyNotFound) GetPayload ¶
func (o *GetAccountByPubkeyNotFound) GetPayload() *models.Error
type GetAccountByPubkeyOK ¶
GetAccountByPubkeyOK describes a response with status code 200, 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
func (*GetAccountByPubkeyOK) GetPayload ¶
func (o *GetAccountByPubkeyOK) GetPayload() *models.Account
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAccountByPubkeyParamsWithContext ¶
func NewGetAccountByPubkeyParamsWithContext(ctx context.Context) *GetAccountByPubkeyParams
NewGetAccountByPubkeyParamsWithContext creates a new GetAccountByPubkeyParams object with 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 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 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) SetDefaults ¶
func (o *GetAccountByPubkeyParams) SetDefaults()
SetDefaults hydrates default values in the get account by pubkey params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetAccountByPubkeyParams) WithDefaults() *GetAccountByPubkeyParams
WithDefaults hydrates default values in the get account by pubkey params (not the query body).
All values with no default are reset to their zero value.
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 GetChainEndsOK ¶
type GetChainEndsOK struct {
Payload []string
}
GetChainEndsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetChainEndsOK ¶
func NewGetChainEndsOK() *GetChainEndsOK
NewGetChainEndsOK creates a GetChainEndsOK with default headers values
func (*GetChainEndsOK) Error ¶
func (o *GetChainEndsOK) Error() string
func (*GetChainEndsOK) GetPayload ¶
func (o *GetChainEndsOK) GetPayload() []string
type GetChainEndsParams ¶
type GetChainEndsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetChainEndsParams contains all the parameters to send to the API endpoint
for the get chain ends operation. Typically these are written to a http.Request.
func NewGetChainEndsParams ¶
func NewGetChainEndsParams() *GetChainEndsParams
NewGetChainEndsParams creates a new GetChainEndsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetChainEndsParamsWithContext ¶
func NewGetChainEndsParamsWithContext(ctx context.Context) *GetChainEndsParams
NewGetChainEndsParamsWithContext creates a new GetChainEndsParams object with the ability to set a context for a request.
func NewGetChainEndsParamsWithHTTPClient ¶
func NewGetChainEndsParamsWithHTTPClient(client *http.Client) *GetChainEndsParams
NewGetChainEndsParamsWithHTTPClient creates a new GetChainEndsParams object with the ability to set a custom HTTPClient for a request.
func NewGetChainEndsParamsWithTimeout ¶
func NewGetChainEndsParamsWithTimeout(timeout time.Duration) *GetChainEndsParams
NewGetChainEndsParamsWithTimeout creates a new GetChainEndsParams object with the ability to set a timeout on a request.
func (*GetChainEndsParams) SetContext ¶
func (o *GetChainEndsParams) SetContext(ctx context.Context)
SetContext adds the context to the get chain ends params
func (*GetChainEndsParams) SetDefaults ¶
func (o *GetChainEndsParams) SetDefaults()
SetDefaults hydrates default values in the get chain ends params (not the query body).
All values with no default are reset to their zero value.
func (*GetChainEndsParams) SetHTTPClient ¶
func (o *GetChainEndsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get chain ends params
func (*GetChainEndsParams) SetTimeout ¶
func (o *GetChainEndsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get chain ends params
func (*GetChainEndsParams) WithContext ¶
func (o *GetChainEndsParams) WithContext(ctx context.Context) *GetChainEndsParams
WithContext adds the context to the get chain ends params
func (*GetChainEndsParams) WithDefaults ¶
func (o *GetChainEndsParams) WithDefaults() *GetChainEndsParams
WithDefaults hydrates default values in the get chain ends params (not the query body).
All values with no default are reset to their zero value.
func (*GetChainEndsParams) WithHTTPClient ¶
func (o *GetChainEndsParams) WithHTTPClient(client *http.Client) *GetChainEndsParams
WithHTTPClient adds the HTTPClient to the get chain ends params
func (*GetChainEndsParams) WithTimeout ¶
func (o *GetChainEndsParams) WithTimeout(timeout time.Duration) *GetChainEndsParams
WithTimeout adds the timeout to the get chain ends params
func (*GetChainEndsParams) WriteToRequest ¶
func (o *GetChainEndsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetChainEndsReader ¶
type GetChainEndsReader struct {
// contains filtered or unexported fields
}
GetChainEndsReader is a Reader for the GetChainEnds structure.
func (*GetChainEndsReader) ReadResponse ¶
func (o *GetChainEndsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetChannelByPubkeyBadRequest ¶
GetChannelByPubkeyBadRequest describes a response with status code 400, 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
func (*GetChannelByPubkeyBadRequest) GetPayload ¶
func (o *GetChannelByPubkeyBadRequest) GetPayload() *models.Error
type GetChannelByPubkeyNotFound ¶
GetChannelByPubkeyNotFound describes a response with status code 404, 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
func (*GetChannelByPubkeyNotFound) GetPayload ¶
func (o *GetChannelByPubkeyNotFound) GetPayload() *models.Error
type GetChannelByPubkeyOK ¶
GetChannelByPubkeyOK describes a response with status code 200, 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
func (*GetChannelByPubkeyOK) GetPayload ¶
func (o *GetChannelByPubkeyOK) GetPayload() *models.Channel
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetChannelByPubkeyParamsWithContext ¶
func NewGetChannelByPubkeyParamsWithContext(ctx context.Context) *GetChannelByPubkeyParams
NewGetChannelByPubkeyParamsWithContext creates a new GetChannelByPubkeyParams object with 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 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 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) SetDefaults ¶
func (o *GetChannelByPubkeyParams) SetDefaults()
SetDefaults hydrates default values in the get channel by pubkey params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetChannelByPubkeyParams) WithDefaults() *GetChannelByPubkeyParams
WithDefaults hydrates default values in the get channel by pubkey params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetContractBadRequest) GetPayload ¶
func (o *GetContractBadRequest) GetPayload() *models.Error
type GetContractCodeBadRequest ¶
GetContractCodeBadRequest describes a response with status code 400, 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
func (*GetContractCodeBadRequest) GetPayload ¶
func (o *GetContractCodeBadRequest) GetPayload() *models.Error
type GetContractCodeNotFound ¶
GetContractCodeNotFound describes a response with status code 404, 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
func (*GetContractCodeNotFound) GetPayload ¶
func (o *GetContractCodeNotFound) GetPayload() *models.Error
type GetContractCodeOK ¶
GetContractCodeOK describes a response with status code 200, 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
func (*GetContractCodeOK) GetPayload ¶
func (o *GetContractCodeOK) GetPayload() *models.ByteCode
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetContractCodeParamsWithContext ¶
func NewGetContractCodeParamsWithContext(ctx context.Context) *GetContractCodeParams
NewGetContractCodeParamsWithContext creates a new GetContractCodeParams object with 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 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 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) SetDefaults ¶
func (o *GetContractCodeParams) SetDefaults()
SetDefaults hydrates default values in the get contract code params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetContractCodeParams) WithDefaults() *GetContractCodeParams
WithDefaults hydrates default values in the get contract code params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 404, 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 describes a response with status code 200, 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
func (*GetContractOK) GetPayload ¶
func (o *GetContractOK) GetPayload() *models.ContractObject
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetContractParamsWithContext ¶
func NewGetContractParamsWithContext(ctx context.Context) *GetContractParams
NewGetContractParamsWithContext creates a new GetContractParams object with 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 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 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) SetDefaults ¶
func (o *GetContractParams) SetDefaults()
SetDefaults hydrates default values in the get contract params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetContractParams) WithDefaults() *GetContractParams
WithDefaults hydrates default values in the get contract params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetContractPoIBadRequest) GetPayload ¶
func (o *GetContractPoIBadRequest) GetPayload() *models.Error
type GetContractPoINotFound ¶
GetContractPoINotFound describes a response with status code 404, 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
func (*GetContractPoINotFound) GetPayload ¶
func (o *GetContractPoINotFound) GetPayload() *models.Error
type GetContractPoIOK ¶
GetContractPoIOK describes a response with status code 200, 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
func (*GetContractPoIOK) GetPayload ¶
func (o *GetContractPoIOK) GetPayload() *models.PoI
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetContractPoIParamsWithContext ¶
func NewGetContractPoIParamsWithContext(ctx context.Context) *GetContractPoIParams
NewGetContractPoIParamsWithContext creates a new GetContractPoIParams object with 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 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 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) SetDefaults ¶
func (o *GetContractPoIParams) SetDefaults()
SetDefaults hydrates default values in the get contract po i params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetContractPoIParams) WithDefaults() *GetContractPoIParams
WithDefaults hydrates default values in the get contract po i params (not the query body).
All values with no default are reset to their zero value.
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 GetCurrentGenerationNotFound ¶
GetCurrentGenerationNotFound describes a response with status code 404, 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
func (*GetCurrentGenerationNotFound) GetPayload ¶
func (o *GetCurrentGenerationNotFound) GetPayload() *models.Error
type GetCurrentGenerationOK ¶
type GetCurrentGenerationOK struct {
Payload *models.Generation
}
GetCurrentGenerationOK describes a response with status code 200, 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
func (*GetCurrentGenerationOK) GetPayload ¶
func (o *GetCurrentGenerationOK) GetPayload() *models.Generation
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCurrentGenerationParamsWithContext ¶
func NewGetCurrentGenerationParamsWithContext(ctx context.Context) *GetCurrentGenerationParams
NewGetCurrentGenerationParamsWithContext creates a new GetCurrentGenerationParams object with 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 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 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) SetDefaults ¶
func (o *GetCurrentGenerationParams) SetDefaults()
SetDefaults hydrates default values in the get current generation params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetCurrentGenerationParams) WithDefaults() *GetCurrentGenerationParams
WithDefaults hydrates default values in the get current generation params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 404, 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
func (*GetCurrentKeyBlockHashNotFound) GetPayload ¶
func (o *GetCurrentKeyBlockHashNotFound) GetPayload() *models.Error
type GetCurrentKeyBlockHashOK ¶
type GetCurrentKeyBlockHashOK struct {
Payload *GetCurrentKeyBlockHashOKBody
}
GetCurrentKeyBlockHashOK describes a response with status code 200, 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
func (*GetCurrentKeyBlockHashOK) GetPayload ¶
func (o *GetCurrentKeyBlockHashOK) GetPayload() *GetCurrentKeyBlockHashOKBody
type GetCurrentKeyBlockHashOKBody ¶
type GetCurrentKeyBlockHashOKBody struct { // hash Hash string `json:"hash,omitempty"` }
GetCurrentKeyBlockHashOKBody get current key block hash o k body swagger:model GetCurrentKeyBlockHashOKBody
func (*GetCurrentKeyBlockHashOKBody) ContextValidate ¶
func (o *GetCurrentKeyBlockHashOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get current key block hash o k body based on context it is used
func (*GetCurrentKeyBlockHashOKBody) MarshalBinary ¶
func (o *GetCurrentKeyBlockHashOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCurrentKeyBlockHashOKBody) UnmarshalBinary ¶
func (o *GetCurrentKeyBlockHashOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCurrentKeyBlockHashParamsWithContext ¶
func NewGetCurrentKeyBlockHashParamsWithContext(ctx context.Context) *GetCurrentKeyBlockHashParams
NewGetCurrentKeyBlockHashParamsWithContext creates a new GetCurrentKeyBlockHashParams object with 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 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 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) SetDefaults ¶
func (o *GetCurrentKeyBlockHashParams) SetDefaults()
SetDefaults hydrates default values in the get current key block hash params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetCurrentKeyBlockHashParams) WithDefaults() *GetCurrentKeyBlockHashParams
WithDefaults hydrates default values in the get current key block hash params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 404, 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
func (*GetCurrentKeyBlockHeightNotFound) GetPayload ¶
func (o *GetCurrentKeyBlockHeightNotFound) GetPayload() *models.Error
type GetCurrentKeyBlockHeightOK ¶
type GetCurrentKeyBlockHeightOK struct {
Payload *GetCurrentKeyBlockHeightOKBody
}
GetCurrentKeyBlockHeightOK describes a response with status code 200, 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
func (*GetCurrentKeyBlockHeightOK) GetPayload ¶
func (o *GetCurrentKeyBlockHeightOK) GetPayload() *GetCurrentKeyBlockHeightOKBody
type GetCurrentKeyBlockHeightOKBody ¶
type GetCurrentKeyBlockHeightOKBody struct { // height Height uint64 `json:"height,omitempty"` }
GetCurrentKeyBlockHeightOKBody get current key block height o k body swagger:model GetCurrentKeyBlockHeightOKBody
func (*GetCurrentKeyBlockHeightOKBody) ContextValidate ¶
func (o *GetCurrentKeyBlockHeightOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get current key block height o k body based on context it is used
func (*GetCurrentKeyBlockHeightOKBody) MarshalBinary ¶
func (o *GetCurrentKeyBlockHeightOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCurrentKeyBlockHeightOKBody) UnmarshalBinary ¶
func (o *GetCurrentKeyBlockHeightOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCurrentKeyBlockHeightParamsWithContext ¶
func NewGetCurrentKeyBlockHeightParamsWithContext(ctx context.Context) *GetCurrentKeyBlockHeightParams
NewGetCurrentKeyBlockHeightParamsWithContext creates a new GetCurrentKeyBlockHeightParams object with 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 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 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) SetDefaults ¶
func (o *GetCurrentKeyBlockHeightParams) SetDefaults()
SetDefaults hydrates default values in the get current key block height params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetCurrentKeyBlockHeightParams) WithDefaults() *GetCurrentKeyBlockHeightParams
WithDefaults hydrates default values in the get current key block height params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 404, 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
func (*GetCurrentKeyBlockNotFound) GetPayload ¶
func (o *GetCurrentKeyBlockNotFound) GetPayload() *models.Error
type GetCurrentKeyBlockOK ¶
GetCurrentKeyBlockOK describes a response with status code 200, 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
func (*GetCurrentKeyBlockOK) GetPayload ¶
func (o *GetCurrentKeyBlockOK) GetPayload() *models.KeyBlock
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCurrentKeyBlockParamsWithContext ¶
func NewGetCurrentKeyBlockParamsWithContext(ctx context.Context) *GetCurrentKeyBlockParams
NewGetCurrentKeyBlockParamsWithContext creates a new GetCurrentKeyBlockParams object with 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 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 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) SetDefaults ¶
func (o *GetCurrentKeyBlockParams) SetDefaults()
SetDefaults hydrates default values in the get current key block params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetCurrentKeyBlockParams) WithDefaults() *GetCurrentKeyBlockParams
WithDefaults hydrates default values in the get current key block params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetGenerationByHashBadRequest) GetPayload ¶
func (o *GetGenerationByHashBadRequest) GetPayload() *models.Error
type GetGenerationByHashNotFound ¶
GetGenerationByHashNotFound describes a response with status code 404, 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
func (*GetGenerationByHashNotFound) GetPayload ¶
func (o *GetGenerationByHashNotFound) GetPayload() *models.Error
type GetGenerationByHashOK ¶
type GetGenerationByHashOK struct {
Payload *models.Generation
}
GetGenerationByHashOK describes a response with status code 200, 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
func (*GetGenerationByHashOK) GetPayload ¶
func (o *GetGenerationByHashOK) GetPayload() *models.Generation
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGenerationByHashParamsWithContext ¶
func NewGetGenerationByHashParamsWithContext(ctx context.Context) *GetGenerationByHashParams
NewGetGenerationByHashParamsWithContext creates a new GetGenerationByHashParams object with 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 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 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) SetDefaults ¶
func (o *GetGenerationByHashParams) SetDefaults()
SetDefaults hydrates default values in the get generation by hash params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetGenerationByHashParams) WithDefaults() *GetGenerationByHashParams
WithDefaults hydrates default values in the get generation by hash params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 404, 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
func (*GetGenerationByHeightNotFound) GetPayload ¶
func (o *GetGenerationByHeightNotFound) GetPayload() *models.Error
type GetGenerationByHeightOK ¶
type GetGenerationByHeightOK struct {
Payload *models.Generation
}
GetGenerationByHeightOK describes a response with status code 200, 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
func (*GetGenerationByHeightOK) GetPayload ¶
func (o *GetGenerationByHeightOK) GetPayload() *models.Generation
type GetGenerationByHeightParams ¶
type GetGenerationByHeightParams struct { /* Height. The height Format: uint64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGenerationByHeightParamsWithContext ¶
func NewGetGenerationByHeightParamsWithContext(ctx context.Context) *GetGenerationByHeightParams
NewGetGenerationByHeightParamsWithContext creates a new GetGenerationByHeightParams object with 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 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 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) SetDefaults ¶
func (o *GetGenerationByHeightParams) SetDefaults()
SetDefaults hydrates default values in the get generation by height params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetGenerationByHeightParams) WithDefaults() *GetGenerationByHeightParams
WithDefaults hydrates default values in the get generation by height params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetKeyBlockByHashBadRequest) GetPayload ¶
func (o *GetKeyBlockByHashBadRequest) GetPayload() *models.Error
type GetKeyBlockByHashNotFound ¶
GetKeyBlockByHashNotFound describes a response with status code 404, 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
func (*GetKeyBlockByHashNotFound) GetPayload ¶
func (o *GetKeyBlockByHashNotFound) GetPayload() *models.Error
type GetKeyBlockByHashOK ¶
GetKeyBlockByHashOK describes a response with status code 200, 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
func (*GetKeyBlockByHashOK) GetPayload ¶
func (o *GetKeyBlockByHashOK) GetPayload() *models.KeyBlock
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetKeyBlockByHashParamsWithContext ¶
func NewGetKeyBlockByHashParamsWithContext(ctx context.Context) *GetKeyBlockByHashParams
NewGetKeyBlockByHashParamsWithContext creates a new GetKeyBlockByHashParams object with 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 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 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) SetDefaults ¶
func (o *GetKeyBlockByHashParams) SetDefaults()
SetDefaults hydrates default values in the get key block by hash params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetKeyBlockByHashParams) WithDefaults() *GetKeyBlockByHashParams
WithDefaults hydrates default values in the get key block by hash params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 404, 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
func (*GetKeyBlockByHeightNotFound) GetPayload ¶
func (o *GetKeyBlockByHeightNotFound) GetPayload() *models.Error
type GetKeyBlockByHeightOK ¶
GetKeyBlockByHeightOK describes a response with status code 200, 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
func (*GetKeyBlockByHeightOK) GetPayload ¶
func (o *GetKeyBlockByHeightOK) GetPayload() *models.KeyBlock
type GetKeyBlockByHeightParams ¶
type GetKeyBlockByHeightParams struct { /* Height. The height Format: uint64 */ Height uint64 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetKeyBlockByHeightParamsWithContext ¶
func NewGetKeyBlockByHeightParamsWithContext(ctx context.Context) *GetKeyBlockByHeightParams
NewGetKeyBlockByHeightParamsWithContext creates a new GetKeyBlockByHeightParams object with 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 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 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) SetDefaults ¶
func (o *GetKeyBlockByHeightParams) SetDefaults()
SetDefaults hydrates default values in the get key block by height params (not the query body).
All values with no default are reset to their zero value.
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 uint64)
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) WithDefaults ¶
func (o *GetKeyBlockByHeightParams) WithDefaults() *GetKeyBlockByHeightParams
WithDefaults hydrates default values in the get key block by height params (not the query body).
All values with no default are reset to their zero value.
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 uint64) *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 describes a response with status code 400, 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
func (*GetMicroBlockHeaderByHashBadRequest) GetPayload ¶
func (o *GetMicroBlockHeaderByHashBadRequest) GetPayload() *models.Error
type GetMicroBlockHeaderByHashNotFound ¶
GetMicroBlockHeaderByHashNotFound describes a response with status code 404, 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
func (*GetMicroBlockHeaderByHashNotFound) GetPayload ¶
func (o *GetMicroBlockHeaderByHashNotFound) GetPayload() *models.Error
type GetMicroBlockHeaderByHashOK ¶
type GetMicroBlockHeaderByHashOK struct {
Payload *models.MicroBlockHeader
}
GetMicroBlockHeaderByHashOK describes a response with status code 200, 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
func (*GetMicroBlockHeaderByHashOK) GetPayload ¶
func (o *GetMicroBlockHeaderByHashOK) GetPayload() *models.MicroBlockHeader
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMicroBlockHeaderByHashParamsWithContext ¶
func NewGetMicroBlockHeaderByHashParamsWithContext(ctx context.Context) *GetMicroBlockHeaderByHashParams
NewGetMicroBlockHeaderByHashParamsWithContext creates a new GetMicroBlockHeaderByHashParams object with 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 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 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) SetDefaults ¶
func (o *GetMicroBlockHeaderByHashParams) SetDefaults()
SetDefaults hydrates default values in the get micro block header by hash params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetMicroBlockHeaderByHashParams) WithDefaults() *GetMicroBlockHeaderByHashParams
WithDefaults hydrates default values in the get micro block header by hash params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetMicroBlockTransactionByHashAndIndexBadRequest) GetPayload ¶
func (o *GetMicroBlockTransactionByHashAndIndexBadRequest) GetPayload() *models.Error
type GetMicroBlockTransactionByHashAndIndexNotFound ¶
GetMicroBlockTransactionByHashAndIndexNotFound describes a response with status code 404, 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
func (*GetMicroBlockTransactionByHashAndIndexNotFound) GetPayload ¶
func (o *GetMicroBlockTransactionByHashAndIndexNotFound) GetPayload() *models.Error
type GetMicroBlockTransactionByHashAndIndexOK ¶
type GetMicroBlockTransactionByHashAndIndexOK struct {
Payload *models.GenericSignedTx
}
GetMicroBlockTransactionByHashAndIndexOK describes a response with status code 200, 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
func (*GetMicroBlockTransactionByHashAndIndexOK) GetPayload ¶
func (o *GetMicroBlockTransactionByHashAndIndexOK) GetPayload() *models.GenericSignedTx
type GetMicroBlockTransactionByHashAndIndexParams ¶
type GetMicroBlockTransactionByHashAndIndexParams struct { /* Hash. The hash of the block */ Hash string /* Index. The index of the transaction in a block Format: uint64 */ Index uint64 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMicroBlockTransactionByHashAndIndexParamsWithContext ¶
func NewGetMicroBlockTransactionByHashAndIndexParamsWithContext(ctx context.Context) *GetMicroBlockTransactionByHashAndIndexParams
NewGetMicroBlockTransactionByHashAndIndexParamsWithContext creates a new GetMicroBlockTransactionByHashAndIndexParams object with 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 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 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) SetDefaults ¶
func (o *GetMicroBlockTransactionByHashAndIndexParams) SetDefaults()
SetDefaults hydrates default values in the get micro block transaction by hash and index params (not the query body).
All values with no default are reset to their zero value.
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 uint64)
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) WithDefaults ¶
func (o *GetMicroBlockTransactionByHashAndIndexParams) WithDefaults() *GetMicroBlockTransactionByHashAndIndexParams
WithDefaults hydrates default values in the get micro block transaction by hash and index params (not the query body).
All values with no default are reset to their zero value.
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 uint64) *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 describes a response with status code 400, 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
func (*GetMicroBlockTransactionsByHashBadRequest) GetPayload ¶
func (o *GetMicroBlockTransactionsByHashBadRequest) GetPayload() *models.Error
type GetMicroBlockTransactionsByHashNotFound ¶
GetMicroBlockTransactionsByHashNotFound describes a response with status code 404, 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
func (*GetMicroBlockTransactionsByHashNotFound) GetPayload ¶
func (o *GetMicroBlockTransactionsByHashNotFound) GetPayload() *models.Error
type GetMicroBlockTransactionsByHashOK ¶
type GetMicroBlockTransactionsByHashOK struct {
Payload *models.GenericTxs
}
GetMicroBlockTransactionsByHashOK describes a response with status code 200, 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
func (*GetMicroBlockTransactionsByHashOK) GetPayload ¶
func (o *GetMicroBlockTransactionsByHashOK) GetPayload() *models.GenericTxs
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMicroBlockTransactionsByHashParamsWithContext ¶
func NewGetMicroBlockTransactionsByHashParamsWithContext(ctx context.Context) *GetMicroBlockTransactionsByHashParams
NewGetMicroBlockTransactionsByHashParamsWithContext creates a new GetMicroBlockTransactionsByHashParams object with 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 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 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) SetDefaults ¶
func (o *GetMicroBlockTransactionsByHashParams) SetDefaults()
SetDefaults hydrates default values in the get micro block transactions by hash params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetMicroBlockTransactionsByHashParams) WithDefaults() *GetMicroBlockTransactionsByHashParams
WithDefaults hydrates default values in the get micro block transactions by hash params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetMicroBlockTransactionsCountByHashBadRequest) GetPayload ¶
func (o *GetMicroBlockTransactionsCountByHashBadRequest) GetPayload() *models.Error
type GetMicroBlockTransactionsCountByHashNotFound ¶
GetMicroBlockTransactionsCountByHashNotFound describes a response with status code 404, 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
func (*GetMicroBlockTransactionsCountByHashNotFound) GetPayload ¶
func (o *GetMicroBlockTransactionsCountByHashNotFound) GetPayload() *models.Error
type GetMicroBlockTransactionsCountByHashOK ¶
type GetMicroBlockTransactionsCountByHashOK struct {
Payload *GetMicroBlockTransactionsCountByHashOKBody
}
GetMicroBlockTransactionsCountByHashOK describes a response with status code 200, 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
func (*GetMicroBlockTransactionsCountByHashOK) GetPayload ¶
func (o *GetMicroBlockTransactionsCountByHashOK) GetPayload() *GetMicroBlockTransactionsCountByHashOKBody
type GetMicroBlockTransactionsCountByHashOKBody ¶
type GetMicroBlockTransactionsCountByHashOKBody struct { // Count Count uint32 `json:"count,omitempty"` }
GetMicroBlockTransactionsCountByHashOKBody get micro block transactions count by hash o k body swagger:model GetMicroBlockTransactionsCountByHashOKBody
func (*GetMicroBlockTransactionsCountByHashOKBody) ContextValidate ¶
func (o *GetMicroBlockTransactionsCountByHashOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get micro block transactions count by hash o k body based on context it is used
func (*GetMicroBlockTransactionsCountByHashOKBody) MarshalBinary ¶
func (o *GetMicroBlockTransactionsCountByHashOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetMicroBlockTransactionsCountByHashOKBody) UnmarshalBinary ¶
func (o *GetMicroBlockTransactionsCountByHashOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMicroBlockTransactionsCountByHashParamsWithContext ¶
func NewGetMicroBlockTransactionsCountByHashParamsWithContext(ctx context.Context) *GetMicroBlockTransactionsCountByHashParams
NewGetMicroBlockTransactionsCountByHashParamsWithContext creates a new GetMicroBlockTransactionsCountByHashParams object with 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 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 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) SetDefaults ¶
func (o *GetMicroBlockTransactionsCountByHashParams) SetDefaults()
SetDefaults hydrates default values in the get micro block transactions count by hash params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetMicroBlockTransactionsCountByHashParams) WithDefaults() *GetMicroBlockTransactionsCountByHashParams
WithDefaults hydrates default values in the get micro block transactions count by hash params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetNameEntryByNameBadRequest) GetPayload ¶
func (o *GetNameEntryByNameBadRequest) GetPayload() *models.Error
type GetNameEntryByNameNotFound ¶
GetNameEntryByNameNotFound describes a response with status code 404, 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
func (*GetNameEntryByNameNotFound) GetPayload ¶
func (o *GetNameEntryByNameNotFound) GetPayload() *models.Error
type GetNameEntryByNameOK ¶
GetNameEntryByNameOK describes a response with status code 200, 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
func (*GetNameEntryByNameOK) GetPayload ¶
func (o *GetNameEntryByNameOK) GetPayload() *models.NameEntry
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNameEntryByNameParamsWithContext ¶
func NewGetNameEntryByNameParamsWithContext(ctx context.Context) *GetNameEntryByNameParams
NewGetNameEntryByNameParamsWithContext creates a new GetNameEntryByNameParams object with 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 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 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) SetDefaults ¶
func (o *GetNameEntryByNameParams) SetDefaults()
SetDefaults hydrates default values in the get name entry by name params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetNameEntryByNameParams) WithDefaults() *GetNameEntryByNameParams
WithDefaults hydrates default values in the get name entry by name params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetOracleByPubkeyBadRequest) GetPayload ¶
func (o *GetOracleByPubkeyBadRequest) GetPayload() *models.Error
type GetOracleByPubkeyNotFound ¶
GetOracleByPubkeyNotFound describes a response with status code 404, 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
func (*GetOracleByPubkeyNotFound) GetPayload ¶
func (o *GetOracleByPubkeyNotFound) GetPayload() *models.Error
type GetOracleByPubkeyOK ¶
type GetOracleByPubkeyOK struct {
Payload *models.RegisteredOracle
}
GetOracleByPubkeyOK describes a response with status code 200, 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
func (*GetOracleByPubkeyOK) GetPayload ¶
func (o *GetOracleByPubkeyOK) GetPayload() *models.RegisteredOracle
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetOracleByPubkeyParamsWithContext ¶
func NewGetOracleByPubkeyParamsWithContext(ctx context.Context) *GetOracleByPubkeyParams
NewGetOracleByPubkeyParamsWithContext creates a new GetOracleByPubkeyParams object with 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 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 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) SetDefaults ¶
func (o *GetOracleByPubkeyParams) SetDefaults()
SetDefaults hydrates default values in the get oracle by pubkey params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetOracleByPubkeyParams) WithDefaults() *GetOracleByPubkeyParams
WithDefaults hydrates default values in the get oracle by pubkey params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetOracleQueriesByPubkeyBadRequest) GetPayload ¶
func (o *GetOracleQueriesByPubkeyBadRequest) GetPayload() *models.Error
type GetOracleQueriesByPubkeyNotFound ¶
GetOracleQueriesByPubkeyNotFound describes a response with status code 404, 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
func (*GetOracleQueriesByPubkeyNotFound) GetPayload ¶
func (o *GetOracleQueriesByPubkeyNotFound) GetPayload() *models.Error
type GetOracleQueriesByPubkeyOK ¶
type GetOracleQueriesByPubkeyOK struct {
Payload *models.OracleQueries
}
GetOracleQueriesByPubkeyOK describes a response with status code 200, 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
func (*GetOracleQueriesByPubkeyOK) GetPayload ¶
func (o *GetOracleQueriesByPubkeyOK) GetPayload() *models.OracleQueries
type GetOracleQueriesByPubkeyParams ¶
type GetOracleQueriesByPubkeyParams struct { /* From. Last query id in previous page */ From *string /* Limit. Max number of oracle queries Format: uint64 Default: 20 */ Limit *uint64 /* Pubkey. The public key of the oracle */ Pubkey string /* Type. The type of a query: open, closed or all Default: "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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetOracleQueriesByPubkeyParamsWithContext ¶
func NewGetOracleQueriesByPubkeyParamsWithContext(ctx context.Context) *GetOracleQueriesByPubkeyParams
NewGetOracleQueriesByPubkeyParamsWithContext creates a new GetOracleQueriesByPubkeyParams object with 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 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 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) SetDefaults ¶
func (o *GetOracleQueriesByPubkeyParams) SetDefaults()
SetDefaults hydrates default values in the get oracle queries by pubkey params (not the query body).
All values with no default are reset to their zero value.
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 *uint64)
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) WithDefaults ¶
func (o *GetOracleQueriesByPubkeyParams) WithDefaults() *GetOracleQueriesByPubkeyParams
WithDefaults hydrates default values in the get oracle queries by pubkey params (not the query body).
All values with no default are reset to their zero value.
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 *uint64) *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 describes a response with status code 400, 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
func (*GetOracleQueryByPubkeyAndQueryIDBadRequest) GetPayload ¶
func (o *GetOracleQueryByPubkeyAndQueryIDBadRequest) GetPayload() *models.Error
type GetOracleQueryByPubkeyAndQueryIDNotFound ¶
GetOracleQueryByPubkeyAndQueryIDNotFound describes a response with status code 404, 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
func (*GetOracleQueryByPubkeyAndQueryIDNotFound) GetPayload ¶
func (o *GetOracleQueryByPubkeyAndQueryIDNotFound) GetPayload() *models.Error
type GetOracleQueryByPubkeyAndQueryIDOK ¶
type GetOracleQueryByPubkeyAndQueryIDOK struct {
Payload *models.OracleQuery
}
GetOracleQueryByPubkeyAndQueryIDOK describes a response with status code 200, 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
func (*GetOracleQueryByPubkeyAndQueryIDOK) GetPayload ¶
func (o *GetOracleQueryByPubkeyAndQueryIDOK) GetPayload() *models.OracleQuery
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetOracleQueryByPubkeyAndQueryIDParamsWithContext ¶
func NewGetOracleQueryByPubkeyAndQueryIDParamsWithContext(ctx context.Context) *GetOracleQueryByPubkeyAndQueryIDParams
NewGetOracleQueryByPubkeyAndQueryIDParamsWithContext creates a new GetOracleQueryByPubkeyAndQueryIDParams object with 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 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 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) SetDefaults ¶
func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetDefaults()
SetDefaults hydrates default values in the get oracle query by pubkey and query Id params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetOracleQueryByPubkeyAndQueryIDParams) WithDefaults() *GetOracleQueryByPubkeyAndQueryIDParams
WithDefaults hydrates default values in the get oracle query by pubkey and query Id params (not the query body).
All values with no default are reset to their zero value.
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.PeerPubKey
}
GetPeerPubkeyOK describes a response with status code 200, 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
func (*GetPeerPubkeyOK) GetPayload ¶
func (o *GetPeerPubkeyOK) GetPayload() *models.PeerPubKey
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPeerPubkeyParamsWithContext ¶
func NewGetPeerPubkeyParamsWithContext(ctx context.Context) *GetPeerPubkeyParams
NewGetPeerPubkeyParamsWithContext creates a new GetPeerPubkeyParams object with 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 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 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) SetDefaults ¶
func (o *GetPeerPubkeyParams) SetDefaults()
SetDefaults hydrates default values in the get peer pubkey params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetPeerPubkeyParams) WithDefaults() *GetPeerPubkeyParams
WithDefaults hydrates default values in the get peer pubkey params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetPendingAccountTransactionsByPubkeyBadRequest) GetPayload ¶
func (o *GetPendingAccountTransactionsByPubkeyBadRequest) GetPayload() *models.Error
type GetPendingAccountTransactionsByPubkeyNotFound ¶
GetPendingAccountTransactionsByPubkeyNotFound describes a response with status code 404, 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
func (*GetPendingAccountTransactionsByPubkeyNotFound) GetPayload ¶
func (o *GetPendingAccountTransactionsByPubkeyNotFound) GetPayload() *models.Error
type GetPendingAccountTransactionsByPubkeyOK ¶
type GetPendingAccountTransactionsByPubkeyOK struct {
Payload *models.GenericTxs
}
GetPendingAccountTransactionsByPubkeyOK describes a response with status code 200, 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
func (*GetPendingAccountTransactionsByPubkeyOK) GetPayload ¶
func (o *GetPendingAccountTransactionsByPubkeyOK) GetPayload() *models.GenericTxs
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPendingAccountTransactionsByPubkeyParamsWithContext ¶
func NewGetPendingAccountTransactionsByPubkeyParamsWithContext(ctx context.Context) *GetPendingAccountTransactionsByPubkeyParams
NewGetPendingAccountTransactionsByPubkeyParamsWithContext creates a new GetPendingAccountTransactionsByPubkeyParams object with 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 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 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) SetDefaults ¶
func (o *GetPendingAccountTransactionsByPubkeyParams) SetDefaults()
SetDefaults hydrates default values in the get pending account transactions by pubkey params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetPendingAccountTransactionsByPubkeyParams) WithDefaults() *GetPendingAccountTransactionsByPubkeyParams
WithDefaults hydrates default values in the get pending account transactions by pubkey params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetPendingKeyBlockBadRequest) GetPayload ¶
func (o *GetPendingKeyBlockBadRequest) GetPayload() *models.Error
type GetPendingKeyBlockNotFound ¶
GetPendingKeyBlockNotFound describes a response with status code 404, 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
func (*GetPendingKeyBlockNotFound) GetPayload ¶
func (o *GetPendingKeyBlockNotFound) GetPayload() *models.Error
type GetPendingKeyBlockOK ¶
GetPendingKeyBlockOK describes a response with status code 200, 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
func (*GetPendingKeyBlockOK) GetPayload ¶
func (o *GetPendingKeyBlockOK) GetPayload() *models.KeyBlock
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPendingKeyBlockParamsWithContext ¶
func NewGetPendingKeyBlockParamsWithContext(ctx context.Context) *GetPendingKeyBlockParams
NewGetPendingKeyBlockParamsWithContext creates a new GetPendingKeyBlockParams object with 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 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 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) SetDefaults ¶
func (o *GetPendingKeyBlockParams) SetDefaults()
SetDefaults hydrates default values in the get pending key block params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetPendingKeyBlockParams) WithDefaults() *GetPendingKeyBlockParams
WithDefaults hydrates default values in the get pending key block params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 200, 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
func (*GetStatusOK) GetPayload ¶
func (o *GetStatusOK) GetPayload() *models.Status
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetStatusParamsWithContext ¶
func NewGetStatusParamsWithContext(ctx context.Context) *GetStatusParams
NewGetStatusParamsWithContext creates a new GetStatusParams object with 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 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 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) SetDefaults ¶
func (o *GetStatusParams) SetDefaults()
SetDefaults hydrates default values in the get status params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetStatusParams) WithDefaults() *GetStatusParams
WithDefaults hydrates default values in the get status params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 404, 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
func (*GetTopBlockNotFound) GetPayload ¶
func (o *GetTopBlockNotFound) GetPayload() *models.Error
type GetTopBlockOK ¶
type GetTopBlockOK struct {
Payload *models.KeyBlockOrMicroBlockHeader
}
GetTopBlockOK describes a response with status code 200, 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
func (*GetTopBlockOK) GetPayload ¶
func (o *GetTopBlockOK) GetPayload() *models.KeyBlockOrMicroBlockHeader
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTopBlockParamsWithContext ¶
func NewGetTopBlockParamsWithContext(ctx context.Context) *GetTopBlockParams
NewGetTopBlockParamsWithContext creates a new GetTopBlockParams object with 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 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 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) SetDefaults ¶
func (o *GetTopBlockParams) SetDefaults()
SetDefaults hydrates default values in the get top block params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetTopBlockParams) WithDefaults() *GetTopBlockParams
WithDefaults hydrates default values in the get top block params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetTransactionByHashBadRequest) GetPayload ¶
func (o *GetTransactionByHashBadRequest) GetPayload() *models.Error
type GetTransactionByHashNotFound ¶
GetTransactionByHashNotFound describes a response with status code 404, 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
func (*GetTransactionByHashNotFound) GetPayload ¶
func (o *GetTransactionByHashNotFound) GetPayload() *models.Error
type GetTransactionByHashOK ¶
type GetTransactionByHashOK struct {
Payload *models.GenericSignedTx
}
GetTransactionByHashOK describes a response with status code 200, 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
func (*GetTransactionByHashOK) GetPayload ¶
func (o *GetTransactionByHashOK) GetPayload() *models.GenericSignedTx
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTransactionByHashParamsWithContext ¶
func NewGetTransactionByHashParamsWithContext(ctx context.Context) *GetTransactionByHashParams
NewGetTransactionByHashParamsWithContext creates a new GetTransactionByHashParams object with 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 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 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) SetDefaults ¶
func (o *GetTransactionByHashParams) SetDefaults()
SetDefaults hydrates default values in the get transaction by hash params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetTransactionByHashParams) WithDefaults() *GetTransactionByHashParams
WithDefaults hydrates default values in the get transaction by hash params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetTransactionInfoByHashBadRequest) GetPayload ¶
func (o *GetTransactionInfoByHashBadRequest) GetPayload() *models.Error
type GetTransactionInfoByHashNotFound ¶
GetTransactionInfoByHashNotFound describes a response with status code 404, 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
func (*GetTransactionInfoByHashNotFound) GetPayload ¶
func (o *GetTransactionInfoByHashNotFound) GetPayload() *models.Error
type GetTransactionInfoByHashOK ¶
type GetTransactionInfoByHashOK struct {
Payload *models.TxInfoObject
}
GetTransactionInfoByHashOK describes a response with status code 200, 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
func (*GetTransactionInfoByHashOK) GetPayload ¶
func (o *GetTransactionInfoByHashOK) GetPayload() *models.TxInfoObject
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTransactionInfoByHashParamsWithContext ¶
func NewGetTransactionInfoByHashParamsWithContext(ctx context.Context) *GetTransactionInfoByHashParams
NewGetTransactionInfoByHashParamsWithContext creates a new GetTransactionInfoByHashParams object with 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 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 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) SetDefaults ¶
func (o *GetTransactionInfoByHashParams) SetDefaults()
SetDefaults hydrates default values in the get transaction info by hash params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetTransactionInfoByHashParams) WithDefaults() *GetTransactionInfoByHashParams
WithDefaults hydrates default values in the get transaction info by hash params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*PostTransactionBadRequest) GetPayload ¶
func (o *PostTransactionBadRequest) GetPayload() *models.Error
type PostTransactionOK ¶
type PostTransactionOK struct {
Payload *models.PostTxResponse
}
PostTransactionOK describes a response with status code 200, 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
func (*PostTransactionOK) GetPayload ¶
func (o *PostTransactionOK) GetPayload() *models.PostTxResponse
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostTransactionParamsWithContext ¶
func NewPostTransactionParamsWithContext(ctx context.Context) *PostTransactionParams
NewPostTransactionParamsWithContext creates a new PostTransactionParams object with 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 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 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) SetDefaults ¶
func (o *PostTransactionParams) SetDefaults()
SetDefaults hydrates default values in the post transaction params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *PostTransactionParams) WithDefaults() *PostTransactionParams
WithDefaults hydrates default values in the post transaction params (not the query body).
All values with no default are reset to their zero value.
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.
type ProtectedDryRunTxsForbidden ¶
ProtectedDryRunTxsForbidden describes a response with status code 403, with default header values.
Invalid input
func NewProtectedDryRunTxsForbidden ¶
func NewProtectedDryRunTxsForbidden() *ProtectedDryRunTxsForbidden
NewProtectedDryRunTxsForbidden creates a ProtectedDryRunTxsForbidden with default headers values
func (*ProtectedDryRunTxsForbidden) Error ¶
func (o *ProtectedDryRunTxsForbidden) Error() string
func (*ProtectedDryRunTxsForbidden) GetPayload ¶
func (o *ProtectedDryRunTxsForbidden) GetPayload() *models.Error
type ProtectedDryRunTxsOK ¶
type ProtectedDryRunTxsOK struct {
Payload *models.DryRunResults
}
ProtectedDryRunTxsOK describes a response with status code 200, with default header values.
Dry-run result
func NewProtectedDryRunTxsOK ¶
func NewProtectedDryRunTxsOK() *ProtectedDryRunTxsOK
NewProtectedDryRunTxsOK creates a ProtectedDryRunTxsOK with default headers values
func (*ProtectedDryRunTxsOK) Error ¶
func (o *ProtectedDryRunTxsOK) Error() string
func (*ProtectedDryRunTxsOK) GetPayload ¶
func (o *ProtectedDryRunTxsOK) GetPayload() *models.DryRunResults
type ProtectedDryRunTxsParams ¶
type ProtectedDryRunTxsParams struct { /* Body. transactions */ Body *models.DryRunInput Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProtectedDryRunTxsParams contains all the parameters to send to the API endpoint
for the protected dry run txs operation. Typically these are written to a http.Request.
func NewProtectedDryRunTxsParams ¶
func NewProtectedDryRunTxsParams() *ProtectedDryRunTxsParams
NewProtectedDryRunTxsParams creates a new ProtectedDryRunTxsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewProtectedDryRunTxsParamsWithContext ¶
func NewProtectedDryRunTxsParamsWithContext(ctx context.Context) *ProtectedDryRunTxsParams
NewProtectedDryRunTxsParamsWithContext creates a new ProtectedDryRunTxsParams object with the ability to set a context for a request.
func NewProtectedDryRunTxsParamsWithHTTPClient ¶
func NewProtectedDryRunTxsParamsWithHTTPClient(client *http.Client) *ProtectedDryRunTxsParams
NewProtectedDryRunTxsParamsWithHTTPClient creates a new ProtectedDryRunTxsParams object with the ability to set a custom HTTPClient for a request.
func NewProtectedDryRunTxsParamsWithTimeout ¶
func NewProtectedDryRunTxsParamsWithTimeout(timeout time.Duration) *ProtectedDryRunTxsParams
NewProtectedDryRunTxsParamsWithTimeout creates a new ProtectedDryRunTxsParams object with the ability to set a timeout on a request.
func (*ProtectedDryRunTxsParams) SetBody ¶
func (o *ProtectedDryRunTxsParams) SetBody(body *models.DryRunInput)
SetBody adds the body to the protected dry run txs params
func (*ProtectedDryRunTxsParams) SetContext ¶
func (o *ProtectedDryRunTxsParams) SetContext(ctx context.Context)
SetContext adds the context to the protected dry run txs params
func (*ProtectedDryRunTxsParams) SetDefaults ¶
func (o *ProtectedDryRunTxsParams) SetDefaults()
SetDefaults hydrates default values in the protected dry run txs params (not the query body).
All values with no default are reset to their zero value.
func (*ProtectedDryRunTxsParams) SetHTTPClient ¶
func (o *ProtectedDryRunTxsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the protected dry run txs params
func (*ProtectedDryRunTxsParams) SetTimeout ¶
func (o *ProtectedDryRunTxsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the protected dry run txs params
func (*ProtectedDryRunTxsParams) WithBody ¶
func (o *ProtectedDryRunTxsParams) WithBody(body *models.DryRunInput) *ProtectedDryRunTxsParams
WithBody adds the body to the protected dry run txs params
func (*ProtectedDryRunTxsParams) WithContext ¶
func (o *ProtectedDryRunTxsParams) WithContext(ctx context.Context) *ProtectedDryRunTxsParams
WithContext adds the context to the protected dry run txs params
func (*ProtectedDryRunTxsParams) WithDefaults ¶
func (o *ProtectedDryRunTxsParams) WithDefaults() *ProtectedDryRunTxsParams
WithDefaults hydrates default values in the protected dry run txs params (not the query body).
All values with no default are reset to their zero value.
func (*ProtectedDryRunTxsParams) WithHTTPClient ¶
func (o *ProtectedDryRunTxsParams) WithHTTPClient(client *http.Client) *ProtectedDryRunTxsParams
WithHTTPClient adds the HTTPClient to the protected dry run txs params
func (*ProtectedDryRunTxsParams) WithTimeout ¶
func (o *ProtectedDryRunTxsParams) WithTimeout(timeout time.Duration) *ProtectedDryRunTxsParams
WithTimeout adds the timeout to the protected dry run txs params
func (*ProtectedDryRunTxsParams) WriteToRequest ¶
func (o *ProtectedDryRunTxsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProtectedDryRunTxsReader ¶
type ProtectedDryRunTxsReader struct {
// contains filtered or unexported fields
}
ProtectedDryRunTxsReader is a Reader for the ProtectedDryRunTxs structure.
func (*ProtectedDryRunTxsReader) ReadResponse ¶
func (o *ProtectedDryRunTxsReader) 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_chain_ends_parameters.go
- get_chain_ends_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_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
- protected_dry_run_txs_parameters.go
- protected_dry_run_txs_responses.go