Skip to content

RewardsClient ​

Functions ​

FunctionDescription
decodeReflectionAccount-
decodeRewardAccount-
fetchAllMaybeReflectionAccount-
fetchAllMaybeRewardAccount-
fetchAllReflectionAccount-
fetchAllRewardAccount-
fetchMaybeReflectionAccount-
fetchMaybeRewardAccount-
fetchReflectionAccount-
fetchRewardAccount-
getAddFeeDiscriminatorBytes-
getAddFeeInstruction-
getAddFeeInstructionDataCodec-
getAddFeeInstructionDataDecoder-
getAddFeeInstructionDataEncoder-
getClaimDiscriminatorBytes-
getClaimInstruction-
getClaimInstructionDataCodec-
getClaimInstructionDataDecoder-
getClaimInstructionDataEncoder-
getCloseDiscriminatorBytes-
getCloseInstruction-
getCloseInstructionDataCodec-
getCloseInstructionDataDecoder-
getCloseInstructionDataEncoder-
getEnterDiscriminatorBytes-
getEnterInstruction-
getEnterInstructionAsync-
getEnterInstructionDataCodec-
getEnterInstructionDataDecoder-
getEnterInstructionDataEncoder-
getInitDiscriminatorBytes-
getInitInstruction-
getInitInstructionAsync-
getInitInstructionDataCodec-
getInitInstructionDataDecoder-
getInitInstructionDataEncoder-
getReflectionAccountCodecGets the codec for ReflectionAccount account data.
getReflectionAccountDecoderGets the decoder for ReflectionAccount account data.
getReflectionAccountDiscriminatorBytes-
getReflectionAccountEncoderGets the encoder for ReflectionAccountArgs account data.
getReflectionAccountSize-
getRewardAccountCodecGets the codec for RewardAccount account data.
getRewardAccountDecoderGets the decoder for RewardAccount account data.
getRewardAccountDiscriminatorBytes-
getRewardAccountEncoderGets the encoder for RewardAccountArgs account data.
getRewardAccountSize-
getStakeAccountCodec-
getStakeAccountDecoder-
getStakeAccountEncoder-
getSyncDiscriminatorBytes-
getSyncInstruction-
getSyncInstructionDataCodec-
getSyncInstructionDataDecoder-
getSyncInstructionDataEncoder-
identifyNosanaRewardsAccount-
identifyNosanaRewardsInstruction-
parseAddFeeInstruction-
parseClaimInstruction-
parseCloseInstruction-
parseEnterInstruction-
parseInitInstruction-
parseSyncInstruction-

Type Aliases ​

Type AliasDescription
AddFeeInput-
AddFeeInstruction-
AddFeeInstructionAccountName-
AddFeeInstructionData-
AddFeeInstructionDataArgs-
ClaimInput-
ClaimInstruction-
ClaimInstructionAccountName-
ClaimInstructionData-
ClaimInstructionDataArgs-
CloseInput-
CloseInstruction-
CloseInstructionAccountName-
CloseInstructionData-
CloseInstructionDataArgs-
EnterAsyncInput-
EnterInput-
EnterInstruction-
EnterInstructionAccountName-
EnterInstructionData-
EnterInstructionDataArgs-
InitAsyncInput-
InitInput-
InitInstruction-
InitInstructionAccountName-
InitInstructionData-
InitInstructionDataArgs-
NosanaRewardsAccount-
NosanaRewardsInstruction-
ParsedAddFeeInstruction-
ParsedClaimInstruction-
ParsedCloseInstruction-
ParsedEnterInstruction-
ParsedInitInstruction-
ParsedNosanaRewardsInstruction-
ParsedSyncInstruction-
ReflectionAccount-
ReflectionAccountArgs-
RewardAccount-
RewardAccountArgs-
StakeAccountThe StakeAccount struct holds all the information for any given stake.
StakeAccountArgs-
SyncInput-
SyncInstruction-
SyncInstructionAccountName-
SyncInstructionData-
SyncInstructionDataArgs-

Variables ​

VariableDescription
ADD_FEE_DISCRIMINATOR-
ADD_FEE_INSTRUCTION_ACCOUNTS-
CLAIM_DISCRIMINATOR-
CLAIM_INSTRUCTION_ACCOUNTS-
CLOSE_DISCRIMINATOR-
CLOSE_INSTRUCTION_ACCOUNTS-
ENTER_DISCRIMINATOR-
ENTER_INSTRUCTION_ACCOUNTS-
INIT_DISCRIMINATOR-
INIT_INSTRUCTION_ACCOUNTS-
NOSANA_REWARDS_PROGRAM_ADDRESS-
NosanaRewardsAccount-
NosanaRewardsInstruction-
REFLECTION_ACCOUNT_DISCRIMINATOR-
REWARD_ACCOUNT_DISCRIMINATOR-
SYNC_DISCRIMINATOR-
SYNC_INSTRUCTION_ACCOUNTS-