Documentation ¶
Index ¶
- type DeleteFeeRecipientByPubkeyRequestJson
- type DeleteGasLimitRequestJson
- type DeleteKeystoresRequestJson
- type DeleteKeystoresResponseJson
- type DeleteRemoteKeysRequestJson
- type DeleteRemoteKeysResponseJson
- type FeeRecipientJson
- type GasLimitJson
- type GetFeeRecipientByPubkeyResponseJson
- type GetGasLimitResponseJson
- type ImportKeystoresRequestJson
- type ImportKeystoresResponseJson
- type ImportRemoteKeysRequestJson
- type ImportRemoteKeysResponseJson
- type KeystoreJson
- type ListKeystoresResponseJson
- type ListRemoteKeysResponseJson
- type RemoteKeysJson
- type RemoteKeysListJson
- type SetFeeRecipientByPubkeyRequestJson
- type SetGasLimitRequestJson
- type StatusJson
- type ValidatorEndpointFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteFeeRecipientByPubkeyRequestJson ¶ added in v3.2.1
type DeleteFeeRecipientByPubkeyRequestJson struct {
Pubkey string `json:"pubkey" hex:"true"`
}
type DeleteGasLimitRequestJson ¶ added in v3.1.2
type DeleteGasLimitRequestJson struct {
Pubkey string `json:"pubkey" hex:"true"`
}
type DeleteKeystoresRequestJson ¶ added in v3.1.2
type DeleteKeystoresRequestJson struct {
PublicKeys []string `json:"pubkeys" hex:"true"`
}
type DeleteKeystoresResponseJson ¶ added in v3.1.2
type DeleteKeystoresResponseJson struct { Statuses []*StatusJson `json:"data"` SlashingProtection string `json:"slashing_protection"` }
type DeleteRemoteKeysRequestJson ¶ added in v3.1.2
type DeleteRemoteKeysRequestJson struct {
PublicKeys []string `json:"pubkeys" hex:"true"`
}
type DeleteRemoteKeysResponseJson ¶ added in v3.1.2
type DeleteRemoteKeysResponseJson struct {
Statuses []*StatusJson `json:"data"`
}
type FeeRecipientJson ¶ added in v3.1.2
type GasLimitJson ¶ added in v3.1.2
type GetFeeRecipientByPubkeyResponseJson ¶ added in v3.1.2
type GetFeeRecipientByPubkeyResponseJson struct {
Data *FeeRecipientJson `json:"data"`
}
type GetGasLimitResponseJson ¶ added in v3.1.2
type GetGasLimitResponseJson struct {
Data *GasLimitJson `json:"data"`
}
type ImportKeystoresRequestJson ¶ added in v3.1.2
type ImportKeystoresResponseJson ¶ added in v3.1.2
type ImportKeystoresResponseJson struct {
Statuses []*StatusJson `json:"data"`
}
type ImportRemoteKeysRequestJson ¶ added in v3.1.2
type ImportRemoteKeysRequestJson struct {
Keystores []*RemoteKeysJson `json:"remote_keys"`
}
type ImportRemoteKeysResponseJson ¶ added in v3.1.2
type ImportRemoteKeysResponseJson struct {
Statuses []*StatusJson `json:"data"`
}
type KeystoreJson ¶ added in v3.1.2
type ListKeystoresResponseJson ¶ added in v3.1.2
type ListKeystoresResponseJson struct {
Keystores []*KeystoreJson `json:"data"`
}
type ListRemoteKeysResponseJson ¶ added in v3.1.2
type ListRemoteKeysResponseJson struct {
Keystores []*RemoteKeysListJson `json:"data"`
}
type RemoteKeysJson ¶ added in v3.1.2
type RemoteKeysListJson ¶ added in v3.1.2
type SetFeeRecipientByPubkeyRequestJson ¶ added in v3.1.2
type SetFeeRecipientByPubkeyRequestJson struct {
Ethaddress string `json:"ethaddress" hex:"true"`
}
type SetGasLimitRequestJson ¶ added in v3.1.2
type SetGasLimitRequestJson struct {
GasLimit string `json:"gas_limit"`
}
type StatusJson ¶ added in v3.1.2
type ValidatorEndpointFactory ¶
type ValidatorEndpointFactory struct { }
ValidatorEndpointFactory creates endpoints used for running validator API calls through the API Middleware.
func (*ValidatorEndpointFactory) Create ¶
func (*ValidatorEndpointFactory) Create(path string) (*apimiddleware.Endpoint, error)
Create returns a new endpoint for the provided API path.
func (*ValidatorEndpointFactory) IsNil ¶
func (f *ValidatorEndpointFactory) IsNil() bool
func (*ValidatorEndpointFactory) Paths ¶
func (*ValidatorEndpointFactory) Paths() []string
Paths is a collection of all valid validator API paths.
Click to show internal directories.
Click to hide internal directories.