Documentation
¶
Index ¶
- type Client
- func (a *Client) EthSendTransaction(params *EthSendTransactionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EthSendTransactionOK, error)
- func (a *Client) GetGasUsage(params *GetGasUsageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGasUsageOK, error)
- func (a *Client) GetNonces(params *GetNoncesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNoncesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SolSendTransaction(params *SolSendTransactionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SolSendTransactionOK, error)
- type ClientOption
- type ClientService
- type EthSendTransactionOK
- func (o *EthSendTransactionOK) Code() int
- func (o *EthSendTransactionOK) Error() string
- func (o *EthSendTransactionOK) GetPayload() *models.ActivityResponse
- func (o *EthSendTransactionOK) IsClientError() bool
- func (o *EthSendTransactionOK) IsCode(code int) bool
- func (o *EthSendTransactionOK) IsRedirect() bool
- func (o *EthSendTransactionOK) IsServerError() bool
- func (o *EthSendTransactionOK) IsSuccess() bool
- func (o *EthSendTransactionOK) String() string
- type EthSendTransactionParams
- func NewEthSendTransactionParams() *EthSendTransactionParams
- func NewEthSendTransactionParamsWithContext(ctx context.Context) *EthSendTransactionParams
- func NewEthSendTransactionParamsWithHTTPClient(client *http.Client) *EthSendTransactionParams
- func NewEthSendTransactionParamsWithTimeout(timeout time.Duration) *EthSendTransactionParams
- func (o *EthSendTransactionParams) SetBody(body *models.EthSendTransactionRequest)
- func (o *EthSendTransactionParams) SetContext(ctx context.Context)
- func (o *EthSendTransactionParams) SetDefaults()
- func (o *EthSendTransactionParams) SetHTTPClient(client *http.Client)
- func (o *EthSendTransactionParams) SetTimeout(timeout time.Duration)
- func (o *EthSendTransactionParams) WithBody(body *models.EthSendTransactionRequest) *EthSendTransactionParams
- func (o *EthSendTransactionParams) WithContext(ctx context.Context) *EthSendTransactionParams
- func (o *EthSendTransactionParams) WithDefaults() *EthSendTransactionParams
- func (o *EthSendTransactionParams) WithHTTPClient(client *http.Client) *EthSendTransactionParams
- func (o *EthSendTransactionParams) WithTimeout(timeout time.Duration) *EthSendTransactionParams
- func (o *EthSendTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EthSendTransactionReader
- type GetGasUsageOK
- func (o *GetGasUsageOK) Code() int
- func (o *GetGasUsageOK) Error() string
- func (o *GetGasUsageOK) GetPayload() *models.GetGasUsageResponse
- func (o *GetGasUsageOK) IsClientError() bool
- func (o *GetGasUsageOK) IsCode(code int) bool
- func (o *GetGasUsageOK) IsRedirect() bool
- func (o *GetGasUsageOK) IsServerError() bool
- func (o *GetGasUsageOK) IsSuccess() bool
- func (o *GetGasUsageOK) String() string
- type GetGasUsageParams
- func (o *GetGasUsageParams) SetBody(body *models.GetGasUsageRequest)
- func (o *GetGasUsageParams) SetContext(ctx context.Context)
- func (o *GetGasUsageParams) SetDefaults()
- func (o *GetGasUsageParams) SetHTTPClient(client *http.Client)
- func (o *GetGasUsageParams) SetTimeout(timeout time.Duration)
- func (o *GetGasUsageParams) WithBody(body *models.GetGasUsageRequest) *GetGasUsageParams
- func (o *GetGasUsageParams) WithContext(ctx context.Context) *GetGasUsageParams
- func (o *GetGasUsageParams) WithDefaults() *GetGasUsageParams
- func (o *GetGasUsageParams) WithHTTPClient(client *http.Client) *GetGasUsageParams
- func (o *GetGasUsageParams) WithTimeout(timeout time.Duration) *GetGasUsageParams
- func (o *GetGasUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGasUsageReader
- type GetNoncesOK
- func (o *GetNoncesOK) Code() int
- func (o *GetNoncesOK) Error() string
- func (o *GetNoncesOK) GetPayload() *models.GetNoncesResponse
- func (o *GetNoncesOK) IsClientError() bool
- func (o *GetNoncesOK) IsCode(code int) bool
- func (o *GetNoncesOK) IsRedirect() bool
- func (o *GetNoncesOK) IsServerError() bool
- func (o *GetNoncesOK) IsSuccess() bool
- func (o *GetNoncesOK) String() string
- type GetNoncesParams
- func (o *GetNoncesParams) SetBody(body *models.GetNoncesRequest)
- func (o *GetNoncesParams) SetContext(ctx context.Context)
- func (o *GetNoncesParams) SetDefaults()
- func (o *GetNoncesParams) SetHTTPClient(client *http.Client)
- func (o *GetNoncesParams) SetTimeout(timeout time.Duration)
- func (o *GetNoncesParams) WithBody(body *models.GetNoncesRequest) *GetNoncesParams
- func (o *GetNoncesParams) WithContext(ctx context.Context) *GetNoncesParams
- func (o *GetNoncesParams) WithDefaults() *GetNoncesParams
- func (o *GetNoncesParams) WithHTTPClient(client *http.Client) *GetNoncesParams
- func (o *GetNoncesParams) WithTimeout(timeout time.Duration) *GetNoncesParams
- func (o *GetNoncesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNoncesReader
- type SolSendTransactionOK
- func (o *SolSendTransactionOK) Code() int
- func (o *SolSendTransactionOK) Error() string
- func (o *SolSendTransactionOK) GetPayload() *models.ActivityResponse
- func (o *SolSendTransactionOK) IsClientError() bool
- func (o *SolSendTransactionOK) IsCode(code int) bool
- func (o *SolSendTransactionOK) IsRedirect() bool
- func (o *SolSendTransactionOK) IsServerError() bool
- func (o *SolSendTransactionOK) IsSuccess() bool
- func (o *SolSendTransactionOK) String() string
- type SolSendTransactionParams
- func NewSolSendTransactionParams() *SolSendTransactionParams
- func NewSolSendTransactionParamsWithContext(ctx context.Context) *SolSendTransactionParams
- func NewSolSendTransactionParamsWithHTTPClient(client *http.Client) *SolSendTransactionParams
- func NewSolSendTransactionParamsWithTimeout(timeout time.Duration) *SolSendTransactionParams
- func (o *SolSendTransactionParams) SetBody(body *models.SolSendTransactionRequest)
- func (o *SolSendTransactionParams) SetContext(ctx context.Context)
- func (o *SolSendTransactionParams) SetDefaults()
- func (o *SolSendTransactionParams) SetHTTPClient(client *http.Client)
- func (o *SolSendTransactionParams) SetTimeout(timeout time.Duration)
- func (o *SolSendTransactionParams) WithBody(body *models.SolSendTransactionRequest) *SolSendTransactionParams
- func (o *SolSendTransactionParams) WithContext(ctx context.Context) *SolSendTransactionParams
- func (o *SolSendTransactionParams) WithDefaults() *SolSendTransactionParams
- func (o *SolSendTransactionParams) WithHTTPClient(client *http.Client) *SolSendTransactionParams
- func (o *SolSendTransactionParams) WithTimeout(timeout time.Duration) *SolSendTransactionParams
- func (o *SolSendTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SolSendTransactionReader
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 broadcasting API
func (*Client) EthSendTransaction ¶ added in v0.12.0
func (a *Client) EthSendTransaction(params *EthSendTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EthSendTransactionOK, error)
EthSendTransaction broadcasts e VM transaction
Submit a transaction intent describing an EVM transaction you would like to broadcast.
func (*Client) GetGasUsage ¶ added in v0.15.0
func (a *Client) GetGasUsage(params *GetGasUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGasUsageOK, error)
GetGasUsage gets gas usage
Get gas usage and gas limits for either the parent organization or a sub-organization.
func (*Client) GetNonces ¶ added in v0.15.0
func (a *Client) GetNonces(params *GetNoncesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNoncesOK, error)
GetNonces gets nonces
Get nonce values for an address on a given network. Can fetch the standard on-chain nonce and/or the gas station nonce used for sponsored transactions.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SolSendTransaction ¶ added in v0.15.0
func (a *Client) SolSendTransaction(params *SolSendTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SolSendTransactionOK, error)
SolSendTransaction broadcasts s VM transaction
Submit a transaction intent describing an SVM transaction you would like to broadcast.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
EthSendTransaction(params *EthSendTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EthSendTransactionOK, error)
GetGasUsage(params *GetGasUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGasUsageOK, error)
GetNonces(params *GetNoncesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNoncesOK, error)
SolSendTransaction(params *SolSendTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SolSendTransactionOK, 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 broadcasting API client.
type EthSendTransactionOK ¶ added in v0.12.0
type EthSendTransactionOK struct {
Payload *models.ActivityResponse
}
EthSendTransactionOK describes a response with status code 200, with default header values.
A successful response.
func NewEthSendTransactionOK ¶ added in v0.12.0
func NewEthSendTransactionOK() *EthSendTransactionOK
NewEthSendTransactionOK creates a EthSendTransactionOK with default headers values
func (*EthSendTransactionOK) Code ¶ added in v0.12.0
func (o *EthSendTransactionOK) Code() int
Code gets the status code for the eth send transaction o k response
func (*EthSendTransactionOK) Error ¶ added in v0.12.0
func (o *EthSendTransactionOK) Error() string
func (*EthSendTransactionOK) GetPayload ¶ added in v0.12.0
func (o *EthSendTransactionOK) GetPayload() *models.ActivityResponse
func (*EthSendTransactionOK) IsClientError ¶ added in v0.12.0
func (o *EthSendTransactionOK) IsClientError() bool
IsClientError returns true when this eth send transaction o k response has a 4xx status code
func (*EthSendTransactionOK) IsCode ¶ added in v0.12.0
func (o *EthSendTransactionOK) IsCode(code int) bool
IsCode returns true when this eth send transaction o k response a status code equal to that given
func (*EthSendTransactionOK) IsRedirect ¶ added in v0.12.0
func (o *EthSendTransactionOK) IsRedirect() bool
IsRedirect returns true when this eth send transaction o k response has a 3xx status code
func (*EthSendTransactionOK) IsServerError ¶ added in v0.12.0
func (o *EthSendTransactionOK) IsServerError() bool
IsServerError returns true when this eth send transaction o k response has a 5xx status code
func (*EthSendTransactionOK) IsSuccess ¶ added in v0.12.0
func (o *EthSendTransactionOK) IsSuccess() bool
IsSuccess returns true when this eth send transaction o k response has a 2xx status code
func (*EthSendTransactionOK) String ¶ added in v0.12.0
func (o *EthSendTransactionOK) String() string
type EthSendTransactionParams ¶ added in v0.12.0
type EthSendTransactionParams struct {
// Body.
Body *models.EthSendTransactionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EthSendTransactionParams contains all the parameters to send to the API endpoint
for the eth send transaction operation. Typically these are written to a http.Request.
func NewEthSendTransactionParams ¶ added in v0.12.0
func NewEthSendTransactionParams() *EthSendTransactionParams
NewEthSendTransactionParams creates a new EthSendTransactionParams 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 NewEthSendTransactionParamsWithContext ¶ added in v0.12.0
func NewEthSendTransactionParamsWithContext(ctx context.Context) *EthSendTransactionParams
NewEthSendTransactionParamsWithContext creates a new EthSendTransactionParams object with the ability to set a context for a request.
func NewEthSendTransactionParamsWithHTTPClient ¶ added in v0.12.0
func NewEthSendTransactionParamsWithHTTPClient(client *http.Client) *EthSendTransactionParams
NewEthSendTransactionParamsWithHTTPClient creates a new EthSendTransactionParams object with the ability to set a custom HTTPClient for a request.
func NewEthSendTransactionParamsWithTimeout ¶ added in v0.12.0
func NewEthSendTransactionParamsWithTimeout(timeout time.Duration) *EthSendTransactionParams
NewEthSendTransactionParamsWithTimeout creates a new EthSendTransactionParams object with the ability to set a timeout on a request.
func (*EthSendTransactionParams) SetBody ¶ added in v0.12.0
func (o *EthSendTransactionParams) SetBody(body *models.EthSendTransactionRequest)
SetBody adds the body to the eth send transaction params
func (*EthSendTransactionParams) SetContext ¶ added in v0.12.0
func (o *EthSendTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the eth send transaction params
func (*EthSendTransactionParams) SetDefaults ¶ added in v0.12.0
func (o *EthSendTransactionParams) SetDefaults()
SetDefaults hydrates default values in the eth send transaction params (not the query body).
All values with no default are reset to their zero value.
func (*EthSendTransactionParams) SetHTTPClient ¶ added in v0.12.0
func (o *EthSendTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the eth send transaction params
func (*EthSendTransactionParams) SetTimeout ¶ added in v0.12.0
func (o *EthSendTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the eth send transaction params
func (*EthSendTransactionParams) WithBody ¶ added in v0.12.0
func (o *EthSendTransactionParams) WithBody(body *models.EthSendTransactionRequest) *EthSendTransactionParams
WithBody adds the body to the eth send transaction params
func (*EthSendTransactionParams) WithContext ¶ added in v0.12.0
func (o *EthSendTransactionParams) WithContext(ctx context.Context) *EthSendTransactionParams
WithContext adds the context to the eth send transaction params
func (*EthSendTransactionParams) WithDefaults ¶ added in v0.12.0
func (o *EthSendTransactionParams) WithDefaults() *EthSendTransactionParams
WithDefaults hydrates default values in the eth send transaction params (not the query body).
All values with no default are reset to their zero value.
func (*EthSendTransactionParams) WithHTTPClient ¶ added in v0.12.0
func (o *EthSendTransactionParams) WithHTTPClient(client *http.Client) *EthSendTransactionParams
WithHTTPClient adds the HTTPClient to the eth send transaction params
func (*EthSendTransactionParams) WithTimeout ¶ added in v0.12.0
func (o *EthSendTransactionParams) WithTimeout(timeout time.Duration) *EthSendTransactionParams
WithTimeout adds the timeout to the eth send transaction params
func (*EthSendTransactionParams) WriteToRequest ¶ added in v0.12.0
func (o *EthSendTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EthSendTransactionReader ¶ added in v0.12.0
type EthSendTransactionReader struct {
// contains filtered or unexported fields
}
EthSendTransactionReader is a Reader for the EthSendTransaction structure.
func (*EthSendTransactionReader) ReadResponse ¶ added in v0.12.0
func (o *EthSendTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGasUsageOK ¶ added in v0.15.0
type GetGasUsageOK struct {
Payload *models.GetGasUsageResponse
}
GetGasUsageOK describes a response with status code 200, with default header values.
A successful response.
func NewGetGasUsageOK ¶ added in v0.15.0
func NewGetGasUsageOK() *GetGasUsageOK
NewGetGasUsageOK creates a GetGasUsageOK with default headers values
func (*GetGasUsageOK) Code ¶ added in v0.15.0
func (o *GetGasUsageOK) Code() int
Code gets the status code for the get gas usage o k response
func (*GetGasUsageOK) Error ¶ added in v0.15.0
func (o *GetGasUsageOK) Error() string
func (*GetGasUsageOK) GetPayload ¶ added in v0.15.0
func (o *GetGasUsageOK) GetPayload() *models.GetGasUsageResponse
func (*GetGasUsageOK) IsClientError ¶ added in v0.15.0
func (o *GetGasUsageOK) IsClientError() bool
IsClientError returns true when this get gas usage o k response has a 4xx status code
func (*GetGasUsageOK) IsCode ¶ added in v0.15.0
func (o *GetGasUsageOK) IsCode(code int) bool
IsCode returns true when this get gas usage o k response a status code equal to that given
func (*GetGasUsageOK) IsRedirect ¶ added in v0.15.0
func (o *GetGasUsageOK) IsRedirect() bool
IsRedirect returns true when this get gas usage o k response has a 3xx status code
func (*GetGasUsageOK) IsServerError ¶ added in v0.15.0
func (o *GetGasUsageOK) IsServerError() bool
IsServerError returns true when this get gas usage o k response has a 5xx status code
func (*GetGasUsageOK) IsSuccess ¶ added in v0.15.0
func (o *GetGasUsageOK) IsSuccess() bool
IsSuccess returns true when this get gas usage o k response has a 2xx status code
func (*GetGasUsageOK) String ¶ added in v0.15.0
func (o *GetGasUsageOK) String() string
type GetGasUsageParams ¶ added in v0.15.0
type GetGasUsageParams struct {
// Body.
Body *models.GetGasUsageRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGasUsageParams contains all the parameters to send to the API endpoint
for the get gas usage operation. Typically these are written to a http.Request.
func NewGetGasUsageParams ¶ added in v0.15.0
func NewGetGasUsageParams() *GetGasUsageParams
NewGetGasUsageParams creates a new GetGasUsageParams 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 NewGetGasUsageParamsWithContext ¶ added in v0.15.0
func NewGetGasUsageParamsWithContext(ctx context.Context) *GetGasUsageParams
NewGetGasUsageParamsWithContext creates a new GetGasUsageParams object with the ability to set a context for a request.
func NewGetGasUsageParamsWithHTTPClient ¶ added in v0.15.0
func NewGetGasUsageParamsWithHTTPClient(client *http.Client) *GetGasUsageParams
NewGetGasUsageParamsWithHTTPClient creates a new GetGasUsageParams object with the ability to set a custom HTTPClient for a request.
func NewGetGasUsageParamsWithTimeout ¶ added in v0.15.0
func NewGetGasUsageParamsWithTimeout(timeout time.Duration) *GetGasUsageParams
NewGetGasUsageParamsWithTimeout creates a new GetGasUsageParams object with the ability to set a timeout on a request.
func (*GetGasUsageParams) SetBody ¶ added in v0.15.0
func (o *GetGasUsageParams) SetBody(body *models.GetGasUsageRequest)
SetBody adds the body to the get gas usage params
func (*GetGasUsageParams) SetContext ¶ added in v0.15.0
func (o *GetGasUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the get gas usage params
func (*GetGasUsageParams) SetDefaults ¶ added in v0.15.0
func (o *GetGasUsageParams) SetDefaults()
SetDefaults hydrates default values in the get gas usage params (not the query body).
All values with no default are reset to their zero value.
func (*GetGasUsageParams) SetHTTPClient ¶ added in v0.15.0
func (o *GetGasUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get gas usage params
func (*GetGasUsageParams) SetTimeout ¶ added in v0.15.0
func (o *GetGasUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get gas usage params
func (*GetGasUsageParams) WithBody ¶ added in v0.15.0
func (o *GetGasUsageParams) WithBody(body *models.GetGasUsageRequest) *GetGasUsageParams
WithBody adds the body to the get gas usage params
func (*GetGasUsageParams) WithContext ¶ added in v0.15.0
func (o *GetGasUsageParams) WithContext(ctx context.Context) *GetGasUsageParams
WithContext adds the context to the get gas usage params
func (*GetGasUsageParams) WithDefaults ¶ added in v0.15.0
func (o *GetGasUsageParams) WithDefaults() *GetGasUsageParams
WithDefaults hydrates default values in the get gas usage params (not the query body).
All values with no default are reset to their zero value.
func (*GetGasUsageParams) WithHTTPClient ¶ added in v0.15.0
func (o *GetGasUsageParams) WithHTTPClient(client *http.Client) *GetGasUsageParams
WithHTTPClient adds the HTTPClient to the get gas usage params
func (*GetGasUsageParams) WithTimeout ¶ added in v0.15.0
func (o *GetGasUsageParams) WithTimeout(timeout time.Duration) *GetGasUsageParams
WithTimeout adds the timeout to the get gas usage params
func (*GetGasUsageParams) WriteToRequest ¶ added in v0.15.0
func (o *GetGasUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGasUsageReader ¶ added in v0.15.0
type GetGasUsageReader struct {
// contains filtered or unexported fields
}
GetGasUsageReader is a Reader for the GetGasUsage structure.
func (*GetGasUsageReader) ReadResponse ¶ added in v0.15.0
func (o *GetGasUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNoncesOK ¶ added in v0.15.0
type GetNoncesOK struct {
Payload *models.GetNoncesResponse
}
GetNoncesOK describes a response with status code 200, with default header values.
A successful response.
func NewGetNoncesOK ¶ added in v0.15.0
func NewGetNoncesOK() *GetNoncesOK
NewGetNoncesOK creates a GetNoncesOK with default headers values
func (*GetNoncesOK) Code ¶ added in v0.15.0
func (o *GetNoncesOK) Code() int
Code gets the status code for the get nonces o k response
func (*GetNoncesOK) Error ¶ added in v0.15.0
func (o *GetNoncesOK) Error() string
func (*GetNoncesOK) GetPayload ¶ added in v0.15.0
func (o *GetNoncesOK) GetPayload() *models.GetNoncesResponse
func (*GetNoncesOK) IsClientError ¶ added in v0.15.0
func (o *GetNoncesOK) IsClientError() bool
IsClientError returns true when this get nonces o k response has a 4xx status code
func (*GetNoncesOK) IsCode ¶ added in v0.15.0
func (o *GetNoncesOK) IsCode(code int) bool
IsCode returns true when this get nonces o k response a status code equal to that given
func (*GetNoncesOK) IsRedirect ¶ added in v0.15.0
func (o *GetNoncesOK) IsRedirect() bool
IsRedirect returns true when this get nonces o k response has a 3xx status code
func (*GetNoncesOK) IsServerError ¶ added in v0.15.0
func (o *GetNoncesOK) IsServerError() bool
IsServerError returns true when this get nonces o k response has a 5xx status code
func (*GetNoncesOK) IsSuccess ¶ added in v0.15.0
func (o *GetNoncesOK) IsSuccess() bool
IsSuccess returns true when this get nonces o k response has a 2xx status code
func (*GetNoncesOK) String ¶ added in v0.15.0
func (o *GetNoncesOK) String() string
type GetNoncesParams ¶ added in v0.15.0
type GetNoncesParams struct {
// Body.
Body *models.GetNoncesRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetNoncesParams contains all the parameters to send to the API endpoint
for the get nonces operation. Typically these are written to a http.Request.
func NewGetNoncesParams ¶ added in v0.15.0
func NewGetNoncesParams() *GetNoncesParams
NewGetNoncesParams creates a new GetNoncesParams 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 NewGetNoncesParamsWithContext ¶ added in v0.15.0
func NewGetNoncesParamsWithContext(ctx context.Context) *GetNoncesParams
NewGetNoncesParamsWithContext creates a new GetNoncesParams object with the ability to set a context for a request.
func NewGetNoncesParamsWithHTTPClient ¶ added in v0.15.0
func NewGetNoncesParamsWithHTTPClient(client *http.Client) *GetNoncesParams
NewGetNoncesParamsWithHTTPClient creates a new GetNoncesParams object with the ability to set a custom HTTPClient for a request.
func NewGetNoncesParamsWithTimeout ¶ added in v0.15.0
func NewGetNoncesParamsWithTimeout(timeout time.Duration) *GetNoncesParams
NewGetNoncesParamsWithTimeout creates a new GetNoncesParams object with the ability to set a timeout on a request.
func (*GetNoncesParams) SetBody ¶ added in v0.15.0
func (o *GetNoncesParams) SetBody(body *models.GetNoncesRequest)
SetBody adds the body to the get nonces params
func (*GetNoncesParams) SetContext ¶ added in v0.15.0
func (o *GetNoncesParams) SetContext(ctx context.Context)
SetContext adds the context to the get nonces params
func (*GetNoncesParams) SetDefaults ¶ added in v0.15.0
func (o *GetNoncesParams) SetDefaults()
SetDefaults hydrates default values in the get nonces params (not the query body).
All values with no default are reset to their zero value.
func (*GetNoncesParams) SetHTTPClient ¶ added in v0.15.0
func (o *GetNoncesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nonces params
func (*GetNoncesParams) SetTimeout ¶ added in v0.15.0
func (o *GetNoncesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nonces params
func (*GetNoncesParams) WithBody ¶ added in v0.15.0
func (o *GetNoncesParams) WithBody(body *models.GetNoncesRequest) *GetNoncesParams
WithBody adds the body to the get nonces params
func (*GetNoncesParams) WithContext ¶ added in v0.15.0
func (o *GetNoncesParams) WithContext(ctx context.Context) *GetNoncesParams
WithContext adds the context to the get nonces params
func (*GetNoncesParams) WithDefaults ¶ added in v0.15.0
func (o *GetNoncesParams) WithDefaults() *GetNoncesParams
WithDefaults hydrates default values in the get nonces params (not the query body).
All values with no default are reset to their zero value.
func (*GetNoncesParams) WithHTTPClient ¶ added in v0.15.0
func (o *GetNoncesParams) WithHTTPClient(client *http.Client) *GetNoncesParams
WithHTTPClient adds the HTTPClient to the get nonces params
func (*GetNoncesParams) WithTimeout ¶ added in v0.15.0
func (o *GetNoncesParams) WithTimeout(timeout time.Duration) *GetNoncesParams
WithTimeout adds the timeout to the get nonces params
func (*GetNoncesParams) WriteToRequest ¶ added in v0.15.0
func (o *GetNoncesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNoncesReader ¶ added in v0.15.0
type GetNoncesReader struct {
// contains filtered or unexported fields
}
GetNoncesReader is a Reader for the GetNonces structure.
func (*GetNoncesReader) ReadResponse ¶ added in v0.15.0
func (o *GetNoncesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SolSendTransactionOK ¶ added in v0.15.0
type SolSendTransactionOK struct {
Payload *models.ActivityResponse
}
SolSendTransactionOK describes a response with status code 200, with default header values.
A successful response.
func NewSolSendTransactionOK ¶ added in v0.15.0
func NewSolSendTransactionOK() *SolSendTransactionOK
NewSolSendTransactionOK creates a SolSendTransactionOK with default headers values
func (*SolSendTransactionOK) Code ¶ added in v0.15.0
func (o *SolSendTransactionOK) Code() int
Code gets the status code for the sol send transaction o k response
func (*SolSendTransactionOK) Error ¶ added in v0.15.0
func (o *SolSendTransactionOK) Error() string
func (*SolSendTransactionOK) GetPayload ¶ added in v0.15.0
func (o *SolSendTransactionOK) GetPayload() *models.ActivityResponse
func (*SolSendTransactionOK) IsClientError ¶ added in v0.15.0
func (o *SolSendTransactionOK) IsClientError() bool
IsClientError returns true when this sol send transaction o k response has a 4xx status code
func (*SolSendTransactionOK) IsCode ¶ added in v0.15.0
func (o *SolSendTransactionOK) IsCode(code int) bool
IsCode returns true when this sol send transaction o k response a status code equal to that given
func (*SolSendTransactionOK) IsRedirect ¶ added in v0.15.0
func (o *SolSendTransactionOK) IsRedirect() bool
IsRedirect returns true when this sol send transaction o k response has a 3xx status code
func (*SolSendTransactionOK) IsServerError ¶ added in v0.15.0
func (o *SolSendTransactionOK) IsServerError() bool
IsServerError returns true when this sol send transaction o k response has a 5xx status code
func (*SolSendTransactionOK) IsSuccess ¶ added in v0.15.0
func (o *SolSendTransactionOK) IsSuccess() bool
IsSuccess returns true when this sol send transaction o k response has a 2xx status code
func (*SolSendTransactionOK) String ¶ added in v0.15.0
func (o *SolSendTransactionOK) String() string
type SolSendTransactionParams ¶ added in v0.15.0
type SolSendTransactionParams struct {
// Body.
Body *models.SolSendTransactionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SolSendTransactionParams contains all the parameters to send to the API endpoint
for the sol send transaction operation. Typically these are written to a http.Request.
func NewSolSendTransactionParams ¶ added in v0.15.0
func NewSolSendTransactionParams() *SolSendTransactionParams
NewSolSendTransactionParams creates a new SolSendTransactionParams 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 NewSolSendTransactionParamsWithContext ¶ added in v0.15.0
func NewSolSendTransactionParamsWithContext(ctx context.Context) *SolSendTransactionParams
NewSolSendTransactionParamsWithContext creates a new SolSendTransactionParams object with the ability to set a context for a request.
func NewSolSendTransactionParamsWithHTTPClient ¶ added in v0.15.0
func NewSolSendTransactionParamsWithHTTPClient(client *http.Client) *SolSendTransactionParams
NewSolSendTransactionParamsWithHTTPClient creates a new SolSendTransactionParams object with the ability to set a custom HTTPClient for a request.
func NewSolSendTransactionParamsWithTimeout ¶ added in v0.15.0
func NewSolSendTransactionParamsWithTimeout(timeout time.Duration) *SolSendTransactionParams
NewSolSendTransactionParamsWithTimeout creates a new SolSendTransactionParams object with the ability to set a timeout on a request.
func (*SolSendTransactionParams) SetBody ¶ added in v0.15.0
func (o *SolSendTransactionParams) SetBody(body *models.SolSendTransactionRequest)
SetBody adds the body to the sol send transaction params
func (*SolSendTransactionParams) SetContext ¶ added in v0.15.0
func (o *SolSendTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the sol send transaction params
func (*SolSendTransactionParams) SetDefaults ¶ added in v0.15.0
func (o *SolSendTransactionParams) SetDefaults()
SetDefaults hydrates default values in the sol send transaction params (not the query body).
All values with no default are reset to their zero value.
func (*SolSendTransactionParams) SetHTTPClient ¶ added in v0.15.0
func (o *SolSendTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the sol send transaction params
func (*SolSendTransactionParams) SetTimeout ¶ added in v0.15.0
func (o *SolSendTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the sol send transaction params
func (*SolSendTransactionParams) WithBody ¶ added in v0.15.0
func (o *SolSendTransactionParams) WithBody(body *models.SolSendTransactionRequest) *SolSendTransactionParams
WithBody adds the body to the sol send transaction params
func (*SolSendTransactionParams) WithContext ¶ added in v0.15.0
func (o *SolSendTransactionParams) WithContext(ctx context.Context) *SolSendTransactionParams
WithContext adds the context to the sol send transaction params
func (*SolSendTransactionParams) WithDefaults ¶ added in v0.15.0
func (o *SolSendTransactionParams) WithDefaults() *SolSendTransactionParams
WithDefaults hydrates default values in the sol send transaction params (not the query body).
All values with no default are reset to their zero value.
func (*SolSendTransactionParams) WithHTTPClient ¶ added in v0.15.0
func (o *SolSendTransactionParams) WithHTTPClient(client *http.Client) *SolSendTransactionParams
WithHTTPClient adds the HTTPClient to the sol send transaction params
func (*SolSendTransactionParams) WithTimeout ¶ added in v0.15.0
func (o *SolSendTransactionParams) WithTimeout(timeout time.Duration) *SolSendTransactionParams
WithTimeout adds the timeout to the sol send transaction params
func (*SolSendTransactionParams) WriteToRequest ¶ added in v0.15.0
func (o *SolSendTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SolSendTransactionReader ¶ added in v0.15.0
type SolSendTransactionReader struct {
// contains filtered or unexported fields
}
SolSendTransactionReader is a Reader for the SolSendTransaction structure.
func (*SolSendTransactionReader) ReadResponse ¶ added in v0.15.0
func (o *SolSendTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.