Documentation ¶
Overview ¶
Package web3 provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.16.2 DO NOT EDIT.
Index ¶
- Constants
- type Client
- type Configuration
- type ConfigurationParams
- type PerformRpcCallAgainstFullNodeParams
- type PerformRpcCallParams
- type PostChainIdJSONBody
- type PostChainIdJSONRequestBody
- type PostChainIdNodeTypeJSONBody
- type PostChainIdNodeTypeJSONRequestBody
- type PostChainIdNodeTypeParamsNodeType
Constants ¶
View Source
const (
ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(cfg *Configuration) (*Client, error)
func (*Client) PerformRpcCall ¶
func (api *Client) PerformRpcCall(ctx context.Context, params PerformRpcCallParams) (map[string]interface{}, error)
func (*Client) PerformRpcCallAgainstFullNode ¶
func (api *Client) PerformRpcCallAgainstFullNode(ctx context.Context, params PerformRpcCallAgainstFullNodeParams) (map[string]interface{}, error)
type Configuration ¶
func NewConfiguration ¶
func NewConfiguration(params ConfigurationParams) (*Configuration, error)
type ConfigurationParams ¶
type PerformRpcCallAgainstFullNodeParams ¶
type PerformRpcCallAgainstFullNodeParams struct {
PostChainIdJSONBody
}
func (*PerformRpcCallAgainstFullNodeParams) Validate ¶
func (params *PerformRpcCallAgainstFullNodeParams) Validate() error
type PerformRpcCallParams ¶
type PerformRpcCallParams struct { PostChainIdNodeTypeParamsNodeType PostChainIdJSONBody }
func (*PerformRpcCallParams) Validate ¶
func (params *PerformRpcCallParams) Validate() error
type PostChainIdJSONBody ¶
type PostChainIdJSONBody struct { // Id An identifier established by the client Id string `json:"id,omitempty"` // Jsonrpc JSON-RPC version, typically "2.0" Jsonrpc string `json:"jsonrpc"` // Method The name of the RPC method to be invoked Method string `json:"method"` // Params Parameters for the RPC method Params []string `json:"params,omitempty"` }
PostChainIdJSONBody defines parameters for PostChainId.
type PostChainIdJSONRequestBody ¶
type PostChainIdJSONRequestBody PostChainIdJSONBody
PostChainIdJSONRequestBody defines body for PostChainId for application/json ContentType.
type PostChainIdNodeTypeJSONBody ¶
type PostChainIdNodeTypeJSONBody struct { // Id An identifier established by the client Id int `json:"id,omitempty"` // Jsonrpc JSON-RPC version, typically "2.0" Jsonrpc string `json:"jsonrpc,omitempty"` // Method The name of the RPC method to be invoked Method string `json:"method,omitempty"` // Params Parameters for the RPC method Params []string `json:"params,omitempty"` }
PostChainIdNodeTypeJSONBody defines parameters for PostChainIdNodeType.
type PostChainIdNodeTypeJSONRequestBody ¶
type PostChainIdNodeTypeJSONRequestBody PostChainIdNodeTypeJSONBody
PostChainIdNodeTypeJSONRequestBody defines body for PostChainIdNodeType for application/json ContentType.
type PostChainIdNodeTypeParamsNodeType ¶
type PostChainIdNodeTypeParamsNodeType string
PostChainIdNodeTypeParamsNodeType defines parameters for PostChainIdNodeType.
const ( Archive PostChainIdNodeTypeParamsNodeType = "archive" Full PostChainIdNodeTypeParamsNodeType = "full" )
Defines values for PostChainIdNodeTypeParamsNodeType.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.