Documentation
¶
Index ¶
- type DeleteFeeRecipientByPubkeyRequestJson
- type DeleteGasLimitRequestJson
- type DeleteKeystoresRequestJson
- type DeleteKeystoresResponseJson
- type FeeRecipientJson
- type GasLimitJson
- type GetFeeRecipientByPubkeyResponseJson
- type GetGasLimitResponseJson
- type ImportKeystoresRequestJson
- type ImportKeystoresResponseJson
- type KeystoreJson
- type ListKeystoresResponseJson
- type SetFeeRecipientByPubkeyRequestJson
- type SetGasLimitRequestJson
- type SetVoluntaryExitRequestJson
- type SetVoluntaryExitResponseJson
- type SignedVoluntaryExitJson
- type StatusJson
- type ValidatorEndpointFactory
- type VoluntaryExitJson
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteFeeRecipientByPubkeyRequestJson ¶
type DeleteFeeRecipientByPubkeyRequestJson struct {
Pubkey string `json:"pubkey" hex:"true"`
}
type DeleteGasLimitRequestJson ¶
type DeleteGasLimitRequestJson struct {
Pubkey string `json:"pubkey" hex:"true"`
}
type DeleteKeystoresRequestJson ¶
type DeleteKeystoresRequestJson struct {
PublicKeys []string `json:"pubkeys" hex:"true"`
}
type DeleteKeystoresResponseJson ¶
type DeleteKeystoresResponseJson struct {
Statuses []*StatusJson `json:"data"`
SlashingProtection string `json:"slashing_protection"`
}
type FeeRecipientJson ¶
type GasLimitJson ¶
type GetFeeRecipientByPubkeyResponseJson ¶
type GetFeeRecipientByPubkeyResponseJson struct {
Data *FeeRecipientJson `json:"data"`
}
type GetGasLimitResponseJson ¶
type GetGasLimitResponseJson struct {
Data *GasLimitJson `json:"data"`
}
type ImportKeystoresResponseJson ¶
type ImportKeystoresResponseJson struct {
Statuses []*StatusJson `json:"data"`
}
type KeystoreJson ¶
type KeystoreJson struct {
ValidatingPubkey string `json:"validating_pubkey" hex:"true"`
}
type ListKeystoresResponseJson ¶
type ListKeystoresResponseJson struct {
Keystores []*KeystoreJson `json:"data"`
}
type SetFeeRecipientByPubkeyRequestJson ¶
type SetFeeRecipientByPubkeyRequestJson struct {
Zondaddress string `json:"zondaddress" hex:"true"`
}
type SetGasLimitRequestJson ¶
type SetGasLimitRequestJson struct {
GasLimit string `json:"gas_limit"`
}
type SetVoluntaryExitResponseJson ¶
type SetVoluntaryExitResponseJson struct {
SignedVoluntaryExit *SignedVoluntaryExitJson `json:"data"`
}
type SignedVoluntaryExitJson ¶
type SignedVoluntaryExitJson struct {
VoluntaryExit *VoluntaryExitJson `json:"message"`
Signature string `json:"signature" hex:"true"`
}
type StatusJson ¶
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.
type VoluntaryExitJson ¶
Click to show internal directories.
Click to hide internal directories.