Documentation
¶
Index ¶
- type ApiResponse
- type BatchSubmitTxsBody
- type BatchTxData
- type BatchTxInfoData
- type ClientManagerStatus
- type ClientStatus
- type DataBatch
- type ServiceClientStatusData
- type ServiceCreateFeeRecipientFileData
- type ServiceGetConfigData
- type ServiceTerminateDataFolderData
- type ServiceVersionData
- type SubmitTxBody
- type SuccessData
- type TxBatchSignTxData
- type TxData
- type TxInfoData
- type TxSignTxData
- type UtilsBalanceData
- type UtilsResolveEnsData
- type WalletExportData
- type WalletExportEthKeyData
- type WalletGenerateValidatorKeyData
- type WalletInitializeData
- type WalletRebuildData
- type WalletRecoverData
- type WalletSearchAndRecoverData
- type WalletSetEnsNameData
- type WalletSignMessageData
- type WalletSignTxData
- type WalletStatusData
- type WalletTestMnemonicData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiResponse ¶
type ApiResponse[Data any] struct { Data *Data `json:"data"` }
type BatchSubmitTxsBody ¶
type BatchTxData ¶
type BatchTxInfoData ¶
type BatchTxInfoData struct {
TxInfos []*eth.TransactionInfo `json:"txInfos"`
}
type ClientManagerStatus ¶
type ClientManagerStatus struct { PrimaryClientStatus ClientStatus `json:"primaryEcStatus"` FallbackEnabled bool `json:"fallbackEnabled"` FallbackClientStatus ClientStatus `json:"fallbackEcStatus"` }
This is a wrapper for the manager's overall status report
type ClientStatus ¶
type ClientStatus struct { IsWorking bool `json:"isWorking"` IsSynced bool `json:"isSynced"` SyncProgress float64 `json:"syncProgress"` NetworkId uint `json:"networkId"` Error string `json:"error"` }
This is a wrapper for the EC / BN status report
type ServiceClientStatusData ¶
type ServiceClientStatusData struct { EcManagerStatus ClientManagerStatus `json:"ecManagerStatus"` BcManagerStatus ClientManagerStatus `json:"bcManagerStatus"` }
type ServiceGetConfigData ¶
type ServiceTerminateDataFolderData ¶
type ServiceTerminateDataFolderData struct {
FolderExisted bool `json:"folderExisted"`
}
type ServiceVersionData ¶
type ServiceVersionData struct {
Version string `json:"version"`
}
type SubmitTxBody ¶
type SuccessData ¶
type SuccessData struct { }
type TxBatchSignTxData ¶
type TxBatchSignTxData struct {
SignedTxs []string `json:"signedTxs"`
}
type TxInfoData ¶
type TxInfoData struct {
TxInfo *eth.TransactionInfo `json:"txInfo"`
}
type TxSignTxData ¶
type TxSignTxData struct {
SignedTx string `json:"signedTx"`
}
type UtilsBalanceData ¶
type UtilsResolveEnsData ¶
type WalletExportData ¶
type WalletExportEthKeyData ¶
type WalletGenerateValidatorKeyData ¶
type WalletGenerateValidatorKeyData struct {
PrivateKey []byte `json:"privateKey"`
}
type WalletInitializeData ¶
type WalletRebuildData ¶
type WalletRebuildData struct {
ValidatorKeys []beacon.ValidatorPubkey `json:"validatorKeys"`
}
type WalletRecoverData ¶
type WalletRecoverData struct { AccountAddress common.Address `json:"accountAddress"` ValidatorKeys []beacon.ValidatorPubkey `json:"validatorKeys"` }
type WalletSetEnsNameData ¶
type WalletSetEnsNameData struct { Address common.Address `json:"address"` EnsName string `json:"ensName"` TxInfo *eth.TransactionInfo `json:"txInfo"` }
type WalletSignMessageData ¶
type WalletSignMessageData struct {
SignedMessage []byte `json:"signedMessage"`
}
type WalletSignTxData ¶ added in v0.2.3
type WalletSignTxData struct {
SignedTx []byte `json:"signedTx"`
}
type WalletStatusData ¶
type WalletStatusData struct {
WalletStatus types.WalletStatus `json:"walletStatus"`
}
Click to show internal directories.
Click to hide internal directories.