What problem does it solve?
Provide a single, authoritative workflow for querying and managing Gate Exchange on-chain staking (earn) so users can inspect positions, rewards, available products, order history, and execute stake/redeem/mint operations safely.
Core Features & Use Cases
- Comprehensive Queries: Fetch staking positions, redeemable amounts (using exchangeRate), reward history, product listings, and paginated order history.
- Safe Execution Flows: Resolve pid via product or position lists, require explicit user confirmation before submitting cex_earn_swap_staking_coin, and require coin selection for multi-currency products (USDT/USDC).
- Presentation Rules: Omit timestamp and status fields from user-facing output, format numeric amounts and rates per Gate conventions, and follow strict routing to references for module-specific templates.
- Common Use Cases: "Show my staking positions", "List USDT staking products", "Redeem 100 USDT from pid 64", or "Stake 50 USDT (confirm pid and amount before execution)".
Quick Start
Show my USDT staking positions and redeemable balances, including protocol name and pid.