Skip to main content
Copy this page into your AI coding assistant (Cursor, Copilot, Claude, etc.) for accurate Amplify SDK completions.
This page is a condensed, single-file reference designed for AI context windows. For full documentation with interactive examples, see the API Reference.
Not using the TypeScript SDK? If you’re calling the REST calldata API instead, use the Calldata AI Reference — a parallel single-page reference for the REST path. Skill-aware tools also auto-discover the amplify-earn-api-calldata Agent Skill at /.well-known/agent-skills/index.json.

Setup

Account Discovery (required before any transaction)

Display Helpers

Supported Assets

Cache Management

Error Handling

Key Types

Supported Chains

Built-in viem chain configs (use these chainId values with the SDK):
ChainID
Ethereum1
Sepolia11155111
Base8453
HyperEVM999
Stable Testnet2201