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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
type EthSendTransactionOK struct {
Payload *models.ActivityResponse
}
EthSendTransactionOK describes a response with status code 200, with default header values.
A successful response.
func NewEthSendTransactionOK ¶
func NewEthSendTransactionOK() *EthSendTransactionOK
NewEthSendTransactionOK creates a EthSendTransactionOK with default headers values
func (*EthSendTransactionOK) Code ¶
func (o *EthSendTransactionOK) Code() int
Code gets the status code for the eth send transaction o k response
func (*EthSendTransactionOK) Error ¶
func (o *EthSendTransactionOK) Error() string
func (*EthSendTransactionOK) GetPayload ¶
func (o *EthSendTransactionOK) GetPayload() *models.ActivityResponse
func (*EthSendTransactionOK) IsClientError ¶
func (o *EthSendTransactionOK) IsClientError() bool
IsClientError returns true when this eth send transaction o k response has a 4xx status code
func (*EthSendTransactionOK) IsCode ¶
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 ¶
func (o *EthSendTransactionOK) IsRedirect() bool
IsRedirect returns true when this eth send transaction o k response has a 3xx status code
func (*EthSendTransactionOK) IsServerError ¶
func (o *EthSendTransactionOK) IsServerError() bool
IsServerError returns true when this eth send transaction o k response has a 5xx status code
func (*EthSendTransactionOK) IsSuccess ¶
func (o *EthSendTransactionOK) IsSuccess() bool
IsSuccess returns true when this eth send transaction o k response has a 2xx status code
func (*EthSendTransactionOK) String ¶
func (o *EthSendTransactionOK) String() string
type EthSendTransactionParams ¶
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 ¶
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 ¶
func NewEthSendTransactionParamsWithContext(ctx context.Context) *EthSendTransactionParams
NewEthSendTransactionParamsWithContext creates a new EthSendTransactionParams object with the ability to set a context for a request.
func NewEthSendTransactionParamsWithHTTPClient ¶
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 ¶
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 ¶
func (o *EthSendTransactionParams) SetBody(body *models.EthSendTransactionRequest)
SetBody adds the body to the eth send transaction params
func (*EthSendTransactionParams) SetContext ¶
func (o *EthSendTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the eth send transaction params
func (*EthSendTransactionParams) SetDefaults ¶
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 ¶
func (o *EthSendTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the eth send transaction params
func (*EthSendTransactionParams) SetTimeout ¶
func (o *EthSendTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the eth send transaction params
func (*EthSendTransactionParams) WithBody ¶
func (o *EthSendTransactionParams) WithBody(body *models.EthSendTransactionRequest) *EthSendTransactionParams
WithBody adds the body to the eth send transaction params
func (*EthSendTransactionParams) WithContext ¶
func (o *EthSendTransactionParams) WithContext(ctx context.Context) *EthSendTransactionParams
WithContext adds the context to the eth send transaction params
func (*EthSendTransactionParams) WithDefaults ¶
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 ¶
func (o *EthSendTransactionParams) WithHTTPClient(client *http.Client) *EthSendTransactionParams
WithHTTPClient adds the HTTPClient to the eth send transaction params
func (*EthSendTransactionParams) WithTimeout ¶
func (o *EthSendTransactionParams) WithTimeout(timeout time.Duration) *EthSendTransactionParams
WithTimeout adds the timeout to the eth send transaction params
func (*EthSendTransactionParams) WriteToRequest ¶
func (o *EthSendTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EthSendTransactionReader ¶
type EthSendTransactionReader struct {
// contains filtered or unexported fields
}
EthSendTransactionReader is a Reader for the EthSendTransaction structure.
func (*EthSendTransactionReader) ReadResponse ¶
func (o *EthSendTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGasUsageOK ¶
type GetGasUsageOK struct {
Payload *models.GetGasUsageResponse
}
GetGasUsageOK describes a response with status code 200, with default header values.
A successful response.
func NewGetGasUsageOK ¶
func NewGetGasUsageOK() *GetGasUsageOK
NewGetGasUsageOK creates a GetGasUsageOK with default headers values
func (*GetGasUsageOK) Code ¶
func (o *GetGasUsageOK) Code() int
Code gets the status code for the get gas usage o k response
func (*GetGasUsageOK) Error ¶
func (o *GetGasUsageOK) Error() string
func (*GetGasUsageOK) GetPayload ¶
func (o *GetGasUsageOK) GetPayload() *models.GetGasUsageResponse
func (*GetGasUsageOK) IsClientError ¶
func (o *GetGasUsageOK) IsClientError() bool
IsClientError returns true when this get gas usage o k response has a 4xx status code
func (*GetGasUsageOK) IsCode ¶
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 ¶
func (o *GetGasUsageOK) IsRedirect() bool
IsRedirect returns true when this get gas usage o k response has a 3xx status code
func (*GetGasUsageOK) IsServerError ¶
func (o *GetGasUsageOK) IsServerError() bool
IsServerError returns true when this get gas usage o k response has a 5xx status code
func (*GetGasUsageOK) IsSuccess ¶
func (o *GetGasUsageOK) IsSuccess() bool
IsSuccess returns true when this get gas usage o k response has a 2xx status code
func (*GetGasUsageOK) String ¶
func (o *GetGasUsageOK) String() string
type GetGasUsageParams ¶
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 ¶
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 ¶
func NewGetGasUsageParamsWithContext(ctx context.Context) *GetGasUsageParams
NewGetGasUsageParamsWithContext creates a new GetGasUsageParams object with the ability to set a context for a request.
func NewGetGasUsageParamsWithHTTPClient ¶
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 ¶
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 ¶
func (o *GetGasUsageParams) SetBody(body *models.GetGasUsageRequest)
SetBody adds the body to the get gas usage params
func (*GetGasUsageParams) SetContext ¶
func (o *GetGasUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the get gas usage params
func (*GetGasUsageParams) SetDefaults ¶
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 ¶
func (o *GetGasUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get gas usage params
func (*GetGasUsageParams) SetTimeout ¶
func (o *GetGasUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get gas usage params
func (*GetGasUsageParams) WithBody ¶
func (o *GetGasUsageParams) WithBody(body *models.GetGasUsageRequest) *GetGasUsageParams
WithBody adds the body to the get gas usage params
func (*GetGasUsageParams) WithContext ¶
func (o *GetGasUsageParams) WithContext(ctx context.Context) *GetGasUsageParams
WithContext adds the context to the get gas usage params
func (*GetGasUsageParams) WithDefaults ¶
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 ¶
func (o *GetGasUsageParams) WithHTTPClient(client *http.Client) *GetGasUsageParams
WithHTTPClient adds the HTTPClient to the get gas usage params
func (*GetGasUsageParams) WithTimeout ¶
func (o *GetGasUsageParams) WithTimeout(timeout time.Duration) *GetGasUsageParams
WithTimeout adds the timeout to the get gas usage params
func (*GetGasUsageParams) WriteToRequest ¶
func (o *GetGasUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGasUsageReader ¶
type GetGasUsageReader struct {
// contains filtered or unexported fields
}
GetGasUsageReader is a Reader for the GetGasUsage structure.
func (*GetGasUsageReader) ReadResponse ¶
func (o *GetGasUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNoncesOK ¶
type GetNoncesOK struct {
Payload *models.GetNoncesResponse
}
GetNoncesOK describes a response with status code 200, with default header values.
A successful response.
func NewGetNoncesOK ¶
func NewGetNoncesOK() *GetNoncesOK
NewGetNoncesOK creates a GetNoncesOK with default headers values
func (*GetNoncesOK) Code ¶
func (o *GetNoncesOK) Code() int
Code gets the status code for the get nonces o k response
func (*GetNoncesOK) Error ¶
func (o *GetNoncesOK) Error() string
func (*GetNoncesOK) GetPayload ¶
func (o *GetNoncesOK) GetPayload() *models.GetNoncesResponse
func (*GetNoncesOK) IsClientError ¶
func (o *GetNoncesOK) IsClientError() bool
IsClientError returns true when this get nonces o k response has a 4xx status code
func (*GetNoncesOK) IsCode ¶
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 ¶
func (o *GetNoncesOK) IsRedirect() bool
IsRedirect returns true when this get nonces o k response has a 3xx status code
func (*GetNoncesOK) IsServerError ¶
func (o *GetNoncesOK) IsServerError() bool
IsServerError returns true when this get nonces o k response has a 5xx status code
func (*GetNoncesOK) IsSuccess ¶
func (o *GetNoncesOK) IsSuccess() bool
IsSuccess returns true when this get nonces o k response has a 2xx status code
func (*GetNoncesOK) String ¶
func (o *GetNoncesOK) String() string
type GetNoncesParams ¶
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 ¶
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 ¶
func NewGetNoncesParamsWithContext(ctx context.Context) *GetNoncesParams
NewGetNoncesParamsWithContext creates a new GetNoncesParams object with the ability to set a context for a request.
func NewGetNoncesParamsWithHTTPClient ¶
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 ¶
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 ¶
func (o *GetNoncesParams) SetBody(body *models.GetNoncesRequest)
SetBody adds the body to the get nonces params
func (*GetNoncesParams) SetContext ¶
func (o *GetNoncesParams) SetContext(ctx context.Context)
SetContext adds the context to the get nonces params
func (*GetNoncesParams) SetDefaults ¶
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 ¶
func (o *GetNoncesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nonces params
func (*GetNoncesParams) SetTimeout ¶
func (o *GetNoncesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nonces params
func (*GetNoncesParams) WithBody ¶
func (o *GetNoncesParams) WithBody(body *models.GetNoncesRequest) *GetNoncesParams
WithBody adds the body to the get nonces params
func (*GetNoncesParams) WithContext ¶
func (o *GetNoncesParams) WithContext(ctx context.Context) *GetNoncesParams
WithContext adds the context to the get nonces params
func (*GetNoncesParams) WithDefaults ¶
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 ¶
func (o *GetNoncesParams) WithHTTPClient(client *http.Client) *GetNoncesParams
WithHTTPClient adds the HTTPClient to the get nonces params
func (*GetNoncesParams) WithTimeout ¶
func (o *GetNoncesParams) WithTimeout(timeout time.Duration) *GetNoncesParams
WithTimeout adds the timeout to the get nonces params
func (*GetNoncesParams) WriteToRequest ¶
func (o *GetNoncesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNoncesReader ¶
type GetNoncesReader struct {
// contains filtered or unexported fields
}
GetNoncesReader is a Reader for the GetNonces structure.
func (*GetNoncesReader) ReadResponse ¶
func (o *GetNoncesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SolSendTransactionOK ¶
type SolSendTransactionOK struct {
Payload *models.ActivityResponse
}
SolSendTransactionOK describes a response with status code 200, with default header values.
A successful response.
func NewSolSendTransactionOK ¶
func NewSolSendTransactionOK() *SolSendTransactionOK
NewSolSendTransactionOK creates a SolSendTransactionOK with default headers values
func (*SolSendTransactionOK) Code ¶
func (o *SolSendTransactionOK) Code() int
Code gets the status code for the sol send transaction o k response
func (*SolSendTransactionOK) Error ¶
func (o *SolSendTransactionOK) Error() string
func (*SolSendTransactionOK) GetPayload ¶
func (o *SolSendTransactionOK) GetPayload() *models.ActivityResponse
func (*SolSendTransactionOK) IsClientError ¶
func (o *SolSendTransactionOK) IsClientError() bool
IsClientError returns true when this sol send transaction o k response has a 4xx status code
func (*SolSendTransactionOK) IsCode ¶
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 ¶
func (o *SolSendTransactionOK) IsRedirect() bool
IsRedirect returns true when this sol send transaction o k response has a 3xx status code
func (*SolSendTransactionOK) IsServerError ¶
func (o *SolSendTransactionOK) IsServerError() bool
IsServerError returns true when this sol send transaction o k response has a 5xx status code
func (*SolSendTransactionOK) IsSuccess ¶
func (o *SolSendTransactionOK) IsSuccess() bool
IsSuccess returns true when this sol send transaction o k response has a 2xx status code
func (*SolSendTransactionOK) String ¶
func (o *SolSendTransactionOK) String() string
type SolSendTransactionParams ¶
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 ¶
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 ¶
func NewSolSendTransactionParamsWithContext(ctx context.Context) *SolSendTransactionParams
NewSolSendTransactionParamsWithContext creates a new SolSendTransactionParams object with the ability to set a context for a request.
func NewSolSendTransactionParamsWithHTTPClient ¶
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 ¶
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 ¶
func (o *SolSendTransactionParams) SetBody(body *models.SolSendTransactionRequest)
SetBody adds the body to the sol send transaction params
func (*SolSendTransactionParams) SetContext ¶
func (o *SolSendTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the sol send transaction params
func (*SolSendTransactionParams) SetDefaults ¶
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 ¶
func (o *SolSendTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the sol send transaction params
func (*SolSendTransactionParams) SetTimeout ¶
func (o *SolSendTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the sol send transaction params
func (*SolSendTransactionParams) WithBody ¶
func (o *SolSendTransactionParams) WithBody(body *models.SolSendTransactionRequest) *SolSendTransactionParams
WithBody adds the body to the sol send transaction params
func (*SolSendTransactionParams) WithContext ¶
func (o *SolSendTransactionParams) WithContext(ctx context.Context) *SolSendTransactionParams
WithContext adds the context to the sol send transaction params
func (*SolSendTransactionParams) WithDefaults ¶
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 ¶
func (o *SolSendTransactionParams) WithHTTPClient(client *http.Client) *SolSendTransactionParams
WithHTTPClient adds the HTTPClient to the sol send transaction params
func (*SolSendTransactionParams) WithTimeout ¶
func (o *SolSendTransactionParams) WithTimeout(timeout time.Duration) *SolSendTransactionParams
WithTimeout adds the timeout to the sol send transaction params
func (*SolSendTransactionParams) WriteToRequest ¶
func (o *SolSendTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SolSendTransactionReader ¶
type SolSendTransactionReader struct {
// contains filtered or unexported fields
}
SolSendTransactionReader is a Reader for the SolSendTransaction structure.
func (*SolSendTransactionReader) ReadResponse ¶
func (o *SolSendTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.