Skip to main content
The Amplify SDK is fully typed with TypeScript. This section documents the key types, enums, and interfaces you’ll use when integrating.

YieldType

Yield strategy enum values (CORE, TREASURY, FRONTIER).

DepositAuthMethod

Authorization method discriminated unions and type guards.

Errors

APIError class and error code reference.

Quick Reference

Core Enums

Type Guards

Common Types

ChainId is intentionally flexible to support both numeric and string-based chain IDs. The SDK normalizes these internally via toChainId(). Currently supported chains include Ethereum Mainnet (1), Sepolia (11155111), HyperEVM (999), and Stable Testnet (2201).