Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.meteora.ag/llms.txt

Use this file to discover all available pages before exploring further.

This changelog summarizes integration-relevant changes from the inspected local stake-for-fee and stake-for-fee-sdk source repos.
The checked-in SDK changelog uses both @meteora-ag/stake-for-fee and @meteora-ag/m3m3 naming. The published TypeScript package inspected in ts-client/package.json is @meteora-ag/m3m3 version 1.0.10.

Current Snapshot

AreaVersion or source
Program cratestake-for-fee 0.1.1
Public program IDFEESngU3neckdwib9X3KWqdL7Mjmqk9XNp3uh5JbP4KP
TypeScript package@meteora-ag/m3m3 1.0.10
Rust interface cratestake_for_fee_interface 0.1.0
Common Rust helper cratecommon 0.0.1
Anchor version in program source0.28.0
Solana version in program source1.16.12

Integration-Relevant Changes

Version or source noteAreaChange
stake-for-fee 0.1.1Programclaim_fee behavior changed so users can partially claim only the quote token side; the base/stake token side is automatically restaked.
SDK changelog 1.0.10TypeScript SDKRemoved @solana-developers/helpers dependency and replaced @mercurial-finance/dynamic-amm-sdk with @meteora-ag/dynamic-amm-sdk.
SDK changelog 1.0.9TypeScript SDKMoved @mercurial-finance/dynamic-amm-sdk from dev dependency to dependency in the historical package lineage.
SDK changelog common 0.0.1Rust helpersAdded PDA helper functions to derive Stake2Earn vault, top staker list, full balance list, and event authority keys.
SDK changelog 1.0.1TypeScript SDKRefactored findLargestStakerNotInTopListFromFullBalanceList and findReplaceableTopStaker.
Program sourceAdmin flowsupdate_seconds_to_full_unlock requires the immediately preceding instruction to be claim_fee_crank for the same vault and program.
Program sourceEventsUser and admin flows emit Anchor events through Event CPI.
Live production APIAPIProduction exposes /analytics/all, /vault/all, /vault/filter, and /vault/{vault_address}.

Documentation Notes

DateChange
2026-05-22Rebuilt the Stake2Earn developer guide around program accounts, instructions, events, errors, TypeScript SDK, Rust integration, API overview, and changelog pages.
2026-05-22Replaced legacy long-form TypeScript script page with focused SDK getting-started, examples, and reference pages.
2026-05-22Replaced legacy CPI examples page with Rust library and CPI integration pages based on the local Rust interface source.
2026-05-22Updated the checked-in API spec to resolve the production vault-detail schema reference with observed production response fields.

Gaps To Watch

GapImpact
No high-level Rust SDK in inspected sourceRust integrations should use stake_for_fee_interface, common PDA helpers, and custom account fetching/parsing.
No TypeScript high-level admin buildersclaim_fee_crank and admin update flows require low-level Anchor program usage or custom builders.
Production OpenAPI omits VaultDetailWithLeaderboard from live componentsThe docs include a local resolved schema, but integrators should still test API responses against the live host.