The inspected source does not include a high-level ergonomic Rust SDK like the TypeScript
StakeForFee class. Rust integrations should use the generated interface crate, PDA helpers, and fresh on-chain account reads.Workspace
Program ID
stake_for_fee_interface declares the public program ID:
PDA Helpers
Thecommon::pda module exports:
Generated Modules
Instruction Builders
Each instruction also has
*_ix_with_program_id, *_invoke, *_invoke_with_program_id, *_invoke_signed, and verification helpers in the generated source.
Account Decoding
Top and full balance list entries are appended after the account discriminator and metadata header. Use the TypeScript decoder logic as a model if you need to parse appended entries in Rust.
Error Decoding
StakeForFeeError implements From<StakeForFeeError> for ProgramError, DecodeError, and PrintProgramError.
See the program error reference for the full table.

