api

package
v0.4.2-dev Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchSubmitTxsBody

type BatchSubmitTxsBody struct {
	Submissions    []*eth.TransactionSubmission `json:"submissions"`
	FirstNonce     *big.Int                     `json:"firstNonce,omitempty"`
	MaxFee         *big.Int                     `json:"maxFee"`
	MaxPriorityFee *big.Int                     `json:"maxPriorityFee"`
}

type BatchTxData

type BatchTxData struct {
	TxHashes []common.Hash `json:"txHashes"`
}

type ServiceClientStatusData

type ServiceClientStatusData struct {
	EcManagerStatus types.ClientManagerStatus `json:"ecManagerStatus"`
	BcManagerStatus types.ClientManagerStatus `json:"bcManagerStatus"`
}

type ServiceCreateFeeRecipientFileData

type ServiceCreateFeeRecipientFileData struct {
	Distributor common.Address `json:"distributor"`
}

type ServiceGetConfigData

type ServiceGetConfigData struct {
	Config map[string]any `json:"config"`
}

type ServiceTerminateDataFolderData

type ServiceTerminateDataFolderData struct {
	FolderExisted bool `json:"folderExisted"`
}

type ServiceVersionData

type ServiceVersionData struct {
	Version string `json:"version"`
}

type SubmitTxBody

type SubmitTxBody struct {
	Submission     *eth.TransactionSubmission `json:"submission"`
	Nonce          *big.Int                   `json:"nonce,omitempty"`
	MaxFee         *big.Int                   `json:"maxFee"`
	MaxPriorityFee *big.Int                   `json:"maxPriorityFee"`
}

type TxBatchSignTxData

type TxBatchSignTxData struct {
	SignedTxs []string `json:"signedTxs"`
}

type TxData

type TxData struct {
	TxHash common.Hash `json:"txHash"`
}

type TxSignTxData

type TxSignTxData struct {
	SignedTx string `json:"signedTx"`
}

type UtilsBalanceData

type UtilsBalanceData struct {
	Balance *big.Int `json:"balance"`
}

type UtilsResolveEnsData

type UtilsResolveEnsData struct {
	Address       common.Address `json:"address"`
	EnsName       string         `json:"ensName"`
	FormattedName string         `json:"formattedName"`
}

type WalletBalanceData

type WalletBalanceData struct {
	Balance *big.Int `json:"balance"`
}

type WalletExportData

type WalletExportData struct {
	Password          string `json:"password"`
	Wallet            string `json:"wallet"`
	AccountPrivateKey []byte `json:"accountPrivateKey"`
}

type WalletExportEthKeyData

type WalletExportEthKeyData struct {
	EthKeyJson []byte `json:"ethKeyJson"`
	Password   string `json:"password"`
}

type WalletGenerateValidatorKeyData

type WalletGenerateValidatorKeyData struct {
	PrivateKey []byte `json:"privateKey"`
}

type WalletInitializeData

type WalletInitializeData struct {
	Mnemonic       string         `json:"mnemonic"`
	AccountAddress common.Address `json:"accountAddress"`
}

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 WalletSearchAndRecoverData

type WalletSearchAndRecoverData struct {
	FoundWallet    bool                     `json:"foundWallet"`
	AccountAddress common.Address           `json:"accountAddress"`
	DerivationPath string                   `json:"derivationPath"`
	Index          uint                     `json:"index"`
	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

type WalletSignTxData struct {
	SignedTx []byte `json:"signedTx"`
}

type WalletStatusData

type WalletStatusData struct {
	WalletStatus wallet.WalletStatus `json:"walletStatus"`
}

type WalletTestMnemonicData

type WalletTestMnemonicData struct {
	CurrentAddress   common.Address `json:"currentAddress"`
	RecoveredAddress common.Address `json:"recoveredAddress"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL