Overview
This page lists every type exported from@gizatech/agent-sdk. Types are grouped by category. All types can be imported directly:
Configuration
GizaConfig
Options passed to theGiza constructor. Credentials fall back to environment variables when omitted.
ResolvedGizaConfig
Internal configuration after defaults and environment variables are resolved.Common
Address
Ethereum address type. A0x-prefixed hex string.
Chain
Supported blockchain networks.GizaError
Base error class for all SDK errors.ValidationError
Thrown when input validation fails (invalid address, missing required fields, etc.).NotImplementedError
Thrown when a feature is not yet implemented.Agent Options
ActivateOptions
AprOptions
DeactivateOptions
PaginationOptions
PerformanceOptions
WaitForDeactivationOptions
Agent Responses
SmartAccountInfo
ActivateResponse
DeactivateResponse
TopUpResponse
RunResponse
AgentInfo
PerformanceChartResponse
PerformanceData
WalletAprResponse
WalletAprSubPeriod
AprByTokenResponse
AllocatedValue
Portfolio
AccruedRewardsWithValue
AccruedRewardsBySymbol
Transaction
TransactionHistoryResponse
PaginationInfo
WithdrawResponse
FullWithdrawResponse
PartialWithdrawResponse
WithdrawDetail
WithdrawalStatusResponse
FeeResponse
LimitResponse
ClaimedReward
ClaimedRewardsResponse
DepositListResponse
Deposit
Withdraw
ExecutionWithTransactionsDTO
PaginatedExecutionDTO
LogDTO
PaginatedLogDTO
RewardDTO
PaginatedRewardDTO
Protocol
ProtocolPool
ProtocolsResponse
ProtocolsRawResponse
ProtocolSupply
ProtocolsSupplyResponse
ConstraintConfig (Agent)
ConstraintConfigResponse
ChainConfigResponse
GlobalConfigResponse
HealthcheckResponse
ChainsResponse
TokenDistributionItem
ProtocolDistribution
LiquidityDistribution
Statistics
TVLResponse
TokenInfo
TokensResponse
Agent Enums
AgentStatus
TxAction
TxStatus
SortOrder
Order
Period
ExecutionStatus
Optimizer Types
OptimizeOptions
OptimizeResponse
OptimizationResult
ProtocolAllocation
ActionDetail
CalldataInfo
WalletConstraints
ConstraintConfig (Optimizer)
Imported asOptimizerConstraintConfig to distinguish from the agent variant.
Paginator Types
Paginator<T>
Async-iterable paginator returned by collection methods. See Paginator reference.PaginatedResponse<T>
PageFetcher<T>
Internal type used by thePaginator constructor.
Error Classes
GizaError
Base class for all SDK errors. ExtendsError.