Function getRoyaltyReductionForStakingAccount
- getRoyaltyReductionForStakingAccount(connection, gmProgramId, stakingProgramId, stakingAccount, registeredCurrency): Promise<number>
Parameters
- connection: Connection
- gmProgramId: PublicKey
- stakingProgramId: PublicKey
- stakingAccount: PublicKey
- registeredCurrency: PublicKey
Returns Promise<number>