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

Deposit authorization discriminated unions and type guards.

WithdrawAuthMethod

Withdrawal authorization discriminated unions and type guards.

Errors

APIError, WithdrawError, and error code reference.

Quick Reference

Core Enums

Account Types

AmplifyVault.name is the account identifier used as vaultName in all transaction functions. Discover it via getVaultsByConfig().

Asset Types

Type Guards

SDK Init Options

Permit Types

Common Types

Built-in chain configs in the SDK include Ethereum Mainnet (1), Sepolia (11155111), Base (8453), HyperEVM (999), and Stable Testnet (2201). Additional networks may appear in API responses (for example Boba (288), Sei (1329), Plume (98866), Form (478), Swell (1923), Rari (1380012617)); those require a matching entry in the SDK chain map or custom rpcUrls in initAmplifySDK().

Logger Types