@meteora-ag/dynamic-fee-sharing-sdk. It exports the DynamicFeeSharingClient class, PDA helpers, token helpers, constants, IDL-backed account types, and parameter types.
Client Construction
State Methods
getFeeBreakdown filters out empty user slots where share is zero.
Vault Creation Methods
userShare maps to the on-chain UserShare[] type:
The program requires 2 to 5 users.
Funding Methods
The source-program wrappers call the on-chain
fund_by_claiming_fee instruction. That instruction requires a PDA fee vault and a signer that is one of the configured shareholders.
Claim Methods
Both methods fetch the fee vault, find the user’s share index, create the destination associated token account if needed, and build
claim_fee.

